#9EAF2F#9EAF2F

#9EAF2F is a light, vivid yellow. Relative luminance 0.381; OKLCH L 71.8% C 0.148 H 116.9°. Best body text is #000000 at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#9EAF2F
RGBrgb(158, 175, 47)
HSLhsl(68, 58%, 44%)
HSVhsv(68, 73%, 69%)
CMYKcmyk(9.7%, 0%, 73.1%, 31.4%)
CIE-LABlab(68.12, -22.36, 59.65)
CIE-LCHlch(68.12, 63.71, 110.55°)
OKLaboklab(71.75% -0.0672 0.1323)
OKLCHoklch(71.75% 0.148 116.9)
XYZxyz(29.9443, 38.1347, 8.4720)
Luminance0.3813 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EAF2F #402FAF
analogous
#AF802F #9EAF2F #5EAF2F
triadic
#9EAF2F #2F9EAF #AF2F9E
tetradic
#9EAF2F #2FAF80 #402FAF #AF2F5E
square
#9EAF2F #2FAF80 #402FAF #AF2F5E
split-complementary
#9EAF2F #2F5EAF #802FAF
monochromatic
#474F15 #727F22 #9EAF2F #BECF4C #CFDC7C

Accessibility & contrast

On white

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

On black

8.63
#9EAF2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EAF2F
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EAF2F#FFFFFF#000000##000000
##9EAF2F1.002.438.638.63
#FFFFFF2.431.0021.0021.00
#0000008.6321.001.001.00
##0000008.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA616
Deuteranopia (green-blind)
#B9A73A
Tritanopia (blue-blind)
#A8A596
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #9eaf2f;
/* rgb */ color: rgb(158, 175, 47);
/* oklch */ color: oklch(71.8% 0.148 116.9);
Tailwind
colors: {
  custom: {
    50: '#bec671',
    500: '#9eaf2f',
    950: '#000000',
  },
}
SCSS
$custom: #9eaf2f;
$custom-light: #bec671;
$custom-dark: #000000;
JSON
{
  "hex": "#9eaf2f",
  "rgb": {
    "r": 158,
    "g": 175,
    "b": 47
  },
  "hsl": {
    "h": 67.969,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.71751,
    "c": 0.14836,
    "h": 116.9
  },
  "luminance": 0.38134
}

Semantic roles & 50–950 ramp

primary
#9EAF2F
secondary
#8075C4
accent
#47E15B
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #9EAF2F

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

Preview Lab → · Contrast checker → · Palette generator →

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