#9EAC2C#9EAC2C

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

Color values

HEX#9EAC2C
RGBrgb(158, 172, 44)
HSLhsl(67, 59%, 42%)
HSVhsv(67, 74%, 67%)
CMYKcmyk(8.1%, 0%, 74.4%, 32.5%)
CIE-LABlab(67.24, -21.02, 59.86)
CIE-LCHlch(67.24, 63.44, 109.35°)
OKLaboklab(71.04% -0.0638 0.1322)
OKLCHoklch(71.04% 0.147 115.8)
XYZxyz(29.3085, 36.9565, 7.9717)
Luminance0.3696 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EAC2C #3A2CAC
analogous
#AC7A2C #9EAC2C #5EAC2C
triadic
#9EAC2C #2C9EAC #AC2C9E
tetradic
#9EAC2C #2CAC7A #3A2CAC #AC2C5E
square
#9EAC2C #2CAC7A #3A2CAC #AC2C5E
split-complementary
#9EAC2C #2C5EAC #7A2CAC
monochromatic
#444B13 #717B20 #9EAC2C #C0D046 #D1DC76

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9EAC2C#FFFFFF#000000##000000
##9EAC2C1.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)
#B8A310
Deuteranopia (green-blind)
#B7A537
Tritanopia (blue-blind)
#A8A294
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #9eac2c;
/* rgb */ color: rgb(158, 172, 44);
/* oklch */ color: oklch(71.0% 0.147 115.8);
Tailwind
colors: {
  custom: {
    50: '#bec46f',
    500: '#9eac2c',
    950: '#000000',
  },
}
SCSS
$custom: #9eac2c;
$custom-light: #bec46f;
$custom-dark: #000000;
JSON
{
  "hex": "#9eac2c",
  "rgb": {
    "r": 158,
    "g": 172,
    "b": 44
  },
  "hsl": {
    "h": 66.563,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.71043,
    "c": 0.14674,
    "h": 115.8
  },
  "luminance": 0.36956
}

Semantic roles & 50–950 ramp

primary
#9EAC2C
secondary
#7970C4
accent
#45E257
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131208
muted
#82817B

Preview Lab

Preview with #9EAC2C

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

Preview Lab → · Contrast checker → · Palette generator →

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