#8E951F#8E951F

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

Color values

HEX#8E951F
RGBrgb(142, 149, 31)
HSLhsl(64, 66%, 35%)
HSVhsv(64, 79%, 58%)
CMYKcmyk(4.7%, 0%, 79.2%, 41.6%)
CIE-LABlab(59.29, -16.84, 56.30)
CIE-LCHlch(59.29, 58.77, 106.65°)
OKLaboklab(64.33% -0.0524 0.1228)
OKLCHoklch(64.33% 0.134 113.1)
XYZxyz(22.1508, 27.3451, 5.4073)
Luminance0.2735 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E951F #261F95
analogous
#95611F #8E951F #53951F
triadic
#8E951F #1F8E95 #951F8E
tetradic
#8E951F #1F9561 #261F95 #951F53
square
#8E951F #1F9561 #261F95 #951F53
split-complementary
#8E951F #1F5395 #611F95
monochromatic
#2D300A #5E6214 #8E951F #BEC82A #D3DB53

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E951F#FFFFFF#000000##000000
##8E951F1.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)
#A1902A
Tritanopia (blue-blind)
#988C7F
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8e951f;
/* rgb */ color: rgb(142, 149, 31);
/* oklch */ color: oklch(64.3% 0.134 113.1);
Tailwind
colors: {
  custom: {
    50: '#b3b466',
    500: '#8e951f',
    950: '#000000',
  },
}
SCSS
$custom: #8e951f;
$custom-light: #b3b466;
$custom-dark: #000000;
JSON
{
  "hex": "#8e951f",
  "rgb": {
    "r": 142,
    "g": 149,
    "b": 31
  },
  "hsl": {
    "h": 63.559,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.64331,
    "c": 0.13356,
    "h": 113.1
  },
  "luminance": 0.27345
}

Semantic roles & 50–950 ramp

primary
#8E951F
secondary
#5851BF
accent
#3FE949
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8E951F

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

Preview Lab → · Contrast checker → · Palette generator →

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