#9EAF39#9EAF39

#9EAF39 is a light, vivid yellow. Relative luminance 0.382; OKLCH L 71.8% C 0.142 H 117.2°. Best body text is #000000 at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#9EAF39
RGBrgb(158, 175, 57)
HSLhsl(69, 51%, 45%)
HSVhsv(69, 67%, 69%)
CMYKcmyk(9.7%, 0%, 67.4%, 31.4%)
CIE-LABlab(68.19, -21.80, 55.95)
CIE-LCHlch(68.19, 60.05, 111.28°)
OKLaboklab(71.83% -0.0647 0.1261)
OKLCHoklch(71.83% 0.142 117.2)
XYZxyz(30.1697, 38.2248, 9.6589)
Luminance0.3822 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EAF39 #4A39AF
analogous
#AF8539 #9EAF39 #63AF39
triadic
#9EAF39 #399EAF #AF399E
tetradic
#9EAF39 #39AF85 #4A39AF #AF3963
square
#9EAF39 #39AF85 #4A39AF #AF3963
split-complementary
#9EAF39 #3963AF #8539AF
monochromatic
#4B531B #74812A #9EAF39 #BACA5B #CDD98A

Accessibility & contrast

On white

2.43
#9EAF39 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.64
#9EAF39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EAF39
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EAF39#FFFFFF#000000##000000
##9EAF391.002.438.648.64
#FFFFFF2.431.0021.0021.00
#0000008.6421.001.001.00
##0000008.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA628
Deuteranopia (green-blind)
#B9A742
Tritanopia (blue-blind)
#A8A597
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #9eaf39;
/* rgb */ color: rgb(158, 175, 57);
/* oklch */ color: oklch(71.8% 0.142 117.2);
Tailwind
colors: {
  custom: {
    50: '#bec676',
    500: '#9eaf39',
    950: '#000000',
  },
}
SCSS
$custom: #9eaf39;
$custom-light: #bec676;
$custom-dark: #000000;
JSON
{
  "hex": "#9eaf39",
  "rgb": {
    "r": 158,
    "g": 175,
    "b": 57
  },
  "hsl": {
    "h": 68.644,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.71826,
    "c": 0.14173,
    "h": 117.2
  },
  "luminance": 0.38224
}

Semantic roles & 50–950 ramp

primary
#9EAF39
secondary
#8A81C3
accent
#4DDA62
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121309
muted
#81827B

Preview Lab

Preview with #9EAF39

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#9EAF39 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva