#8E8923#8E8923

#8E8923 is a mid, moderate yellow. Relative luminance 0.238; OKLCH L 61.6% C 0.119 H 106.6°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#8E8923
RGBrgb(142, 137, 35)
HSLhsl(57, 60%, 35%)
HSVhsv(57, 75%, 56%)
CMYKcmyk(0%, 3.5%, 75.4%, 44.3%)
CIE-LABlab(55.85, -10.31, 51.78)
CIE-LCHlch(55.85, 52.79, 101.26°)
OKLaboklab(61.59% -0.0339 0.114)
OKLCHoklch(61.59% 0.119 106.6)
XYZxyz(20.4052, 23.7642, 5.1019)
Luminance0.2376 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8923 #23288E
analogous
#8E5323 #8E8923 #5E8E23
triadic
#8E8923 #238E89 #89238E
tetradic
#8E8923 #238E53 #23288E #8E235E
square
#8E8923 #238E53 #23288E #8E235E
split-complementary
#8E8923 #235E8E #53238E
monochromatic
#2C2A0B #5D5A17 #8E8923 #BFB82F #D5CF56

Accessibility & contrast

On white

3.65
#8E8923 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#8E8923 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E8923
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E8923#FFFFFF#000000##000000
##8E89231.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#95840F
Deuteranopia (green-blind)
#97882B
Tritanopia (blue-blind)
#998075
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8e8923;
/* rgb */ color: rgb(142, 137, 35);
/* oklch */ color: oklch(61.6% 0.119 106.6);
Tailwind
colors: {
  custom: {
    50: '#b2ab66',
    500: '#8e8923',
    950: '#000000',
  },
}
SCSS
$custom: #8e8923;
$custom-light: #b2ab66;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8923",
  "rgb": {
    "r": 142,
    "g": 137,
    "b": 35
  },
  "hsl": {
    "h": 57.196,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.61587,
    "c": 0.11891,
    "h": 106.6
  },
  "luminance": 0.23763
}

Semantic roles & 50–950 ramp

primary
#8E8923
secondary
#5358B9
accent
#4CE444
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8E8923

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

Preview Lab → · Contrast checker → · Palette generator →

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