#8E7D20#8E7D20

#8E7D20 is a mid, moderate yellow. Relative luminance 0.205; OKLCH L 58.9% C 0.110 H 98.4°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#8E7D20
RGBrgb(142, 125, 32)
HSLhsl(51, 63%, 34%)
HSVhsv(51, 77%, 56%)
CMYKcmyk(0%, 12%, 77.5%, 44.3%)
CIE-LABlab(52.42, -3.86, 49.65)
CIE-LCHlch(52.42, 49.80, 94.45°)
OKLaboklab(58.86% -0.016 0.1089)
OKLCHoklch(58.86% 0.11 98.4)
XYZxyz(18.7506, 20.5233, 4.3400)
Luminance0.2052 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E7D20 #20318E
analogous
#8E4620 #8E7D20 #688E20
triadic
#8E7D20 #208E7D #7D208E
tetradic
#8E7D20 #208E46 #20318E #8E2068
square
#8E7D20 #208E46 #20318E #8E2068
split-complementary
#8E7D20 #20688E #46208E
monochromatic
#2A2509 #5C5115 #8E7D20 #C0A92B #D8C351

Accessibility & contrast

On white

4.11
#8E7D20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#8E7D20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E7D20
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E7D20#FFFFFF#000000##000000
##8E7D201.004.115.105.10
#FFFFFF4.111.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A0E
Deuteranopia (green-blind)
#8E8026
Tritanopia (blue-blind)
#9A736B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8e7d20;
/* rgb */ color: rgb(142, 125, 32);
/* oklch */ color: oklch(58.9% 0.110 98.4);
Tailwind
colors: {
  custom: {
    50: '#b3a263',
    500: '#8e7d20',
    950: '#000000',
  },
}
SCSS
$custom: #8e7d20;
$custom-light: #b3a263;
$custom-dark: #000000;
JSON
{
  "hex": "#8e7d20",
  "rgb": {
    "r": 142,
    "g": 125,
    "b": 32
  },
  "hsl": {
    "h": 50.727,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.58857,
    "c": 0.11004,
    "h": 98.4
  },
  "luminance": 0.20522
}

Semantic roles & 50–950 ramp

primary
#8E7D20
secondary
#4F60BB
accent
#5BE642
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A

Preview Lab

Preview with #8E7D20

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

Preview Lab → · Contrast checker → · Palette generator →

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