#8E822D#8E822D

#8E822D is a mid, moderate yellow. Relative luminance 0.219; OKLCH L 60.1% C 0.105 H 101.2°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#8E822D
RGBrgb(142, 130, 45)
HSLhsl(53, 52%, 37%)
HSVhsv(53, 68%, 56%)
CMYKcmyk(0%, 8.5%, 68.3%, 44.3%)
CIE-LABlab(53.93, -5.95, 45.85)
CIE-LCHlch(53.93, 46.23, 97.39°)
OKLaboklab(60.08% -0.0205 0.1033)
OKLCHoklch(60.08% 0.105 101.2)
XYZxyz(19.6124, 21.9063, 5.6774)
Luminance0.2191 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E822D #2D398E
analogous
#8E522D #8E822D #6A8E2D
triadic
#8E822D #2D8E82 #822D8E
tetradic
#8E822D #2D8E52 #2D398E #8E2D6A
square
#8E822D #2D8E52 #2D398E #8E2D6A
split-complementary
#8E822D #2D6A8E #522D8E
monochromatic
#312D10 #60571E #8E822D #BCAD3C #CFC267

Accessibility & contrast

On white

3.90
#8E822D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#8E822D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E822D
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E822D#FFFFFF#000000##000000
##8E822D1.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E22
Deuteranopia (green-blind)
#928332
Tritanopia (blue-blind)
#997971
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8e822d;
/* rgb */ color: rgb(142, 130, 45);
/* oklch */ color: oklch(60.1% 0.105 101.2);
Tailwind
colors: {
  custom: {
    50: '#b2a66b',
    500: '#8e822d',
    950: '#000000',
  },
}
SCSS
$custom: #8e822d;
$custom-light: #b2a66b;
$custom-dark: #000000;
JSON
{
  "hex": "#8e822d",
  "rgb": {
    "r": 142,
    "g": 130,
    "b": 45
  },
  "hsl": {
    "h": 52.577,
    "s": 51.872,
    "l": 36.667
  },
  "oklch": {
    "l": 0.60079,
    "c": 0.10531,
    "h": 101.2
  },
  "luminance": 0.21906
}

Semantic roles & 50–950 ramp

primary
#8E822D
secondary
#616CB5
accent
#5EDB4C
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8E822D

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

Preview Lab → · Contrast checker → · Palette generator →

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