#8E801F#8E801F

#8E801F is a mid, moderate yellow. Relative luminance 0.213; OKLCH L 59.5% C 0.113 H 100.7°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#8E801F
RGBrgb(142, 128, 31)
HSLhsl(52, 64%, 34%)
HSVhsv(52, 78%, 56%)
CMYKcmyk(0%, 9.9%, 78.2%, 44.3%)
CIE-LABlab(53.26, -5.57, 50.80)
CIE-LCHlch(53.26, 51.10, 96.26°)
OKLaboklab(59.52% -0.0209 0.1111)
OKLCHoklch(59.52% 0.113 100.7)
XYZxyz(19.1227, 21.2890, 4.3980)
Luminance0.2129 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E801F #1F2D8E
analogous
#8E491F #8E801F #658E1F
triadic
#8E801F #1F8E80 #801F8E
tetradic
#8E801F #1F8E49 #1F2D8E #8E1F65
square
#8E801F #1F8E49 #1F2D8E #8E1F65
split-complementary
#8E801F #1F658E #491F8E
monochromatic
#2A2509 #5C5314 #8E801F #C0AD2A #D9C74F

Accessibility & contrast

On white

3.99
#8E801F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#8E801F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E801F
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E801F#FFFFFF#000000##000000
##8E801F1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C0A
Deuteranopia (green-blind)
#918226
Tritanopia (blue-blind)
#99766E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8e801f;
/* rgb */ color: rgb(142, 128, 31);
/* oklch */ color: oklch(59.5% 0.113 100.7);
Tailwind
colors: {
  custom: {
    50: '#b3a463',
    500: '#8e801f',
    950: '#000000',
  },
}
SCSS
$custom: #8e801f;
$custom-light: #b3a463;
$custom-dark: #000000;
JSON
{
  "hex": "#8e801f",
  "rgb": {
    "r": 142,
    "g": 128,
    "b": 31
  },
  "hsl": {
    "h": 52.432,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.59522,
    "c": 0.11307,
    "h": 100.7
  },
  "luminance": 0.21288
}

Semantic roles & 50–950 ramp

primary
#8E801F
secondary
#4D5BBB
accent
#56E741
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8E801F

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

Preview Lab → · Contrast checker → · Palette generator →

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