#9EAA2A#9EAA2A

#9EAA2A is a light, vivid yellow. Relative luminance 0.362; OKLCH L 70.6% C 0.146 H 114.9°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#9EAA2A
RGBrgb(158, 170, 42)
HSLhsl(66, 60%, 42%)
HSVhsv(66, 75%, 67%)
CMYKcmyk(7.1%, 0%, 75.3%, 33.3%)
CIE-LABlab(66.66, -20.11, 59.98)
CIE-LCHlch(66.66, 63.26, 108.53°)
OKLaboklab(70.57% -0.0614 0.1321)
OKLCHoklch(70.57% 0.146 114.9)
XYZxyz(28.8940, 36.1862, 7.6526)
Luminance0.3619 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EAA2A #362AAA
analogous
#AA762A #9EAA2A #5EAA2A
triadic
#9EAA2A #2A9EAA #AA2A9E
tetradic
#9EAA2A #2AAA76 #362AAA #AA2A5E
square
#9EAA2A #2AAA76 #362AAA #AA2A5E
split-complementary
#9EAA2A #2A5EAA #762AAA
monochromatic
#434812 #70791E #9EAA2A #C3D041 #D2DC72

Accessibility & contrast

On white

2.55
#9EAA2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.24
#9EAA2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EAA2A
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EAA2A#FFFFFF#000000##000000
##9EAA2A1.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A10C
Deuteranopia (green-blind)
#B6A335
Tritanopia (blue-blind)
#A9A092
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9eaa2a;
/* rgb */ color: rgb(158, 170, 42);
/* oklch */ color: oklch(70.6% 0.146 114.9);
Tailwind
colors: {
  custom: {
    50: '#bec36e',
    500: '#9eaa2a',
    950: '#000000',
  },
}
SCSS
$custom: #9eaa2a;
$custom-light: #bec36e;
$custom-dark: #000000;
JSON
{
  "hex": "#9eaa2a",
  "rgb": {
    "r": 158,
    "g": 170,
    "b": 42
  },
  "hsl": {
    "h": 65.625,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.70572,
    "c": 0.14566,
    "h": 114.9
  },
  "luminance": 0.36186
}

Semantic roles & 50–950 ramp

primary
#9EAA2A
secondary
#746CC3
accent
#44E453
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #9EAA2A

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

Preview Lab → · Contrast checker → · Palette generator →

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