#8E7E19#8E7E19

#8E7E19 is a mid, moderate yellow. Relative luminance 0.207; OKLCH L 59.0% C 0.115 H 99.6°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#8E7E19
RGBrgb(142, 126, 25)
HSLhsl(52, 70%, 33%)
HSVhsv(52, 82%, 56%)
CMYKcmyk(0%, 11.3%, 82.4%, 44.3%)
CIE-LABlab(52.67, -4.70, 52.28)
CIE-LCHlch(52.67, 52.49, 95.13°)
OKLaboklab(59.04% -0.019 0.113)
OKLCHoklch(59.04% 0.115 99.6)
XYZxyz(18.7926, 20.7436, 3.9336)
Luminance0.2074 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E7E19 #19298E
analogous
#8E4419 #8E7E19 #638E19
triadic
#8E7E19 #198E7E #7E198E
tetradic
#8E7E19 #198E44 #19298E #8E1963
square
#8E7E19 #198E44 #19298E #8E1963
split-complementary
#8E7E19 #19638E #44198E
monochromatic
#262207 #5A5010 #8E7E19 #C2AC22 #DEC943

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E7E19#FFFFFF#000000##000000
##8E7E191.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)
#8B7A00
Deuteranopia (green-blind)
#8F8021
Tritanopia (blue-blind)
#9A746B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8e7e19;
/* rgb */ color: rgb(142, 126, 25);
/* oklch */ color: oklch(59.0% 0.115 99.6);
Tailwind
colors: {
  custom: {
    50: '#b3a360',
    500: '#8e7e19',
    950: '#000000',
  },
}
SCSS
$custom: #8e7e19;
$custom-light: #b3a360;
$custom-dark: #000000;
JSON
{
  "hex": "#8e7e19",
  "rgb": {
    "r": 142,
    "g": 126,
    "b": 25
  },
  "hsl": {
    "h": 51.795,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.59038,
    "c": 0.11461,
    "h": 99.6
  },
  "luminance": 0.20743
}

Semantic roles & 50–950 ramp

primary
#8E7E19
secondary
#4455BF
accent
#53ED3B
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#120F05
muted
#817E79

Preview Lab

Preview with #8E7E19

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

Preview Lab → · Contrast checker → · Palette generator →

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