#8E7B2E#8E7B2E

#8E7B2E is a mid, moderate yellow. Relative luminance 0.201; OKLCH L 58.5% C 0.099 H 95.2°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#8E7B2E
RGBrgb(142, 123, 46)
HSLhsl(48, 51%, 37%)
HSVhsv(48, 68%, 56%)
CMYKcmyk(0%, 13.4%, 67.6%, 44.3%)
CIE-LABlab(51.97, -1.99, 43.34)
CIE-LCHlch(51.97, 43.39, 92.62°)
OKLaboklab(58.53% -0.009 0.0982)
OKLCHoklch(58.53% 0.099 95.2)
XYZxyz(18.7323, 20.1149, 5.4801)
Luminance0.2011 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E7B2E #2E418E
analogous
#8E4B2E #8E7B2E #718E2E
triadic
#8E7B2E #2E8E7B #7B2E8E
tetradic
#8E7B2E #2E8E4B #2E418E #8E2E71
square
#8E7B2E #2E8E4B #2E418E #8E2E71
split-complementary
#8E7B2E #2E718E #4B2E8E
monochromatic
#322B10 #60531F #8E7B2E #BCA33D #CEBA68

Accessibility & contrast

On white

4.18
#8E7B2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#8E7B2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E7B2E
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E7B2E#FFFFFF#000000##000000
##8E7B2E1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#877825
Deuteranopia (green-blind)
#8C7E32
Tritanopia (blue-blind)
#99726B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8e7b2e;
/* rgb */ color: rgb(142, 123, 46);
/* oklch */ color: oklch(58.5% 0.099 95.2);
Tailwind
colors: {
  custom: {
    50: '#b2a06b',
    500: '#8e7b2e',
    950: '#000000',
  },
}
SCSS
$custom: #8e7b2e;
$custom-light: #b2a06b;
$custom-dark: #000000;
JSON
{
  "hex": "#8e7b2e",
  "rgb": {
    "r": 142,
    "g": 123,
    "b": 46
  },
  "hsl": {
    "h": 48.125,
    "s": 51.064,
    "l": 36.863
  },
  "oklch": {
    "l": 0.58528,
    "c": 0.09858,
    "h": 95.2
  },
  "luminance": 0.20114
}

Semantic roles & 50–950 ramp

primary
#8E7B2E
secondary
#6373B5
accent
#69DB4D
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E07
muted
#807E7A

Preview Lab

Preview with #8E7B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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