#8E823E#8E823E

#8E823E is a mid, moderate yellow. Relative luminance 0.221; OKLCH L 60.3% C 0.090 H 99.5°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#8E823E
RGBrgb(142, 130, 62)
HSLhsl(51, 39%, 40%)
HSVhsv(51, 56%, 56%)
CMYKcmyk(0%, 8.5%, 56.3%, 44.3%)
CIE-LABlab(54.10, -4.70, 37.93)
CIE-LCHlch(54.10, 38.22, 97.06°)
OKLaboklab(60.27% -0.0148 0.0888)
OKLCHoklch(60.27% 0.09 99.5)
XYZxyz(20.0082, 22.0646, 7.7615)
Luminance0.2206 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E823E #3E4A8E
analogous
#8E5A3E #8E823E #728E3E
triadic
#8E823E #3E8E82 #823E8E
tetradic
#8E823E #3E8E5A #3E4A8E #8E3E72
square
#8E823E #3E8E5A #3E4A8E #8E3E72
split-complementary
#8E823E #3E728E #5A3E8E
monochromatic
#393419 #635B2B #8E823E #B5A655 #C7BC7F

Accessibility & contrast

On white

3.88
#8E823E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#8E823E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E823E
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E823E#FFFFFF#000000##000000
##8E823E1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7F38
Deuteranopia (green-blind)
#908341
Tritanopia (blue-blind)
#987A73
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8e823e;
/* rgb */ color: rgb(142, 130, 62);
/* oklch */ color: oklch(60.3% 0.090 99.5);
Tailwind
colors: {
  custom: {
    50: '#b1a675',
    500: '#8e823e',
    950: '#000000',
  },
}
SCSS
$custom: #8e823e;
$custom-light: #b1a675;
$custom-dark: #000000;
JSON
{
  "hex": "#8e823e",
  "rgb": {
    "r": 142,
    "g": 130,
    "b": 62
  },
  "hsl": {
    "h": 51,
    "s": 39.216,
    "l": 40
  },
  "oklch": {
    "l": 0.60267,
    "c": 0.09006,
    "h": 99.5
  },
  "luminance": 0.22064
}

Semantic roles & 50–950 ramp

primary
#8E823E
secondary
#767FB1
accent
#6ACF59
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#110F08
muted
#807F7B

Preview Lab

Preview with #8E823E

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

Preview Lab → · Contrast checker → · Palette generator →

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