#9EA52F#9EA52F

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

Color values

HEX#9EA52F
RGBrgb(158, 165, 47)
HSLhsl(64, 56%, 42%)
HSVhsv(64, 72%, 65%)
CMYKcmyk(4.2%, 0%, 71.5%, 35.3%)
CIE-LABlab(65.27, -17.32, 56.89)
CIE-LCHlch(65.27, 59.46, 106.94°)
OKLaboklab(69.46% -0.0532 0.1264)
OKLCHoklch(69.46% 0.137 112.8)
XYZxyz(28.0696, 34.3852, 7.8471)
Luminance0.3438 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EA52F #362FA5
analogous
#A5712F #9EA52F #63A52F
triadic
#9EA52F #2F9EA5 #A52F9E
tetradic
#9EA52F #2FA571 #362FA5 #A52F63
square
#9EA52F #2FA571 #362FA5 #A52F63
split-complementary
#9EA52F #2F63A5 #712FA5
monochromatic
#434614 #707521 #9EA52F #C3CB47 #D2D876

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9EA52F#FFFFFF#000000##000000
##9EA52F1.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)
#B19D1A
Deuteranopia (green-blind)
#B2A038
Tritanopia (blue-blind)
#A99B8E
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9ea52f;
/* rgb */ color: rgb(158, 165, 47);
/* oklch */ color: oklch(69.5% 0.137 112.8);
Tailwind
colors: {
  custom: {
    50: '#bebf70',
    500: '#9ea52f',
    950: '#000000',
  },
}
SCSS
$custom: #9ea52f;
$custom-light: #bebf70;
$custom-dark: #000000;
JSON
{
  "hex": "#9ea52f",
  "rgb": {
    "r": 158,
    "g": 165,
    "b": 47
  },
  "hsl": {
    "h": 63.559,
    "s": 55.66,
    "l": 41.569
  },
  "oklch": {
    "l": 0.69463,
    "c": 0.13717,
    "h": 112.8
  },
  "luminance": 0.34385
}

Semantic roles & 50–950 ramp

primary
#9EA52F
secondary
#7470C0
accent
#49DF52
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9EA52F

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

Preview Lab → · Contrast checker → · Palette generator →

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