#8E951A#8E951A

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

Color values

HEX#8E951A
RGBrgb(142, 149, 26)
HSLhsl(63, 70%, 34%)
HSVhsv(63, 83%, 58%)
CMYKcmyk(4.7%, 0%, 82.6%, 41.6%)
CIE-LABlab(59.27, -17.03, 57.74)
CIE-LCHlch(59.27, 60.20, 106.43°)
OKLaboklab(64.31% -0.0533 0.125)
OKLCHoklch(64.31% 0.136 113.1)
XYZxyz(22.0900, 27.3208, 5.0869)
Luminance0.2732 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E951A #211A95
analogous
#955F1A #8E951A #50951A
triadic
#8E951A #1A8E95 #951A8E
tetradic
#8E951A #1A955F #211A95 #951A50
square
#8E951A #1A955F #211A95 #951A50
split-complementary
#8E951A #1A5095 #5F1A95
monochromatic
#2B2D08 #5C6111 #8E951A #C0C923 #D7DF4A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E951A#FFFFFF#000000##000000
##8E951A1.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)
#A19026
Tritanopia (blue-blind)
#988B7F
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8e951a;
/* rgb */ color: rgb(142, 149, 26);
/* oklch */ color: oklch(64.3% 0.136 113.1);
Tailwind
colors: {
  custom: {
    50: '#b3b364',
    500: '#8e951a',
    950: '#000000',
  },
}
SCSS
$custom: #8e951a;
$custom-light: #b3b364;
$custom-dark: #000000;
JSON
{
  "hex": "#8e951a",
  "rgb": {
    "r": 142,
    "g": 149,
    "b": 26
  },
  "hsl": {
    "h": 63.415,
    "s": 70.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.64306,
    "c": 0.13591,
    "h": 113.1
  },
  "luminance": 0.2732
}

Semantic roles & 50–950 ramp

primary
#8E951A
secondary
#504AC1
accent
#3BED45
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8E951A

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

Preview Lab → · Contrast checker → · Palette generator →

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