#8E8023#8E8023

#8E8023 is a mid, moderate yellow. Relative luminance 0.213; OKLCH L 59.5% C 0.111 H 100.4°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#8E8023
RGBrgb(142, 128, 35)
HSLhsl(52, 60%, 35%)
HSVhsv(52, 75%, 56%)
CMYKcmyk(0%, 9.9%, 75.4%, 44.3%)
CIE-LABlab(53.29, -5.39, 49.34)
CIE-LCHlch(53.29, 49.63, 96.23°)
OKLaboklab(59.55% -0.02 0.1088)
OKLCHoklch(59.55% 0.111 100.4)
XYZxyz(19.1788, 21.3114, 4.6931)
Luminance0.2131 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8023 #23318E
analogous
#8E4B23 #8E8023 #668E23
triadic
#8E8023 #238E80 #80238E
tetradic
#8E8023 #238E4B #23318E #8E2366
square
#8E8023 #238E4B #23318E #8E2366
split-complementary
#8E8023 #23668E #4B238E
monochromatic
#2C270B #5D5417 #8E8023 #BFAC2F #D5C556

Accessibility & contrast

On white

3.99
#8E8023 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#8E8023 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E8023
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E8023#FFFFFF#000000##000000
##8E80231.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C12
Deuteranopia (green-blind)
#918229
Tritanopia (blue-blind)
#99766E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8e8023;
/* rgb */ color: rgb(142, 128, 35);
/* oklch */ color: oklch(59.5% 0.111 100.4);
Tailwind
colors: {
  custom: {
    50: '#b2a465',
    500: '#8e8023',
    950: '#000000',
  },
}
SCSS
$custom: #8e8023;
$custom-light: #b2a465;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8023",
  "rgb": {
    "r": 142,
    "g": 128,
    "b": 35
  },
  "hsl": {
    "h": 52.15,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.59549,
    "c": 0.11063,
    "h": 100.4
  },
  "luminance": 0.2131
}

Semantic roles & 50–950 ramp

primary
#8E8023
secondary
#5361B9
accent
#59E444
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8E8023

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

Preview Lab → · Contrast checker → · Palette generator →

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