#8E811A#8E811A

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

Color values

HEX#8E811A
RGBrgb(142, 129, 26)
HSLhsl(53, 69%, 33%)
HSVhsv(53, 82%, 56%)
CMYKcmyk(0%, 9.2%, 81.7%, 44.3%)
CIE-LABlab(53.52, -6.32, 52.71)
CIE-LCHlch(53.52, 53.09, 96.84°)
OKLaboklab(59.72% -0.0235 0.1142)
OKLCHoklch(59.72% 0.117 101.6)
XYZxyz(19.1930, 21.5268, 4.1212)
Luminance0.2153 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E811A #1A278E
analogous
#8E471A #8E811A #618E1A
triadic
#8E811A #1A8E81 #811A8E
tetradic
#8E811A #1A8E47 #1A278E #8E1A61
square
#8E811A #1A8E47 #1A278E #8E1A61
split-complementary
#8E811A #1A618E #471A8E
monochromatic
#272307 #5A5211 #8E811A #C2B023 #DDCC45

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E811A#FFFFFF#000000##000000
##8E811A1.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)
#8E7D00
Deuteranopia (green-blind)
#928222
Tritanopia (blue-blind)
#9A776E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8e811a;
/* rgb */ color: rgb(142, 129, 26);
/* oklch */ color: oklch(59.7% 0.117 101.6);
Tailwind
colors: {
  custom: {
    50: '#b3a561',
    500: '#8e811a',
    950: '#000000',
  },
}
SCSS
$custom: #8e811a;
$custom-light: #b3a561;
$custom-dark: #000000;
JSON
{
  "hex": "#8e811a",
  "rgb": {
    "r": 142,
    "g": 129,
    "b": 26
  },
  "hsl": {
    "h": 53.276,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.59717,
    "c": 0.11657,
    "h": 101.6
  },
  "luminance": 0.21526
}

Semantic roles & 50–950 ramp

primary
#8E811A
secondary
#4553BE
accent
#50EC3C
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #8E811A

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

Preview Lab → · Contrast checker → · Palette generator →

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