#9EA229#9EA229

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

Color values

HEX#9EA229
RGBrgb(158, 162, 41)
HSLhsl(62, 60%, 40%)
HSVhsv(62, 75%, 64%)
CMYKcmyk(2.5%, 0%, 74.7%, 36.5%)
CIE-LABlab(64.38, -16.08, 58.18)
CIE-LCHlch(64.38, 60.36, 105.45°)
OKLaboklab(68.74% -0.0503 0.1281)
OKLCHoklch(68.74% 0.138 111.4)
XYZxyz(27.4220, 33.2706, 7.0747)
Luminance0.3327 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EA229 #2D29A2
analogous
#A26929 #9EA229 #62A229
triadic
#9EA229 #299EA2 #A2299E
tetradic
#9EA229 #29A269 #2D29A2 #A22962
square
#9EA229 #29A269 #2D29A2 #A22962
split-complementary
#9EA229 #2962A2 #6929A2
monochromatic
#3F4010 #6E711D #9EA229 #C9CD3B #D6DA6C

Accessibility & contrast

On white

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

On black

7.65
#9EA229 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EA229
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EA229#FFFFFF#000000##000000
##9EA2291.002.747.657.65
#FFFFFF2.741.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9ea229;
/* rgb */ color: rgb(158, 162, 41);
/* oklch */ color: oklch(68.7% 0.138 111.4);
Tailwind
colors: {
  custom: {
    50: '#bebd6c',
    500: '#9ea229',
    950: '#000000',
  },
}
SCSS
$custom: #9ea229;
$custom-light: #bebd6c;
$custom-dark: #000000;
JSON
{
  "hex": "#9ea229",
  "rgb": {
    "r": 158,
    "g": 162,
    "b": 41
  },
  "hsl": {
    "h": 61.983,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.68741,
    "c": 0.1376,
    "h": 111.4
  },
  "luminance": 0.3327
}

Semantic roles & 50–950 ramp

primary
#9EA229
secondary
#6967C0
accent
#45E34A
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #9EA229

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

Preview Lab → · Contrast checker → · Palette generator →

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