#9EA52A#9EA52A

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

Color values

HEX#9EA52A
RGBrgb(158, 165, 42)
HSLhsl(63, 59%, 41%)
HSVhsv(63, 75%, 65%)
CMYKcmyk(4.2%, 0%, 74.5%, 35.3%)
CIE-LABlab(65.24, -17.57, 58.64)
CIE-LCHlch(65.24, 61.22, 106.68°)
OKLaboklab(69.43% -0.0544 0.1292)
OKLCHoklch(69.43% 0.14 112.8)
XYZxyz(27.9745, 34.3472, 7.3461)
Luminance0.3435 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EA52A #312AA5
analogous
#A56F2A #9EA52A #60A52A
triadic
#9EA52A #2A9EA5 #A52A9E
tetradic
#9EA52A #2AA56F #312AA5 #A52A60
square
#9EA52A #2AA56F #312AA5 #A52A60
split-complementary
#9EA52A #2A60A5 #6F2AA5
monochromatic
#414311 #6F741E #9EA52A #C6CE3E #D4DA6F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9EA52A#FFFFFF#000000##000000
##9EA52A1.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)
#B29D0F
Deuteranopia (green-blind)
#B2A034
Tritanopia (blue-blind)
#A99B8E
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9ea52a;
/* rgb */ color: rgb(158, 165, 42);
/* oklch */ color: oklch(69.4% 0.140 112.8);
Tailwind
colors: {
  custom: {
    50: '#bebf6d',
    500: '#9ea52a',
    950: '#000000',
  },
}
SCSS
$custom: #9ea52a;
$custom-light: #bebf6d;
$custom-dark: #000000;
JSON
{
  "hex": "#9ea52a",
  "rgb": {
    "r": 158,
    "g": 165,
    "b": 42
  },
  "hsl": {
    "h": 63.415,
    "s": 59.42,
    "l": 40.588
  },
  "oklch": {
    "l": 0.6943,
    "c": 0.14021,
    "h": 112.8
  },
  "luminance": 0.34347
}

Semantic roles & 50–950 ramp

primary
#9EA52A
secondary
#6E69C1
accent
#45E34E
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #9EA52A

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

Preview Lab → · Contrast checker → · Palette generator →

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