#9EA52D#9EA52D

#9EA52D is a light, vivid yellow. Relative luminance 0.344; OKLCH L 69.4% C 0.138 H 112.8°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#9EA52D
RGBrgb(158, 165, 45)
HSLhsl(64, 57%, 41%)
HSVhsv(64, 73%, 65%)
CMYKcmyk(4.2%, 0%, 72.7%, 35.3%)
CIE-LABlab(65.25, -17.42, 57.61)
CIE-LCHlch(65.25, 60.18, 106.83°)
OKLaboklab(69.45% -0.0537 0.1276)
OKLCHoklch(69.45% 0.138 112.8)
XYZxyz(28.0302, 34.3695, 7.6395)
Luminance0.3437 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EA52D #342DA5
analogous
#A5702D #9EA52D #62A52D
triadic
#9EA52D #2D9EA5 #A52D9E
tetradic
#9EA52D #2DA570 #342DA5 #A52D62
square
#9EA52D #2DA570 #342DA5 #A52D62
split-complementary
#9EA52D #2D62A5 #702DA5
monochromatic
#424513 #707520 #9EA52D #C4CC43 #D3D973

Accessibility & contrast

On white

2.67
#9EA52D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#9EA52D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EA52D
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EA52D#FFFFFF#000000##000000
##9EA52D1.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D16
Deuteranopia (green-blind)
#B2A036
Tritanopia (blue-blind)
#A99B8E
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9ea52d;
/* rgb */ color: rgb(158, 165, 45);
/* oklch */ color: oklch(69.4% 0.138 112.8);
Tailwind
colors: {
  custom: {
    50: '#bebf6f',
    500: '#9ea52d',
    950: '#000000',
  },
}
SCSS
$custom: #9ea52d;
$custom-light: #bebf6f;
$custom-dark: #000000;
JSON
{
  "hex": "#9ea52d",
  "rgb": {
    "r": 158,
    "g": 165,
    "b": 45
  },
  "hsl": {
    "h": 63.5,
    "s": 57.143,
    "l": 41.176
  },
  "oklch": {
    "l": 0.69449,
    "c": 0.13842,
    "h": 112.8
  },
  "luminance": 0.34369
}

Semantic roles & 50–950 ramp

primary
#9EA52D
secondary
#726DC1
accent
#47E050
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #9EA52D

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

Preview Lab → · Contrast checker → · Palette generator →

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