#9EA237#9EA237

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

Color values

HEX#9EA237
RGBrgb(158, 162, 55)
HSLhsl(62, 49%, 43%)
HSVhsv(62, 66%, 64%)
CMYKcmyk(2.5%, 0%, 66%, 36.5%)
CIE-LABlab(64.47, -15.32, 52.94)
CIE-LCHlch(64.47, 55.11, 106.14°)
OKLaboklab(68.85% -0.0468 0.1195)
OKLCHoklch(68.85% 0.128 111.4)
XYZxyz(27.7113, 33.3863, 8.5981)
Luminance0.3339 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EA237 #3B37A2
analogous
#A27037 #9EA237 #68A237
triadic
#9EA237 #379EA2 #A2379E
tetradic
#9EA237 #37A270 #3B37A2 #A23768
square
#9EA237 #37A270 #3B37A2 #A23768
split-complementary
#9EA237 #3768A2 #7037A2
monochromatic
#454718 #717427 #9EA237 #C0C452 #D1D480

Accessibility & contrast

On white

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

On black

7.68
#9EA237 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EA237
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EA237#FFFFFF#000000##000000
##9EA2371.002.747.687.68
#FFFFFF2.741.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9ea237;
/* rgb */ color: rgb(158, 162, 55);
/* oklch */ color: oklch(68.8% 0.128 111.4);
Tailwind
colors: {
  custom: {
    50: '#bdbd74',
    500: '#9ea237',
    950: '#000000',
  },
}
SCSS
$custom: #9ea237;
$custom-light: #bdbd74;
$custom-dark: #000000;
JSON
{
  "hex": "#9ea237",
  "rgb": {
    "r": 158,
    "g": 162,
    "b": 55
  },
  "hsl": {
    "h": 62.243,
    "s": 49.309,
    "l": 42.549
  },
  "oklch": {
    "l": 0.68845,
    "c": 0.12829,
    "h": 111.4
  },
  "luminance": 0.33386
}

Semantic roles & 50–950 ramp

primary
#9EA237
secondary
#7A78BD
accent
#4FD954
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9EA237

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

Preview Lab → · Contrast checker → · Palette generator →

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