#8E8323#8E8323

#8E8323 is a mid, moderate yellow. Relative luminance 0.221; OKLCH L 60.2% C 0.113 H 102.6°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#8E8323
RGBrgb(142, 131, 35)
HSLhsl(54, 60%, 35%)
HSVhsv(54, 75%, 56%)
CMYKcmyk(0%, 7.7%, 75.4%, 44.3%)
CIE-LABlab(54.14, -7.04, 50.15)
CIE-LCHlch(54.14, 50.65, 98.00°)
OKLaboklab(60.22% -0.0247 0.1105)
OKLCHoklch(60.22% 0.113 102.6)
XYZxyz(19.5759, 22.1056, 4.8254)
Luminance0.2210 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8323 #232E8E
analogous
#8E4E23 #8E8323 #638E23
triadic
#8E8323 #238E83 #83238E
tetradic
#8E8323 #238E4E #232E8E #8E2363
square
#8E8323 #238E4E #232E8E #8E2363
split-complementary
#8E8323 #23638E #4E238E
monochromatic
#2C280B #5D5617 #8E8323 #BFB02F #D5C856

Accessibility & contrast

On white

3.87
#8E8323 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#8E8323 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E8323
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E8323#FFFFFF#000000##000000
##8E83231.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F11
Deuteranopia (green-blind)
#93842A
Tritanopia (blue-blind)
#997970
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8e8323;
/* rgb */ color: rgb(142, 131, 35);
/* oklch */ color: oklch(60.2% 0.113 102.6);
Tailwind
colors: {
  custom: {
    50: '#b2a665',
    500: '#8e8323',
    950: '#000000',
  },
}
SCSS
$custom: #8e8323;
$custom-light: #b2a665;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8323",
  "rgb": {
    "r": 142,
    "g": 131,
    "b": 35
  },
  "hsl": {
    "h": 53.832,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.60224,
    "c": 0.11326,
    "h": 102.6
  },
  "luminance": 0.22105
}

Semantic roles & 50–950 ramp

primary
#8E8323
secondary
#535EB9
accent
#55E444
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8E8323

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

Preview Lab → · Contrast checker → · Palette generator →

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