#9EA52E#9EA52E

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

Color values

HEX#9EA52E
RGBrgb(158, 165, 46)
HSLhsl(64, 56%, 41%)
HSVhsv(64, 72%, 65%)
CMYKcmyk(4.2%, 0%, 72.1%, 35.3%)
CIE-LABlab(65.26, -17.37, 57.25)
CIE-LCHlch(65.26, 59.83, 106.88°)
OKLaboklab(69.46% -0.0535 0.127)
OKLCHoklch(69.46% 0.138 112.8)
XYZxyz(28.0497, 34.3773, 7.7421)
Luminance0.3438 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EA52E #352EA5
analogous
#A5712E #9EA52E #63A52E
triadic
#9EA52E #2E9EA5 #A52E9E
tetradic
#9EA52E #2EA571 #352EA5 #A52E63
square
#9EA52E #2EA571 #352EA5 #A52E63
split-complementary
#9EA52E #2E63A5 #712EA5
monochromatic
#424513 #707521 #9EA52E #C3CB45 #D3D875

Accessibility & contrast

On white

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

On black

7.88
#9EA52E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EA52E
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EA52E#FFFFFF#000000##000000
##9EA52E1.002.677.887.88
#FFFFFF2.671.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9ea52e;
/* rgb */ color: rgb(158, 165, 46);
/* oklch */ color: oklch(69.5% 0.138 112.8);
Tailwind
colors: {
  custom: {
    50: '#bebf6f',
    500: '#9ea52e',
    950: '#000000',
  },
}
SCSS
$custom: #9ea52e;
$custom-light: #bebf6f;
$custom-dark: #000000;
JSON
{
  "hex": "#9ea52e",
  "rgb": {
    "r": 158,
    "g": 165,
    "b": 46
  },
  "hsl": {
    "h": 63.529,
    "s": 56.398,
    "l": 41.373
  },
  "oklch": {
    "l": 0.69456,
    "c": 0.1378,
    "h": 112.8
  },
  "luminance": 0.34377
}

Semantic roles & 50–950 ramp

primary
#9EA52E
secondary
#736FC0
accent
#48E051
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9EA52E

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

Preview Lab → · Contrast checker → · Palette generator →

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