#9EAA2E#9EAA2E

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

Color values

HEX#9EAA2E
RGBrgb(158, 170, 46)
HSLhsl(66, 57%, 42%)
HSVhsv(66, 73%, 67%)
CMYKcmyk(7.1%, 0%, 72.9%, 33.3%)
CIE-LABlab(66.68, -19.91, 58.62)
CIE-LCHlch(66.68, 61.91, 108.76°)
OKLaboklab(70.6% -0.0605 0.1299)
OKLCHoklch(70.6% 0.143 115)
XYZxyz(28.9692, 36.2163, 8.0486)
Luminance0.3622 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EAA2E #3A2EAA
analogous
#AA782E #9EAA2E #60AA2E
triadic
#9EAA2E #2E9EAA #AA2E9E
tetradic
#9EAA2E #2EAA78 #3A2EAA #AA2E60
square
#9EAA2E #2EAA78 #3A2EAA #AA2E60
split-complementary
#9EAA2E #2E60AA #782EAA
monochromatic
#444A14 #717A21 #9EAA2E #C0CD48 #D1DA78

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9EAA2E#FFFFFF#000000##000000
##9EAA2E1.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)
#B6A116
Deuteranopia (green-blind)
#B6A338
Tritanopia (blue-blind)
#A8A092
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9eaa2e;
/* rgb */ color: rgb(158, 170, 46);
/* oklch */ color: oklch(70.6% 0.143 115.0);
Tailwind
colors: {
  custom: {
    50: '#bec370',
    500: '#9eaa2e',
    950: '#000000',
  },
}
SCSS
$custom: #9eaa2e;
$custom-light: #bec370;
$custom-dark: #000000;
JSON
{
  "hex": "#9eaa2e",
  "rgb": {
    "r": 158,
    "g": 170,
    "b": 46
  },
  "hsl": {
    "h": 65.806,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.70597,
    "c": 0.14332,
    "h": 115
  },
  "luminance": 0.36216
}

Semantic roles & 50–950 ramp

primary
#9EAA2E
secondary
#7971C3
accent
#47E156
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #9EAA2E

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

Preview Lab → · Contrast checker → · Palette generator →

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