#9EAB2D#9EAB2D

#9EAB2D is a light, vivid yellow. Relative luminance 0.366; OKLCH L 70.8% C 0.145 H 115.4°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#9EAB2D
RGBrgb(158, 171, 45)
HSLhsl(66, 58%, 42%)
HSVhsv(66, 74%, 67%)
CMYKcmyk(7.6%, 0%, 73.7%, 32.9%)
CIE-LABlab(66.96, -20.47, 59.24)
CIE-LCHlch(66.96, 62.68, 109.06°)
OKLaboklab(70.82% -0.0621 0.131)
OKLCHoklch(70.82% 0.145 115.4)
XYZxyz(29.1379, 36.5849, 8.0087)
Luminance0.3658 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EAB2D #3A2DAB
analogous
#AB792D #9EAB2D #5FAB2D
triadic
#9EAB2D #2D9EAB #AB2D9E
tetradic
#9EAB2D #2DAB79 #3A2DAB #AB2D5F
square
#9EAB2D #2DAB79 #3A2DAB #AB2D5F
split-complementary
#9EAB2D #2D5FAB #792DAB
monochromatic
#444A14 #717B20 #9EAB2D #C0CE47 #D1DB77

Accessibility & contrast

On white

2.53
#9EAB2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#9EAB2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EAB2D
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EAB2D#FFFFFF#000000##000000
##9EAB2D1.002.538.328.32
#FFFFFF2.531.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A213
Deuteranopia (green-blind)
#B6A437
Tritanopia (blue-blind)
#A8A193
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #9eab2d;
/* rgb */ color: rgb(158, 171, 45);
/* oklch */ color: oklch(70.8% 0.145 115.4);
Tailwind
colors: {
  custom: {
    50: '#bec36f',
    500: '#9eab2d',
    950: '#000000',
  },
}
SCSS
$custom: #9eab2d;
$custom-light: #bec36f;
$custom-dark: #000000;
JSON
{
  "hex": "#9eab2d",
  "rgb": {
    "r": 158,
    "g": 171,
    "b": 45
  },
  "hsl": {
    "h": 66.19,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.7082,
    "c": 0.14503,
    "h": 115.4
  },
  "luminance": 0.36584
}

Semantic roles & 50–950 ramp

primary
#9EAB2D
secondary
#7971C3
accent
#46E256
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131208
muted
#82817B

Preview Lab

Preview with #9EAB2D

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

Preview Lab → · Contrast checker → · Palette generator →

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