#9EA22F#9EA22F

#9EA22F is a light, vivid yellow. Relative luminance 0.333; OKLCH L 68.8% C 0.134 H 111.4°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#9EA22F
RGBrgb(158, 162, 47)
HSLhsl(62, 55%, 41%)
HSVhsv(62, 71%, 64%)
CMYKcmyk(2.5%, 0%, 71%, 36.5%)
CIE-LABlab(64.42, -15.78, 56.05)
CIE-LCHlch(64.42, 58.23, 105.72°)
OKLaboklab(68.78% -0.0489 0.1247)
OKLCHoklch(68.78% 0.134 111.4)
XYZxyz(27.5349, 33.3157, 7.6689)
Luminance0.3332 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EA22F #332FA2
analogous
#A26C2F #9EA22F #64A22F
triadic
#9EA22F #2F9EA2 #A22F9E
tetradic
#9EA22F #2FA26C #332FA2 #A22F64
square
#9EA22F #2FA26C #332FA2 #A22F64
split-complementary
#9EA22F #2F64A2 #6C2FA2
monochromatic
#414313 #707321 #9EA22F #C4C945 #D3D775

Accessibility & contrast

On white

2.74
#9EA22F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#9EA22F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EA22F
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EA22F#FFFFFF#000000##000000
##9EA22F1.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B1B
Deuteranopia (green-blind)
#AF9E38
Tritanopia (blue-blind)
#A9988B
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9ea22f;
/* rgb */ color: rgb(158, 162, 47);
/* oklch */ color: oklch(68.8% 0.134 111.4);
Tailwind
colors: {
  custom: {
    50: '#bebd6f',
    500: '#9ea22f',
    950: '#000000',
  },
}
SCSS
$custom: #9ea22f;
$custom-light: #bebd6f;
$custom-dark: #000000;
JSON
{
  "hex": "#9ea22f",
  "rgb": {
    "r": 158,
    "g": 162,
    "b": 47
  },
  "hsl": {
    "h": 62.087,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.68782,
    "c": 0.13391,
    "h": 111.4
  },
  "luminance": 0.33315
}

Semantic roles & 50–950 ramp

primary
#9EA22F
secondary
#716EBF
accent
#49DE4F
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9EA22F

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

Preview Lab → · Contrast checker → · Palette generator →

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