#8E7A19#8E7A19

#8E7A19 is a mid, moderate yellow. Relative luminance 0.197; OKLCH L 58.1% C 0.112 H 96.5°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#8E7A19
RGBrgb(142, 122, 25)
HSLhsl(50, 70%, 33%)
HSVhsv(50, 82%, 56%)
CMYKcmyk(0%, 14.1%, 82.4%, 44.3%)
CIE-LABlab(51.54, -2.46, 51.29)
CIE-LCHlch(51.54, 51.35, 92.75°)
OKLaboklab(58.15% -0.0127 0.1109)
OKLCHoklch(58.15% 0.112 96.5)
XYZxyz(18.2913, 19.7411, 3.7665)
Luminance0.1974 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E7A19 #192D8E
analogous
#8E4019 #8E7A19 #678E19
triadic
#8E7A19 #198E7A #7A198E
tetradic
#8E7A19 #198E40 #192D8E #8E1967
square
#8E7A19 #198E40 #192D8E #8E1967
split-complementary
#8E7A19 #19678E #40198E
monochromatic
#262107 #5A4D10 #8E7A19 #C2A722 #DEC443

Accessibility & contrast

On white

4.24
#8E7A19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#8E7A19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E7A19
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E7A19#FFFFFF#000000##000000
##8E7A191.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#877700
Deuteranopia (green-blind)
#8D7E20
Tritanopia (blue-blind)
#9A7068
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8e7a19;
/* rgb */ color: rgb(142, 122, 25);
/* oklch */ color: oklch(58.1% 0.112 96.5);
Tailwind
colors: {
  custom: {
    50: '#b3a060',
    500: '#8e7a19',
    950: '#000000',
  },
}
SCSS
$custom: #8e7a19;
$custom-light: #b3a060;
$custom-dark: #000000;
JSON
{
  "hex": "#8e7a19",
  "rgb": {
    "r": 142,
    "g": 122,
    "b": 25
  },
  "hsl": {
    "h": 49.744,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.58147,
    "c": 0.11162,
    "h": 96.5
  },
  "luminance": 0.1974
}

Semantic roles & 50–950 ramp

primary
#8E7A19
secondary
#4459BF
accent
#59ED3B
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#120E05
muted
#817E79

Preview Lab

Preview with #8E7A19

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

Preview Lab → · Contrast checker → · Palette generator →

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