#8E8724#8E8724

#8E8724 is a mid, moderate yellow. Relative luminance 0.232; OKLCH L 61.1% C 0.116 H 105.2°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#8E8724
RGBrgb(142, 135, 36)
HSLhsl(56, 60%, 35%)
HSVhsv(56, 75%, 56%)
CMYKcmyk(0%, 4.9%, 74.6%, 44.3%)
CIE-LABlab(55.28, -9.18, 50.87)
CIE-LCHlch(55.28, 51.69, 100.23°)
OKLaboklab(61.14% -0.0306 0.1123)
OKLCHoklch(61.14% 0.116 105.2)
XYZxyz(20.1386, 23.2069, 5.0873)
Luminance0.2321 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8724 #242B8E
analogous
#8E5224 #8E8724 #608E24
triadic
#8E8724 #248E87 #87248E
tetradic
#8E8724 #248E52 #242B8E #8E2460
square
#8E8724 #248E52 #242B8E #8E2460
split-complementary
#8E8724 #24608E #52248E
monochromatic
#2C2A0B #5D5918 #8E8724 #BFB530 #D5CC58

Accessibility & contrast

On white

3.72
#8E8724 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#8E8724 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E8724
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E8724#FFFFFF#000000##000000
##8E87241.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#938212
Deuteranopia (green-blind)
#96862B
Tritanopia (blue-blind)
#997E74
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8e8724;
/* rgb */ color: rgb(142, 135, 36);
/* oklch */ color: oklch(61.1% 0.116 105.2);
Tailwind
colors: {
  custom: {
    50: '#b2a966',
    500: '#8e8724',
    950: '#000000',
  },
}
SCSS
$custom: #8e8724;
$custom-light: #b2a966;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8724",
  "rgb": {
    "r": 142,
    "g": 135,
    "b": 36
  },
  "hsl": {
    "h": 56.038,
    "s": 59.551,
    "l": 34.902
  },
  "oklch": {
    "l": 0.61138,
    "c": 0.11635,
    "h": 105.2
  },
  "luminance": 0.23206
}

Semantic roles & 50–950 ramp

primary
#8E8724
secondary
#555BB9
accent
#4FE345
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8E8724

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

Preview Lab → · Contrast checker → · Palette generator →

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