#9EA240#9EA240

#9EA240 is a light, vivid yellow. Relative luminance 0.335; OKLCH L 68.9% C 0.121 H 111.4°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#9EA240
RGBrgb(158, 162, 64)
HSLhsl(62, 43%, 44%)
HSVhsv(62, 60%, 64%)
CMYKcmyk(2.5%, 0%, 60.5%, 36.5%)
CIE-LABlab(64.55, -14.71, 49.13)
CIE-LCHlch(64.55, 51.28, 106.67°)
OKLaboklab(68.93% -0.0441 0.1127)
OKLCHoklch(68.93% 0.121 111.4)
XYZxyz(27.9470, 33.4806, 9.8397)
Luminance0.3348 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EA240 #4440A2
analogous
#A27540 #9EA240 #6DA240
triadic
#9EA240 #409EA2 #A2409E
tetradic
#9EA240 #40A275 #4440A2 #A2406D
square
#9EA240 #40A275 #4440A2 #A2406D
split-complementary
#9EA240 #406DA2 #7540A2
monochromatic
#484A1D #73762F #9EA240 #BCC05F #CED18B

Accessibility & contrast

On white

2.73
#9EA240 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#9EA240 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EA240
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EA240#FFFFFF#000000##000000
##9EA2401.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9B35
Deuteranopia (green-blind)
#AE9E46
Tritanopia (blue-blind)
#A8998D
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9ea240;
/* rgb */ color: rgb(158, 162, 64);
/* oklch */ color: oklch(68.9% 0.121 111.4);
Tailwind
colors: {
  custom: {
    50: '#bdbd79',
    500: '#9ea240',
    950: '#000000',
  },
}
SCSS
$custom: #9ea240;
$custom-light: #bdbd79;
$custom-dark: #000000;
JSON
{
  "hex": "#9ea240",
  "rgb": {
    "r": 158,
    "g": 162,
    "b": 64
  },
  "hsl": {
    "h": 62.449,
    "s": 43.363,
    "l": 44.314
  },
  "oklch": {
    "l": 0.6893,
    "c": 0.12103,
    "h": 111.4
  },
  "luminance": 0.3348
}

Semantic roles & 50–950 ramp

primary
#9EA240
secondary
#8482BC
accent
#55D35A
background
#FBFBF7
surface
#F7F6EE
border
#D0D0C9
text
#121209
muted
#81817B

Preview Lab

Preview with #9EA240

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

Preview Lab → · Contrast checker → · Palette generator →

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