#8E951C#8E951C

#8E951C 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#8E951C
RGBrgb(142, 149, 28)
HSLhsl(63, 68%, 35%)
HSVhsv(63, 81%, 58%)
CMYKcmyk(4.7%, 0%, 81.2%, 41.6%)
CIE-LABlab(59.28, -16.96, 57.19)
CIE-LCHlch(59.28, 59.65, 106.52°)
OKLaboklab(64.32% -0.053 0.1242)
OKLCHoklch(64.32% 0.135 113.1)
XYZxyz(22.1131, 27.3300, 5.2087)
Luminance0.2733 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E951C #231C95
analogous
#95601C #8E951C #52951C
triadic
#8E951C #1C8E95 #951C8E
tetradic
#8E951C #1C9560 #231C95 #951C52
square
#8E951C #1C9560 #231C95 #951C52
split-complementary
#8E951C #1C5295 #601C95
monochromatic
#2C2E09 #5D6112 #8E951C #BFC926 #D5DE4E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E951C#FFFFFF#000000##000000
##8E951C1.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: #8e951c;
/* rgb */ color: rgb(142, 149, 28);
/* oklch */ color: oklch(64.3% 0.135 113.1);
Tailwind
colors: {
  custom: {
    50: '#b3b365',
    500: '#8e951c',
    950: '#000000',
  },
}
SCSS
$custom: #8e951c;
$custom-light: #b3b365;
$custom-dark: #000000;
JSON
{
  "hex": "#8e951c",
  "rgb": {
    "r": 142,
    "g": 149,
    "b": 28
  },
  "hsl": {
    "h": 63.471,
    "s": 68.362,
    "l": 34.706
  },
  "oklch": {
    "l": 0.64315,
    "c": 0.13501,
    "h": 113.1
  },
  "luminance": 0.2733
}

Semantic roles & 50–950 ramp

primary
#8E951C
secondary
#534DC0
accent
#3DEB47
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8E951C

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

Preview Lab → · Contrast checker → · Palette generator →

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