#8E8524#8E8524

#8E8524 is a mid, moderate yellow. Relative luminance 0.227; OKLCH L 60.7% C 0.114 H 103.9°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#8E8524
RGBrgb(142, 133, 36)
HSLhsl(55, 60%, 35%)
HSVhsv(55, 75%, 56%)
CMYKcmyk(0%, 6.3%, 74.6%, 44.3%)
CIE-LABlab(54.71, -8.09, 50.32)
CIE-LCHlch(54.71, 50.97, 99.14°)
OKLaboklab(60.68% -0.0275 0.1111)
OKLCHoklch(60.68% 0.114 103.9)
XYZxyz(19.8621, 22.6540, 4.9952)
Luminance0.2265 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8524 #242D8E
analogous
#8E5024 #8E8524 #628E24
triadic
#8E8524 #248E85 #85248E
tetradic
#8E8524 #248E50 #242D8E #8E2462
square
#8E8524 #248E50 #242D8E #8E2462
split-complementary
#8E8524 #24628E #50248E
monochromatic
#2C2A0B #5D5718 #8E8524 #BFB330 #D5CA58

Accessibility & contrast

On white

3.80
#8E8524 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#8E8524 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E8524
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E8524#FFFFFF#000000##000000
##8E85241.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#918012
Deuteranopia (green-blind)
#94852B
Tritanopia (blue-blind)
#997B72
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8e8524;
/* rgb */ color: rgb(142, 133, 36);
/* oklch */ color: oklch(60.7% 0.114 103.9);
Tailwind
colors: {
  custom: {
    50: '#b2a866',
    500: '#8e8524',
    950: '#000000',
  },
}
SCSS
$custom: #8e8524;
$custom-light: #b2a866;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8524",
  "rgb": {
    "r": 142,
    "g": 133,
    "b": 36
  },
  "hsl": {
    "h": 54.906,
    "s": 59.551,
    "l": 34.902
  },
  "oklch": {
    "l": 0.60684,
    "c": 0.11446,
    "h": 103.9
  },
  "luminance": 0.22653
}

Semantic roles & 50–950 ramp

primary
#8E8524
secondary
#555DB9
accent
#52E345
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8E8524

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

Preview Lab → · Contrast checker → · Palette generator →

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