#8E7F19#8E7F19

#8E7F19 is a mid, moderate yellow. Relative luminance 0.210; OKLCH L 59.3% C 0.115 H 100.3°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#8E7F19
RGBrgb(142, 127, 25)
HSLhsl(52, 70%, 33%)
HSVhsv(52, 82%, 56%)
CMYKcmyk(0%, 10.6%, 82.4%, 44.3%)
CIE-LABlab(52.95, -5.25, 52.52)
CIE-LCHlch(52.95, 52.79, 95.71°)
OKLaboklab(59.26% -0.0206 0.1136)
OKLCHoklch(59.26% 0.115 100.3)
XYZxyz(18.9211, 21.0006, 3.9764)
Luminance0.2100 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E7F19 #19288E
analogous
#8E4519 #8E7F19 #628E19
triadic
#8E7F19 #198E7F #7F198E
tetradic
#8E7F19 #198E45 #19288E #8E1962
square
#8E7F19 #198E45 #19288E #8E1962
split-complementary
#8E7F19 #19628E #45198E
monochromatic
#262207 #5A5010 #8E7F19 #C2AE22 #DECA43

Accessibility & contrast

On white

4.04
#8E7F19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#8E7F19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E7F19
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E7F19#FFFFFF#000000##000000
##8E7F191.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#908121
Tritanopia (blue-blind)
#9A756C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8e7f19;
/* rgb */ color: rgb(142, 127, 25);
/* oklch */ color: oklch(59.3% 0.115 100.3);
Tailwind
colors: {
  custom: {
    50: '#b3a360',
    500: '#8e7f19',
    950: '#000000',
  },
}
SCSS
$custom: #8e7f19;
$custom-light: #b3a360;
$custom-dark: #000000;
JSON
{
  "hex": "#8e7f19",
  "rgb": {
    "r": 142,
    "g": 127,
    "b": 25
  },
  "hsl": {
    "h": 52.308,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.59262,
    "c": 0.11541,
    "h": 100.3
  },
  "luminance": 0.21
}

Semantic roles & 50–950 ramp

primary
#8E7F19
secondary
#4454BF
accent
#52ED3B
background
#FBFAF5
surface
#F6F3EA
border
#D0CDC6
text
#110F05
muted
#807F79

Preview Lab

Preview with #8E7F19

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

Preview Lab → · Contrast checker → · Palette generator →

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