#8E7D2E#8E7D2E

#8E7D2E is a mid, moderate yellow. Relative luminance 0.206; OKLCH L 59.0% C 0.100 H 97.0°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#8E7D2E
RGBrgb(142, 125, 46)
HSLhsl(49, 51%, 37%)
HSVhsv(49, 68%, 56%)
CMYKcmyk(0%, 12%, 67.6%, 44.3%)
CIE-LABlab(52.53, -3.11, 43.93)
CIE-LCHlch(52.53, 44.04, 94.05°)
OKLaboklab(58.97% -0.0122 0.0994)
OKLCHoklch(58.97% 0.1 97)
XYZxyz(18.9830, 20.6162, 5.5637)
Luminance0.2061 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E7D2E #2E3F8E
analogous
#8E4D2E #8E7D2E #6F8E2E
triadic
#8E7D2E #2E8E7D #7D2E8E
tetradic
#8E7D2E #2E8E4D #2E3F8E #8E2E6F
square
#8E7D2E #2E8E4D #2E3F8E #8E2E6F
split-complementary
#8E7D2E #2E6F8E #4D2E8E
monochromatic
#322C10 #60541F #8E7D2E #BCA63D #CEBC68

Accessibility & contrast

On white

4.10
#8E7D2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#8E7D2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E7D2E
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E7D2E#FFFFFF#000000##000000
##8E7D2E1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#897A24
Deuteranopia (green-blind)
#8E8032
Tritanopia (blue-blind)
#99746C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8e7d2e;
/* rgb */ color: rgb(142, 125, 46);
/* oklch */ color: oklch(59.0% 0.100 97.0);
Tailwind
colors: {
  custom: {
    50: '#b2a26b',
    500: '#8e7d2e',
    950: '#000000',
  },
}
SCSS
$custom: #8e7d2e;
$custom-light: #b2a26b;
$custom-dark: #000000;
JSON
{
  "hex": "#8e7d2e",
  "rgb": {
    "r": 142,
    "g": 125,
    "b": 46
  },
  "hsl": {
    "h": 49.375,
    "s": 51.064,
    "l": 36.863
  },
  "oklch": {
    "l": 0.58972,
    "c": 0.10017,
    "h": 97
  },
  "luminance": 0.20615
}

Semantic roles & 50–950 ramp

primary
#8E7D2E
secondary
#6371B5
accent
#66DB4D
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F07
muted
#807E7A

Preview Lab

Preview with #8E7D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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