#9EAC2D#9EAC2D

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

Color values

HEX#9EAC2D
RGBrgb(158, 172, 45)
HSLhsl(67, 59%, 43%)
HSVhsv(67, 74%, 67%)
CMYKcmyk(8.1%, 0%, 73.8%, 32.5%)
CIE-LABlab(67.25, -20.97, 59.52)
CIE-LCHlch(67.25, 63.10, 109.41°)
OKLaboklab(71.05% -0.0635 0.1316)
OKLCHoklch(71.05% 0.146 115.8)
XYZxyz(29.3275, 36.9641, 8.0719)
Luminance0.3696 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EAC2D #3B2DAC
analogous
#AC7A2D #9EAC2D #5FAC2D
triadic
#9EAC2D #2D9EAC #AC2D9E
tetradic
#9EAC2D #2DAC7A #3B2DAC #AC2D5F
square
#9EAC2D #2DAC7A #3B2DAC #AC2D5F
split-complementary
#9EAC2D #2D5FAC #7A2DAC
monochromatic
#454B14 #717B20 #9EAC2D #C0CF47 #D1DC78

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9EAC2D#FFFFFF#000000##000000
##9EAC2D1.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)
#B8A313
Deuteranopia (green-blind)
#B7A538
Tritanopia (blue-blind)
#A8A294
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #9eac2d;
/* rgb */ color: rgb(158, 172, 45);
/* oklch */ color: oklch(71.0% 0.146 115.8);
Tailwind
colors: {
  custom: {
    50: '#bec46f',
    500: '#9eac2d',
    950: '#000000',
  },
}
SCSS
$custom: #9eac2d;
$custom-light: #bec46f;
$custom-dark: #000000;
JSON
{
  "hex": "#9eac2d",
  "rgb": {
    "r": 158,
    "g": 172,
    "b": 45
  },
  "hsl": {
    "h": 66.614,
    "s": 58.525,
    "l": 42.549
  },
  "oklch": {
    "l": 0.71049,
    "c": 0.14615,
    "h": 115.8
  },
  "luminance": 0.36964
}

Semantic roles & 50–950 ramp

primary
#9EAC2D
secondary
#7A71C4
accent
#46E257
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131208
muted
#82817B

Preview Lab

Preview with #9EAC2D

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

Preview Lab → · Contrast checker → · Palette generator →

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