#9EAA2F#9EAA2F

#9EAA2F 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#9EAA2F
RGBrgb(158, 170, 47)
HSLhsl(66, 57%, 43%)
HSVhsv(66, 72%, 67%)
CMYKcmyk(7.1%, 0%, 72.4%, 33.3%)
CIE-LABlab(66.69, -19.86, 58.27)
CIE-LCHlch(66.69, 61.56, 108.82°)
OKLaboklab(70.6% -0.0603 0.1293)
OKLCHoklch(70.6% 0.143 115)
XYZxyz(28.9892, 36.2243, 8.1536)
Luminance0.3622 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EAA2F #3B2FAA
analogous
#AA792F #9EAA2F #60AA2F
triadic
#9EAA2F #2F9EAA #AA2F9E
tetradic
#9EAA2F #2FAA79 #3B2FAA #AA2F60
square
#9EAA2F #2FAA79 #3B2FAA #AA2F60
split-complementary
#9EAA2F #2F60AA #792FAA
monochromatic
#454A14 #717A22 #9EAA2F #C0CD49 #D1DA79

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9EAA2F#FFFFFF#000000##000000
##9EAA2F1.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)
#B6A118
Deuteranopia (green-blind)
#B6A339
Tritanopia (blue-blind)
#A8A092
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9eaa2f;
/* rgb */ color: rgb(158, 170, 47);
/* oklch */ color: oklch(70.6% 0.143 115.0);
Tailwind
colors: {
  custom: {
    50: '#bec370',
    500: '#9eaa2f',
    950: '#000000',
  },
}
SCSS
$custom: #9eaa2f;
$custom-light: #bec370;
$custom-dark: #000000;
JSON
{
  "hex": "#9eaa2f",
  "rgb": {
    "r": 158,
    "g": 170,
    "b": 47
  },
  "hsl": {
    "h": 65.854,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.70604,
    "c": 0.1427,
    "h": 115
  },
  "luminance": 0.36224
}

Semantic roles & 50–950 ramp

primary
#9EAA2F
secondary
#7A72C2
accent
#48E057
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9EAA2F

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

Preview Lab → · Contrast checker → · Palette generator →

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