#9EAF2A#9EAF2A

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

Color values

HEX#9EAF2A
RGBrgb(158, 175, 42)
HSLhsl(68, 61%, 43%)
HSVhsv(68, 76%, 69%)
CMYKcmyk(9.7%, 0%, 76%, 31.4%)
CIE-LABlab(68.09, -22.60, 61.32)
CIE-LCHlch(68.09, 65.35, 110.23°)
OKLaboklab(71.72% -0.0683 0.1349)
OKLCHoklch(71.72% 0.151 116.9)
XYZxyz(29.8492, 38.0966, 7.9710)
Luminance0.3810 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EAF2A #3B2AAF
analogous
#AF7D2A #9EAF2A #5CAF2A
triadic
#9EAF2A #2A9EAF #AF2A9E
tetradic
#9EAF2A #2AAF7D #3B2AAF #AF2A5C
square
#9EAF2A #2AAF7D #3B2AAF #AF2A5C
split-complementary
#9EAF2A #2A5CAF #7D2AAF
monochromatic
#454C12 #717E1E #9EAF2A #C0D244 #D1DE75

Accessibility & contrast

On white

2.44
#9EAF2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.62
#9EAF2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EAF2A
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EAF2A#FFFFFF#000000##000000
##9EAF2A1.002.448.628.62
#FFFFFF2.441.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9eaf2a;
/* rgb */ color: rgb(158, 175, 42);
/* oklch */ color: oklch(71.7% 0.151 116.9);
Tailwind
colors: {
  custom: {
    50: '#bec66e',
    500: '#9eaf2a',
    950: '#000000',
  },
}
SCSS
$custom: #9eaf2a;
$custom-light: #bec66e;
$custom-dark: #000000;
JSON
{
  "hex": "#9eaf2a",
  "rgb": {
    "r": 158,
    "g": 175,
    "b": 42
  },
  "hsl": {
    "h": 67.669,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.7172,
    "c": 0.15121,
    "h": 116.9
  },
  "luminance": 0.38096
}

Semantic roles & 50–950 ramp

primary
#9EAF2A
secondary
#7A6FC6
accent
#43E458
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #9EAF2A

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

Preview Lab → · Contrast checker → · Palette generator →

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