#8E7B19#8E7B19

#8E7B19 is a mid, moderate yellow. Relative luminance 0.200; OKLCH L 58.4% C 0.112 H 97.3°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#8E7B19
RGBrgb(142, 123, 25)
HSLhsl(50, 70%, 33%)
HSVhsv(50, 82%, 56%)
CMYKcmyk(0%, 13.4%, 82.4%, 44.3%)
CIE-LABlab(51.82, -3.02, 51.53)
CIE-LCHlch(51.82, 51.62, 93.36°)
OKLaboklab(58.37% -0.0143 0.1114)
OKLCHoklch(58.37% 0.112 97.3)
XYZxyz(18.4147, 19.9879, 3.8076)
Luminance0.1999 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E7B19 #192C8E
analogous
#8E4019 #8E7B19 #678E19
triadic
#8E7B19 #198E7B #7B198E
tetradic
#8E7B19 #198E40 #192C8E #8E1967
square
#8E7B19 #198E40 #192C8E #8E1967
split-complementary
#8E7B19 #19678E #40198E
monochromatic
#262107 #5A4E10 #8E7B19 #C2A822 #DEC543

Accessibility & contrast

On white

4.20
#8E7B19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#8E7B19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E7B19
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E7B19#FFFFFF#000000##000000
##8E7B191.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#887800
Deuteranopia (green-blind)
#8D7E20
Tritanopia (blue-blind)
#9A7169
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8e7b19;
/* rgb */ color: rgb(142, 123, 25);
/* oklch */ color: oklch(58.4% 0.112 97.3);
Tailwind
colors: {
  custom: {
    50: '#b3a060',
    500: '#8e7b19',
    950: '#000000',
  },
}
SCSS
$custom: #8e7b19;
$custom-light: #b3a060;
$custom-dark: #000000;
JSON
{
  "hex": "#8e7b19",
  "rgb": {
    "r": 142,
    "g": 123,
    "b": 25
  },
  "hsl": {
    "h": 50.256,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.58369,
    "c": 0.11234,
    "h": 97.3
  },
  "luminance": 0.19987
}

Semantic roles & 50–950 ramp

primary
#8E7B19
secondary
#4458BF
accent
#58ED3B
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#120E05
muted
#817E79

Preview Lab

Preview with #8E7B19

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

Preview Lab → · Contrast checker → · Palette generator →

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