#9EAA2D#9EAA2D

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

Color values

HEX#9EAA2D
RGBrgb(158, 170, 45)
HSLhsl(66, 58%, 42%)
HSVhsv(66, 74%, 67%)
CMYKcmyk(7.1%, 0%, 73.5%, 33.3%)
CIE-LABlab(66.68, -19.96, 58.97)
CIE-LCHlch(66.68, 62.26, 108.70°)
OKLaboklab(70.59% -0.0607 0.1305)
OKLCHoklch(70.59% 0.144 115)
XYZxyz(28.9497, 36.2085, 7.9460)
Luminance0.3621 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EAA2D #392DAA
analogous
#AA782D #9EAA2D #60AA2D
triadic
#9EAA2D #2D9EAA #AA2D9E
tetradic
#9EAA2D #2DAA78 #392DAA #AA2D60
square
#9EAA2D #2DAA78 #392DAA #AA2D60
split-complementary
#9EAA2D #2D60AA #782DAA
monochromatic
#444913 #717A20 #9EAA2D #C1CE46 #D1DB77

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9EAA2D#FFFFFF#000000##000000
##9EAA2D1.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)
#B6A114
Deuteranopia (green-blind)
#B6A337
Tritanopia (blue-blind)
#A8A092
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9eaa2d;
/* rgb */ color: rgb(158, 170, 45);
/* oklch */ color: oklch(70.6% 0.144 115.0);
Tailwind
colors: {
  custom: {
    50: '#bec36f',
    500: '#9eaa2d',
    950: '#000000',
  },
}
SCSS
$custom: #9eaa2d;
$custom-light: #bec36f;
$custom-dark: #000000;
JSON
{
  "hex": "#9eaa2d",
  "rgb": {
    "r": 158,
    "g": 170,
    "b": 45
  },
  "hsl": {
    "h": 65.76,
    "s": 58.14,
    "l": 42.157
  },
  "oklch": {
    "l": 0.70591,
    "c": 0.14392,
    "h": 115
  },
  "luminance": 0.36208
}

Semantic roles & 50–950 ramp

primary
#9EAA2D
secondary
#7870C3
accent
#46E155
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #9EAA2D

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

Preview Lab → · Contrast checker → · Palette generator →

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