#8E8924#8E8924

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

Color values

HEX#8E8924
RGBrgb(142, 137, 36)
HSLhsl(57, 60%, 35%)
HSVhsv(57, 75%, 56%)
CMYKcmyk(0%, 3.5%, 74.6%, 44.3%)
CIE-LABlab(55.86, -10.26, 51.42)
CIE-LCHlch(55.86, 52.43, 101.29°)
OKLaboklab(61.59% -0.0336 0.1134)
OKLCHoklch(61.59% 0.118 106.5)
XYZxyz(20.4202, 23.7702, 5.1812)
Luminance0.2377 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8924 #24298E
analogous
#8E5424 #8E8924 #5E8E24
triadic
#8E8924 #248E89 #89248E
tetradic
#8E8924 #248E54 #24298E #8E245E
square
#8E8924 #248E54 #24298E #8E245E
split-complementary
#8E8924 #245E8E #54248E
monochromatic
#2C2B0B #5D5A18 #8E8924 #BFB830 #D5CF58

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E8924#FFFFFF#000000##000000
##8E89241.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)
#958411
Deuteranopia (green-blind)
#97882B
Tritanopia (blue-blind)
#998076
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8e8924;
/* rgb */ color: rgb(142, 137, 36);
/* oklch */ color: oklch(61.6% 0.118 106.5);
Tailwind
colors: {
  custom: {
    50: '#b2ab67',
    500: '#8e8924',
    950: '#000000',
  },
}
SCSS
$custom: #8e8924;
$custom-light: #b2ab67;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8924",
  "rgb": {
    "r": 142,
    "g": 137,
    "b": 36
  },
  "hsl": {
    "h": 57.17,
    "s": 59.551,
    "l": 34.902
  },
  "oklch": {
    "l": 0.61594,
    "c": 0.11829,
    "h": 106.5
  },
  "luminance": 0.23769
}

Semantic roles & 50–950 ramp

primary
#8E8924
secondary
#555AB9
accent
#4DE345
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8E8924

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

Preview Lab → · Contrast checker → · Palette generator →

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