#8E7E1D#8E7E1D

#8E7E1D is a mid, moderate yellow. Relative luminance 0.208; OKLCH L 59.1% C 0.113 H 99.3°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#8E7E1D
RGBrgb(142, 126, 29)
HSLhsl(52, 66%, 34%)
HSVhsv(52, 80%, 56%)
CMYKcmyk(0%, 11.3%, 79.6%, 44.3%)
CIE-LABlab(52.69, -4.54, 50.97)
CIE-LCHlch(52.69, 51.18, 95.09°)
OKLaboklab(59.06% -0.0182 0.1111)
OKLCHoklch(59.06% 0.113 99.3)
XYZxyz(18.8389, 20.7621, 4.1774)
Luminance0.2076 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E7E1D #1D2D8E
analogous
#8E451D #8E7E1D #658E1D
triadic
#8E7E1D #1D8E7E #7E1D8E
tetradic
#8E7E1D #1D8E45 #1D2D8E #8E1D65
square
#8E7E1D #1D8E45 #1D2D8E #8E1D65
split-complementary
#8E7E1D #1D658E #451D8E
monochromatic
#282408 #5B5113 #8E7E1D #C1AB27 #DAC64B

Accessibility & contrast

On white

4.08
#8E7E1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#8E7E1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E7E1D
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E7E1D#FFFFFF#000000##000000
##8E7E1D1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A06
Deuteranopia (green-blind)
#8F8024
Tritanopia (blue-blind)
#9A746C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8e7e1d;
/* rgb */ color: rgb(142, 126, 29);
/* oklch */ color: oklch(59.1% 0.113 99.3);
Tailwind
colors: {
  custom: {
    50: '#b3a362',
    500: '#8e7e1d',
    950: '#000000',
  },
}
SCSS
$custom: #8e7e1d;
$custom-light: #b3a362;
$custom-dark: #000000;
JSON
{
  "hex": "#8e7e1d",
  "rgb": {
    "r": 142,
    "g": 126,
    "b": 29
  },
  "hsl": {
    "h": 51.504,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.59061,
    "c": 0.11255,
    "h": 99.3
  },
  "luminance": 0.20761
}

Semantic roles & 50–950 ramp

primary
#8E7E1D
secondary
#4A5ABD
accent
#57E93F
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F05
muted
#807E7A

Preview Lab

Preview with #8E7E1D

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

Preview Lab → · Contrast checker → · Palette generator →

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