#9EA52C#9EA52C

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

Color values

HEX#9EA52C
RGBrgb(158, 165, 44)
HSLhsl(63, 58%, 41%)
HSVhsv(63, 73%, 65%)
CMYKcmyk(4.2%, 0%, 73.3%, 35.3%)
CIE-LABlab(65.25, -17.47, 57.96)
CIE-LCHlch(65.25, 60.53, 106.78°)
OKLaboklab(69.44% -0.0539 0.1281)
OKLCHoklch(69.44% 0.139 112.8)
XYZxyz(28.0112, 34.3618, 7.5393)
Luminance0.3436 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EA52C #332CA5
analogous
#A56F2C #9EA52C #61A52C
triadic
#9EA52C #2C9EA5 #A52C9E
tetradic
#9EA52C #2CA56F #332CA5 #A52C61
square
#9EA52C #2CA56F #332CA5 #A52C61
split-complementary
#9EA52C #2C61A5 #6F2CA5
monochromatic
#414412 #70751F #9EA52C #C4CD42 #D3D972

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9EA52C#FFFFFF#000000##000000
##9EA52C1.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)
#B29D14
Deuteranopia (green-blind)
#B2A036
Tritanopia (blue-blind)
#A99B8E
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9ea52c;
/* rgb */ color: rgb(158, 165, 44);
/* oklch */ color: oklch(69.4% 0.139 112.8);
Tailwind
colors: {
  custom: {
    50: '#bebf6e',
    500: '#9ea52c',
    950: '#000000',
  },
}
SCSS
$custom: #9ea52c;
$custom-light: #bebf6e;
$custom-dark: #000000;
JSON
{
  "hex": "#9ea52c",
  "rgb": {
    "r": 158,
    "g": 165,
    "b": 44
  },
  "hsl": {
    "h": 63.471,
    "s": 57.895,
    "l": 40.98
  },
  "oklch": {
    "l": 0.69442,
    "c": 0.13903,
    "h": 112.8
  },
  "luminance": 0.34361
}

Semantic roles & 50–950 ramp

primary
#9EA52C
secondary
#716CC1
accent
#47E150
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #9EA52C

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

Preview Lab → · Contrast checker → · Palette generator →

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