#8E7D1E#8E7D1E

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

Color values

HEX#8E7D1E
RGBrgb(142, 125, 30)
HSLhsl(51, 65%, 34%)
HSVhsv(51, 79%, 56%)
CMYKcmyk(0%, 12%, 78.9%, 44.3%)
CIE-LABlab(52.41, -3.95, 50.37)
CIE-LCHlch(52.41, 50.52, 94.48°)
OKLaboklab(58.84% -0.0164 0.11)
OKLCHoklch(58.84% 0.111 98.5)
XYZxyz(18.7242, 20.5127, 4.2011)
Luminance0.2051 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E7D1E #1E2F8E
analogous
#8E451E #8E7D1E #678E1E
triadic
#8E7D1E #1E8E7D #7D1E8E
tetradic
#8E7D1E #1E8E45 #1E2F8E #8E1E67
square
#8E7D1E #1E8E45 #1E2F8E #8E1E67
split-complementary
#8E7D1E #1E678E #451E8E
monochromatic
#292409 #5B5113 #8E7D1E #C1A929 #D9C44D

Accessibility & contrast

On white

4.12
#8E7D1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E7D1E#FFFFFF#000000##000000
##8E7D1E1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e7d1e;
/* rgb */ color: rgb(142, 125, 30);
/* oklch */ color: oklch(58.8% 0.111 98.5);
Tailwind
colors: {
  custom: {
    50: '#b3a262',
    500: '#8e7d1e',
    950: '#000000',
  },
}
SCSS
$custom: #8e7d1e;
$custom-light: #b3a262;
$custom-dark: #000000;
JSON
{
  "hex": "#8e7d1e",
  "rgb": {
    "r": 142,
    "g": 125,
    "b": 30
  },
  "hsl": {
    "h": 50.893,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.58844,
    "c": 0.1112,
    "h": 98.5
  },
  "luminance": 0.20512
}

Semantic roles & 50–950 ramp

primary
#8E7D1E
secondary
#4C5DBC
accent
#59E840
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F05
muted
#807E7A

Preview Lab

Preview with #8E7D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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