#8E7E1E#8E7E1E

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

Color values

HEX#8E7E1E
RGBrgb(142, 126, 30)
HSLhsl(51, 65%, 34%)
HSVhsv(51, 79%, 56%)
CMYKcmyk(0%, 11.3%, 78.9%, 44.3%)
CIE-LABlab(52.69, -4.50, 50.63)
CIE-LCHlch(52.69, 50.83, 95.08°)
OKLaboklab(59.07% -0.018 0.1105)
OKLCHoklch(59.07% 0.112 99.3)
XYZxyz(18.8515, 20.7672, 4.2435)
Luminance0.2077 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E7E1E #1E2E8E
analogous
#8E461E #8E7E1E #668E1E
triadic
#8E7E1E #1E8E7E #7E1E8E
tetradic
#8E7E1E #1E8E46 #1E2E8E #8E1E66
square
#8E7E1E #1E8E46 #1E2E8E #8E1E66
split-complementary
#8E7E1E #1E668E #461E8E
monochromatic
#292409 #5B5113 #8E7E1E #C1AB29 #D9C54D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E7E1E#FFFFFF#000000##000000
##8E7E1E1.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)
#8B7A08
Deuteranopia (green-blind)
#8F8025
Tritanopia (blue-blind)
#9A746C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8e7e1e;
/* rgb */ color: rgb(142, 126, 30);
/* oklch */ color: oklch(59.1% 0.112 99.3);
Tailwind
colors: {
  custom: {
    50: '#b3a362',
    500: '#8e7e1e',
    950: '#000000',
  },
}
SCSS
$custom: #8e7e1e;
$custom-light: #b3a362;
$custom-dark: #000000;
JSON
{
  "hex": "#8e7e1e",
  "rgb": {
    "r": 142,
    "g": 126,
    "b": 30
  },
  "hsl": {
    "h": 51.429,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.59067,
    "c": 0.11199,
    "h": 99.3
  },
  "luminance": 0.20766
}

Semantic roles & 50–950 ramp

primary
#8E7E1E
secondary
#4C5CBC
accent
#58E840
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F05
muted
#807E7A

Preview Lab

Preview with #8E7E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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