#9EA040#9EA040

#9EA040 is a light, moderate yellow. Relative luminance 0.328; OKLCH L 68.5% C 0.119 H 110.3°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#9EA040
RGBrgb(158, 160, 64)
HSLhsl(61, 43%, 44%)
HSVhsv(61, 60%, 63%)
CMYKcmyk(1.2%, 0%, 60%, 37.3%)
CIE-LABlab(63.98, -13.67, 48.51)
CIE-LCHlch(63.98, 50.40, 105.73°)
OKLaboklab(68.48% -0.0412 0.1114)
OKLCHoklch(68.48% 0.119 110.3)
XYZxyz(27.5975, 32.7816, 9.7232)
Luminance0.3278 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EA040 #4240A0
analogous
#A07240 #9EA040 #6EA040
triadic
#9EA040 #409EA0 #A0409E
tetradic
#9EA040 #40A072 #4240A0 #A0406E
square
#9EA040 #40A072 #4240A0 #A0406E
split-complementary
#9EA040 #406EA0 #7240A0
monochromatic
#48491D #73742F #9EA040 #BDBF5E #CFD08A

Accessibility & contrast

On white

2.78
#9EA040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.56
#9EA040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EA040
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EA040#FFFFFF#000000##000000
##9EA0401.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9935
Deuteranopia (green-blind)
#AD9C46
Tritanopia (blue-blind)
#A8978C
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9ea040;
/* rgb */ color: rgb(158, 160, 64);
/* oklch */ color: oklch(68.5% 0.119 110.3);
Tailwind
colors: {
  custom: {
    50: '#bdbb79',
    500: '#9ea040',
    950: '#000000',
  },
}
SCSS
$custom: #9ea040;
$custom-light: #bdbb79;
$custom-dark: #000000;
JSON
{
  "hex": "#9ea040",
  "rgb": {
    "r": 158,
    "g": 160,
    "b": 64
  },
  "hsl": {
    "h": 61.25,
    "s": 42.857,
    "l": 43.922
  },
  "oklch": {
    "l": 0.68479,
    "c": 0.11876,
    "h": 110.3
  },
  "luminance": 0.32781
}

Semantic roles & 50–950 ramp

primary
#9EA040
secondary
#8281BB
accent
#55D358
background
#FBFBF7
surface
#F7F6EE
border
#D0D0C9
text
#121109
muted
#81807B

Preview Lab

Preview with #9EA040

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

Preview Lab → · Contrast checker → · Palette generator →

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