#9EA231#9EA231

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

Color values

HEX#9EA231
RGBrgb(158, 162, 49)
HSLhsl(62, 54%, 41%)
HSVhsv(62, 70%, 64%)
CMYKcmyk(2.5%, 0%, 69.8%, 36.5%)
CIE-LABlab(64.43, -15.67, 55.30)
CIE-LCHlch(64.43, 57.48, 105.82°)
OKLaboklab(68.8% -0.0484 0.1234)
OKLCHoklch(68.8% 0.133 111.4)
XYZxyz(27.5761, 33.3322, 7.8863)
Luminance0.3333 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EA231 #3531A2
analogous
#A26E31 #9EA231 #66A231
triadic
#9EA231 #319EA2 #A2319E
tetradic
#9EA231 #31A26E #3531A2 #A23166
square
#9EA231 #31A26E #3531A2 #A23166
split-complementary
#9EA231 #3166A2 #6E31A2
monochromatic
#424415 #707323 #9EA231 #C3C848 #D3D677

Accessibility & contrast

On white

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

On black

7.67
#9EA231 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EA231
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EA231#FFFFFF#000000##000000
##9EA2311.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B1F
Deuteranopia (green-blind)
#AF9E39
Tritanopia (blue-blind)
#A9988C
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9ea231;
/* rgb */ color: rgb(158, 162, 49);
/* oklch */ color: oklch(68.8% 0.133 111.4);
Tailwind
colors: {
  custom: {
    50: '#bebd70',
    500: '#9ea231',
    950: '#000000',
  },
}
SCSS
$custom: #9ea231;
$custom-light: #bebd70;
$custom-dark: #000000;
JSON
{
  "hex": "#9ea231",
  "rgb": {
    "r": 158,
    "g": 162,
    "b": 49
  },
  "hsl": {
    "h": 62.124,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.68797,
    "c": 0.13258,
    "h": 111.4
  },
  "luminance": 0.33332
}

Semantic roles & 50–950 ramp

primary
#9EA231
secondary
#7371BE
accent
#4BDD50
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9EA231

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

Preview Lab → · Contrast checker → · Palette generator →

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