#8E811E#8E811E

#8E811E is a mid, moderate yellow. Relative luminance 0.215; OKLCH L 59.7% C 0.114 H 101.4°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#8E811E
RGBrgb(142, 129, 30)
HSLhsl(53, 65%, 34%)
HSVhsv(53, 79%, 56%)
CMYKcmyk(0%, 9.2%, 78.9%, 44.3%)
CIE-LABlab(53.54, -6.17, 51.41)
CIE-LCHlch(53.54, 51.78, 96.84°)
OKLaboklab(59.74% -0.0227 0.1122)
OKLCHoklch(59.74% 0.114 101.4)
XYZxyz(19.2408, 21.5459, 4.3733)
Luminance0.2155 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E811E #1E2B8E
analogous
#8E491E #8E811E #638E1E
triadic
#8E811E #1E8E81 #811E8E
tetradic
#8E811E #1E8E49 #1E2B8E #8E1E63
square
#8E811E #1E8E49 #1E2B8E #8E1E63
split-complementary
#8E811E #1E638E #491E8E
monochromatic
#292509 #5B5313 #8E811E #C1AF29 #D9C94D

Accessibility & contrast

On white

3.96
#8E811E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#8E811E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E811E
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E811E#FFFFFF#000000##000000
##8E811E1.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D07
Deuteranopia (green-blind)
#928225
Tritanopia (blue-blind)
#99776E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8e811e;
/* rgb */ color: rgb(142, 129, 30);
/* oklch */ color: oklch(59.7% 0.114 101.4);
Tailwind
colors: {
  custom: {
    50: '#b3a563',
    500: '#8e811e',
    950: '#000000',
  },
}
SCSS
$custom: #8e811e;
$custom-light: #b3a563;
$custom-dark: #000000;
JSON
{
  "hex": "#8e811e",
  "rgb": {
    "r": 142,
    "g": 129,
    "b": 30
  },
  "hsl": {
    "h": 53.036,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.5974,
    "c": 0.11448,
    "h": 101.4
  },
  "luminance": 0.21545
}

Semantic roles & 50–950 ramp

primary
#8E811E
secondary
#4C59BC
accent
#53E840
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8E811E

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

Preview Lab → · Contrast checker → · Palette generator →

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