Skip to content

#9fcf39

a balanced, vivid green · warm · “Yellow Green”

RGB
159, 207, 57
HSL
79°, 61%, 52%
CMYK
23, 0, 73, 19
Luminance
0.5229

At a glance

Every number on this page in one read: what #9fcf39 is made of, how bright it looks, and which way it leans.

Hex
#9fcf39
Hue
79°
green
Saturation
61%
vivid
Lightness
52%
balanced
Brightness
81%
HSV value
Perceived
71%
weighted brightness
Luminance
0.5229
WCAG relative
Temperature
Warm
41/100 cool
Color family
Green
Tone
Vivid
Best ink
Black
11.46:1
Closest name
Yellow Green
ΔE2000 0.8
Where it sits
Hue79° of 360°
Saturation61%
Lightness52%
Temperature
Warm ← → Cool41% cool

Reads warm. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#9fcf39
RGBrgb(159, 207, 57)
HSLhsl(79, 61%, 52%)
CMYKcmyk(23%, 0%, 73%, 19%)
LABlab(77.5 -36.6 65.3)
LCHlch(77.5 74.8 119.3)
OKLCHoklch(0.793 0.180 125.9)
Decimal10473273
Display P3color(display-p3 0.624 0.812 0.224)

Copy-ready code

/* CSS */
color: #9fcf39;
background-color: #9fcf39;
/* Tailwind (arbitrary) */
class="text-[#9fcf39] bg-[#9fcf39]"
/* SCSS */
$brand: #9fcf39;
/* SwiftUI */
Color(red: 0.624, green: 0.812, blue: 0.224)
/* Android */
Color.parseColor("#9fcf39")
/* Flutter */
Color(0xFF9FCF39)
/* Python / OpenCV (BGR) */
(57, 207, 159)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#000000 on #9fcf39 · 11.46:1
Use #000000AAA at every size.
Aa
White text · 1.83:1
AA fail · AA large fail · AAA fail
Aa
Black text · 11.46:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #9fcf39 as text scores 1.83:1 on white and 11.46:1 on black.

Accessibility — WCAG contrast

Aa
#9fcf39 on white: 1.83:1
AA ✗ fail · AA-large · AAA
Aa
#9fcf39 on black: 11.46:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #DAC11C
deuteranopia · #D4BF47
tritanopia · #A6C5B2

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #9fcf39 is pinned to step 600; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F9FBF4
#F2F7E8
#E4F0CC
#D3E9A5
#BDDE78
#A7D34A
#9fcf39
#7CA428
#648320
#4A601B
#2E3C11
Base = 600Lightest = 50 · #F9FBF4Darkest = 950 · #2E3C11
:root {
  --brand-50: #F9FBF4;
  --brand-100: #F2F7E8;
  --brand-200: #E4F0CC;
  --brand-300: #D3E9A5;
  --brand-400: #BDDE78;
  --brand-500: #A7D34A;
  --brand-600: #9fcf39;
  --brand-700: #7CA428;
  --brand-800: #648320;
  --brand-900: #4A601B;
  --brand-950: #2E3C11;
  --brand: #9fcf39;
  --brand-ink: #000000;
}

Colors that work with #9fcf39

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#F8FAF4
Tinted page background
Border#DEEDC0
Hairlines and dividers
Muted text#819B4B
Captions on the surface
Accent#3F34D4
Second voice, not a rival
Dark variant#4E6719
Hover, pressed, headers
Light variant#F5FAEA
Selected rows, tints
Dark surface#1F2414
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #9fcf39

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • Full-page backgrounds — tiring over long sessions
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#6939CF
Analogous left#CFB439
Analogous right#54CF39
Split-complement 1#3954CF
Split-complement 2#B439CF
Triadic 1#399FCF
Triadic 2#CF399F
Tetradic#39CFB4

RGB percentages

Red62.4%
Green81.2%
Blue22.4%

CMYK percentages

Cyan23.2%
Magenta0.0%
Yellow72.5%
Key (black)18.8%

Color previews

#9fcf39 text on a black background

contrast 11.46:1

Card sample

#9fcf39 text on a white background

contrast 1.83:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #9fcf39;
Background color
Panel with #9fcf39 background
background-color: #9fcf39;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #9fcf39;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(159, 207, 57, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(159, 207, 57, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9fcf39;
background: linear-gradient(135deg, #9fcf39, #3BCF39);

Monochromatic scale

Palettes built from #9fcf39

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#9fcf39 in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
SustainabilityFinanceHealth and wellnessAgriculture
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Converts to four-color process without much drama. Proof it anyway.

#9fcf39, answered

What color is #9fcf39?

#9fcf39 is a balanced vivid green — the CSS keyword Yellow Green. It sits at 79° on the hue wheel with 61% saturation and 52% lightness, which reads as warm.

What is the RGB value of #9fcf39?

rgb(159, 207, 57) — 159 red, 207 green and 57 blue out of 255, or 62.4% / 81.2% / 22.4% by channel.

Is #9fcf39 a light or a dark color?

It is a light color. Relative luminance is 0.5229 and perceived brightness is 71%, so black text on it reaches 11.46:1.

Should I use black or white text on #9fcf39?

Black. It scores 11.46:1 against #9fcf39, versus 1.83:1 for white — AAA at any size.

What is the complementary color of #9fcf39?

#6939CF sits directly opposite on the wheel. Softer options are the split-complements #3954CF and #B439CF, which give the same contrast with far less vibration.

What colors go well with #9fcf39?

For interface work: #F8FAF4 as the surface, #DEEDC0 for borders, #819B4B for secondary text, #3F34D4 as an accent and #4E6719 for hover and pressed states. For a palette, the analogous pair #CFB439 and #54CF39 stays calm, while #6939CF is the loudest partner.

What is #9fcf39 in CMYK for printing?

cmyk(23%, 0%, 73%, 19%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #9fcf39 warm or cool?

Warm — it scores 41 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #CFC839; nudged cooler, #67D237.

Work with #9fcf39 in the Color Lab