#9EAC51#9EAC51

#9EAC51 is a light, moderate yellow. Relative luminance 0.374; OKLCH L 71.4% C 0.117 H 116.7°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#9EAC51
RGBrgb(158, 172, 81)
HSLhsl(69, 36%, 50%)
HSVhsv(69, 53%, 67%)
CMYKcmyk(8.1%, 0%, 52.9%, 32.5%)
CIE-LABlab(67.55, -18.43, 44.58)
CIE-LCHlch(67.55, 48.24, 112.46°)
OKLaboklab(71.39% -0.0528 0.1049)
OKLCHoklch(71.39% 0.117 116.7)
XYZxyz(30.3387, 37.3685, 13.3976)
Luminance0.3737 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EAC51 #5F51AC
analogous
#AC8D51 #9EAC51 #71AC51
triadic
#9EAC51 #519EAC #AC519E
tetradic
#9EAC51 #51AC8D #5F51AC #AC5171
square
#9EAC51 #51AC8D #5F51AC #AC5171
split-complementary
#9EAC51 #5171AC #8D51AC
monochromatic
#52592A #78823D #9EAC51 #B5C07A #CCD4A3

Accessibility & contrast

On white

2.48
#9EAC51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.47
#9EAC51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EAC51
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EAC51#FFFFFF#000000##000000
##9EAC511.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A448
Deuteranopia (green-blind)
#B5A556
Tritanopia (blue-blind)
#A6A498
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #9eac51;
/* rgb */ color: rgb(158, 172, 81);
/* oklch */ color: oklch(71.4% 0.117 116.7);
Tailwind
colors: {
  custom: {
    50: '#bcc484',
    500: '#9eac51',
    950: '#000000',
  },
}
SCSS
$custom: #9eac51;
$custom-light: #bcc484;
$custom-dark: #000000;
JSON
{
  "hex": "#9eac51",
  "rgb": {
    "r": 158,
    "g": 172,
    "b": 81
  },
  "hsl": {
    "h": 69.231,
    "s": 35.968,
    "l": 49.608
  },
  "oklch": {
    "l": 0.71389,
    "c": 0.11749,
    "h": 116.7
  },
  "luminance": 0.37368
}

Semantic roles & 50–950 ramp

primary
#9EAC51
secondary
#9E98C1
accent
#5CCC6D
background
#FBFCF8
surface
#F7F8EF
border
#D0D1CA
text
#12120B
muted
#81817C

Preview Lab

Preview with #9EAC51

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

Preview Lab → · Contrast checker → · Palette generator →

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