#9EA02F#9EA02F

#9EA02F is a light, vivid yellow. Relative luminance 0.326; OKLCH L 68.3% C 0.132 H 110.4°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#9EA02F
RGBrgb(158, 160, 47)
HSLhsl(61, 55%, 41%)
HSVhsv(61, 71%, 63%)
CMYKcmyk(1.2%, 0%, 70.6%, 37.3%)
CIE-LABlab(63.85, -14.74, 55.50)
CIE-LCHlch(63.85, 57.42, 104.88°)
OKLaboklab(68.33% -0.046 0.1235)
OKLCHoklch(68.33% 0.132 110.4)
XYZxyz(27.1854, 32.6167, 7.5524)
Luminance0.3262 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EA02F #312FA0
analogous
#A0692F #9EA02F #65A02F
triadic
#9EA02F #2F9EA0 #A02F9E
tetradic
#9EA02F #2FA069 #312FA0 #A02F65
square
#9EA02F #2FA069 #312FA0 #A02F65
split-complementary
#9EA02F #2F65A0 #692FA0
monochromatic
#414113 #6F7121 #9EA02F #C6C844 #D4D673

Accessibility & contrast

On white

2.79
#9EA02F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.52
#9EA02F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EA02F
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EA02F#FFFFFF#000000##000000
##9EA02F1.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD991C
Deuteranopia (green-blind)
#AE9C37
Tritanopia (blue-blind)
#A9968A
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9ea02f;
/* rgb */ color: rgb(158, 160, 47);
/* oklch */ color: oklch(68.3% 0.132 110.4);
Tailwind
colors: {
  custom: {
    50: '#bebb6f',
    500: '#9ea02f',
    950: '#000000',
  },
}
SCSS
$custom: #9ea02f;
$custom-light: #bebb6f;
$custom-dark: #000000;
JSON
{
  "hex": "#9ea02f",
  "rgb": {
    "r": 158,
    "g": 160,
    "b": 47
  },
  "hsl": {
    "h": 61.062,
    "s": 54.589,
    "l": 40.588
  },
  "oklch": {
    "l": 0.68329,
    "c": 0.13178,
    "h": 110.4
  },
  "luminance": 0.32616
}

Semantic roles & 50–950 ramp

primary
#9EA02F
secondary
#6E6DBE
accent
#4ADE4C
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#121108
muted
#81807B

Preview Lab

Preview with #9EA02F

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

Preview Lab → · Contrast checker → · Palette generator →

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