#9EAC2B#9EAC2B

#9EAC2B is a light, vivid yellow. Relative luminance 0.369; OKLCH L 71.0% C 0.147 H 115.7°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#9EAC2B
RGBrgb(158, 172, 43)
HSLhsl(67, 60%, 42%)
HSVhsv(67, 75%, 67%)
CMYKcmyk(8.1%, 0%, 75%, 32.5%)
CIE-LABlab(67.24, -21.06, 60.19)
CIE-LCHlch(67.24, 63.77, 109.29°)
OKLaboklab(71.04% -0.064 0.1327)
OKLCHoklch(71.04% 0.147 115.7)
XYZxyz(29.2899, 36.9490, 7.8739)
Luminance0.3695 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EAC2B #392BAC
analogous
#AC7A2B #9EAC2B #5DAC2B
triadic
#9EAC2B #2B9EAC #AC2B9E
tetradic
#9EAC2B #2BAC7A #392BAC #AC2B5D
square
#9EAC2B #2BAC7A #392BAC #AC2B5D
split-complementary
#9EAC2B #2B5DAC #7A2BAC
monochromatic
#444A13 #717B1F #9EAC2B #C1D044 #D1DC75

Accessibility & contrast

On white

2.50
#9EAC2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.39
#9EAC2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EAC2B
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EAC2B#FFFFFF#000000##000000
##9EAC2B1.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A30E
Deuteranopia (green-blind)
#B7A536
Tritanopia (blue-blind)
#A8A294
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #9eac2b;
/* rgb */ color: rgb(158, 172, 43);
/* oklch */ color: oklch(71.0% 0.147 115.7);
Tailwind
colors: {
  custom: {
    50: '#bec46e',
    500: '#9eac2b',
    950: '#000000',
  },
}
SCSS
$custom: #9eac2b;
$custom-light: #bec46e;
$custom-dark: #000000;
JSON
{
  "hex": "#9eac2b",
  "rgb": {
    "r": 158,
    "g": 172,
    "b": 43
  },
  "hsl": {
    "h": 66.512,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.71036,
    "c": 0.14731,
    "h": 115.7
  },
  "luminance": 0.36949
}

Semantic roles & 50–950 ramp

primary
#9EAC2B
secondary
#786FC4
accent
#45E356
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131208
muted
#82817B

Preview Lab

Preview with #9EAC2B

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

Preview Lab → · Contrast checker → · Palette generator →

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