#8E7E24#8E7E24

#8E7E24 is a mid, moderate yellow. Relative luminance 0.208; OKLCH L 59.1% C 0.108 H 98.8°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#8E7E24
RGBrgb(142, 126, 36)
HSLhsl(51, 60%, 35%)
HSVhsv(51, 75%, 56%)
CMYKcmyk(0%, 11.3%, 74.6%, 44.3%)
CIE-LABlab(52.73, -4.23, 48.41)
CIE-LCHlch(52.73, 48.60, 94.99°)
OKLaboklab(59.11% -0.0166 0.1071)
OKLCHoklch(59.11% 0.108 98.8)
XYZxyz(18.9355, 20.8008, 4.6863)
Luminance0.2080 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E7E24 #24348E
analogous
#8E4924 #8E7E24 #698E24
triadic
#8E7E24 #248E7E #7E248E
tetradic
#8E7E24 #248E49 #24348E #8E2469
square
#8E7E24 #248E49 #24348E #8E2469
split-complementary
#8E7E24 #24698E #49248E
monochromatic
#2C270B #5D5318 #8E7E24 #BFA930 #D5C258

Accessibility & contrast

On white

4.07
#8E7E24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#8E7E24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E7E24
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E7E24#FFFFFF#000000##000000
##8E7E241.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B15
Deuteranopia (green-blind)
#8F802A
Tritanopia (blue-blind)
#99746C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8e7e24;
/* rgb */ color: rgb(142, 126, 36);
/* oklch */ color: oklch(59.1% 0.108 98.8);
Tailwind
colors: {
  custom: {
    50: '#b2a365',
    500: '#8e7e24',
    950: '#000000',
  },
}
SCSS
$custom: #8e7e24;
$custom-light: #b2a365;
$custom-dark: #000000;
JSON
{
  "hex": "#8e7e24",
  "rgb": {
    "r": 142,
    "g": 126,
    "b": 36
  },
  "hsl": {
    "h": 50.943,
    "s": 59.551,
    "l": 34.902
  },
  "oklch": {
    "l": 0.59108,
    "c": 0.10833,
    "h": 98.8
  },
  "luminance": 0.208
}

Semantic roles & 50–950 ramp

primary
#8E7E24
secondary
#5564B9
accent
#5DE345
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A

Preview Lab

Preview with #8E7E24

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

Preview Lab → · Contrast checker → · Palette generator →

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