#8E951B#8E951B

#8E951B 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.46:1 contrast (WCAG AA passes).

Color values

HEX#8E951B
RGBrgb(142, 149, 27)
HSLhsl(63, 69%, 35%)
HSVhsv(63, 82%, 58%)
CMYKcmyk(4.7%, 0%, 81.9%, 41.6%)
CIE-LABlab(59.27, -16.99, 57.47)
CIE-LCHlch(59.27, 59.93, 106.47°)
OKLaboklab(64.31% -0.0532 0.1246)
OKLCHoklch(64.31% 0.135 113.1)
XYZxyz(22.1013, 27.3253, 5.1468)
Luminance0.2732 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E951B #221B95
analogous
#955F1B #8E951B #51951B
triadic
#8E951B #1B8E95 #951B8E
tetradic
#8E951B #1B955F #221B95 #951B51
square
#8E951B #1B955F #221B95 #951B51
split-complementary
#8E951B #1B5195 #5F1B95
monochromatic
#2B2D08 #5D6112 #8E951B #BFC924 #D6DF4C

Accessibility & contrast

On white

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

On black

6.46
#8E951B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E951B
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E951B#FFFFFF#000000##000000
##8E951B1.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18D00
Deuteranopia (green-blind)
#A19027
Tritanopia (blue-blind)
#988B7F
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8e951b;
/* rgb */ color: rgb(142, 149, 27);
/* oklch */ color: oklch(64.3% 0.135 113.1);
Tailwind
colors: {
  custom: {
    50: '#b3b364',
    500: '#8e951b',
    950: '#000000',
  },
}
SCSS
$custom: #8e951b;
$custom-light: #b3b364;
$custom-dark: #000000;
JSON
{
  "hex": "#8e951b",
  "rgb": {
    "r": 142,
    "g": 149,
    "b": 27
  },
  "hsl": {
    "h": 63.443,
    "s": 69.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.6431,
    "c": 0.13547,
    "h": 113.1
  },
  "luminance": 0.27325
}

Semantic roles & 50–950 ramp

primary
#8E951B
secondary
#524BC1
accent
#3CEC46
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8E951B

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

Preview Lab → · Contrast checker → · Palette generator →

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