#8E9D2D#8E9D2D

#8E9D2D is a light, vivid yellow. Relative luminance 0.301; OKLCH L 66.3% C 0.134 H 116.9°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#8E9D2D
RGBrgb(142, 157, 45)
HSLhsl(68, 55%, 40%)
HSVhsv(68, 71%, 62%)
CMYKcmyk(9.6%, 0%, 71.3%, 38.4%)
CIE-LABlab(61.70, -20.27, 53.71)
CIE-LCHlch(61.70, 57.41, 110.68°)
OKLaboklab(66.29% -0.0607 0.1199)
OKLCHoklch(66.29% 0.134 116.9)
XYZxyz(23.6865, 30.0545, 7.0354)
Luminance0.3005 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E9D2D #3C2D9D
analogous
#9D742D #8E9D2D #569D2D
triadic
#8E9D2D #2D8E9D #9D2D8E
tetradic
#8E9D2D #2D9D74 #3C2D9D #9D2D56
square
#8E9D2D #2D9D74 #3C2D9D #9D2D56
split-complementary
#8E9D2D #2D569D #742D9D
monochromatic
#383E12 #636D1F #8E9D2D #B6C83F #C8D66F

Accessibility & contrast

On white

3.00
#8E9D2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.01
#8E9D2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8E9D2D
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E9D2D#FFFFFF#000000##000000
##8E9D2D1.003.007.017.01
#FFFFFF3.001.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8951A
Deuteranopia (green-blind)
#A69636
Tritanopia (blue-blind)
#979487
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8e9d2d;
/* rgb */ color: rgb(142, 157, 45);
/* oklch */ color: oklch(66.3% 0.134 116.9);
Tailwind
colors: {
  custom: {
    50: '#b2b96d',
    500: '#8e9d2d',
    950: '#000000',
  },
}
SCSS
$custom: #8e9d2d;
$custom-light: #b2b96d;
$custom-dark: #000000;
JSON
{
  "hex": "#8e9d2d",
  "rgb": {
    "r": 142,
    "g": 157,
    "b": 45
  },
  "hsl": {
    "h": 68.036,
    "s": 55.446,
    "l": 39.608
  },
  "oklch": {
    "l": 0.66289,
    "c": 0.13437,
    "h": 116.9
  },
  "luminance": 0.30054
}

Semantic roles & 50–950 ramp

primary
#8E9D2D
secondary
#7469BD
accent
#49DF5D
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8E9D2D

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

Preview Lab → · Contrast checker → · Palette generator →

#8E9D2D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva