#8E951D#8E951D

#8E951D is a light, vivid yellow. Relative luminance 0.273; OKLCH L 64.3% C 0.135 H 113.1°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#8E951D
RGBrgb(142, 149, 29)
HSLhsl(64, 67%, 35%)
HSVhsv(64, 81%, 58%)
CMYKcmyk(4.7%, 0%, 80.5%, 41.6%)
CIE-LABlab(59.28, -16.92, 56.90)
CIE-LCHlch(59.28, 59.36, 106.56°)
OKLaboklab(64.32% -0.0528 0.1237)
OKLCHoklch(64.32% 0.135 113.1)
XYZxyz(22.1253, 27.3349, 5.2728)
Luminance0.2733 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E951D #241D95
analogous
#95601D #8E951D #52951D
triadic
#8E951D #1D8E95 #951D8E
tetradic
#8E951D #1D9560 #241D95 #951D52
square
#8E951D #1D9560 #241D95 #951D52
split-complementary
#8E951D #1D5295 #601D95
monochromatic
#2C2F09 #5D6213 #8E951D #BFC827 #D5DD50

Accessibility & contrast

On white

3.25
#8E951D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#8E951D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E951D
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E951D#FFFFFF#000000##000000
##8E951D1.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E00
Deuteranopia (green-blind)
#A19028
Tritanopia (blue-blind)
#988C7F
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8e951d;
/* rgb */ color: rgb(142, 149, 29);
/* oklch */ color: oklch(64.3% 0.135 113.1);
Tailwind
colors: {
  custom: {
    50: '#b3b365',
    500: '#8e951d',
    950: '#000000',
  },
}
SCSS
$custom: #8e951d;
$custom-light: #b3b365;
$custom-dark: #000000;
JSON
{
  "hex": "#8e951d",
  "rgb": {
    "r": 142,
    "g": 149,
    "b": 29
  },
  "hsl": {
    "h": 63.5,
    "s": 67.416,
    "l": 34.902
  },
  "oklch": {
    "l": 0.6432,
    "c": 0.13454,
    "h": 113.1
  },
  "luminance": 0.27334
}

Semantic roles & 50–950 ramp

primary
#8E951D
secondary
#554EC0
accent
#3DEA48
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8E951D

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

Preview Lab → · Contrast checker → · Palette generator →

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