#8E7C19#8E7C19

#8E7C19 is a mid, moderate yellow. Relative luminance 0.202; OKLCH L 58.6% C 0.113 H 98.1°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#8E7C19
RGBrgb(142, 124, 25)
HSLhsl(51, 70%, 33%)
HSVhsv(51, 82%, 56%)
CMYKcmyk(0%, 12.7%, 82.4%, 44.3%)
CIE-LABlab(52.10, -3.58, 51.78)
CIE-LCHlch(52.10, 51.91, 93.96°)
OKLaboklab(58.59% -0.0159 0.112)
OKLCHoklch(58.59% 0.113 98.1)
XYZxyz(18.5394, 20.2373, 3.8492)
Luminance0.2024 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E7C19 #192B8E
analogous
#8E4119 #8E7C19 #668E19
triadic
#8E7C19 #198E7C #7C198E
tetradic
#8E7C19 #198E41 #192B8E #8E1966
square
#8E7C19 #198E41 #192B8E #8E1966
split-complementary
#8E7C19 #19668E #41198E
monochromatic
#262107 #5A4F10 #8E7C19 #C2A922 #DEC643

Accessibility & contrast

On white

4.16
#8E7C19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#8E7C19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E7C19
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E7C19#FFFFFF#000000##000000
##8E7C191.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#897900
Deuteranopia (green-blind)
#8E7F21
Tritanopia (blue-blind)
#9A726A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8e7c19;
/* rgb */ color: rgb(142, 124, 25);
/* oklch */ color: oklch(58.6% 0.113 98.1);
Tailwind
colors: {
  custom: {
    50: '#b3a160',
    500: '#8e7c19',
    950: '#000000',
  },
}
SCSS
$custom: #8e7c19;
$custom-light: #b3a160;
$custom-dark: #000000;
JSON
{
  "hex": "#8e7c19",
  "rgb": {
    "r": 142,
    "g": 124,
    "b": 25
  },
  "hsl": {
    "h": 50.769,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.58592,
    "c": 0.11307,
    "h": 98.1
  },
  "luminance": 0.20236
}

Semantic roles & 50–950 ramp

primary
#8E7C19
secondary
#4457BF
accent
#56ED3B
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#120E05
muted
#817E79

Preview Lab

Preview with #8E7C19

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

Preview Lab → · Contrast checker → · Palette generator →

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