#8E8224#8E8224

#8E8224 is a mid, moderate yellow. Relative luminance 0.218; OKLCH L 60.0% C 0.112 H 101.8°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#8E8224
RGBrgb(142, 130, 36)
HSLhsl(53, 60%, 35%)
HSVhsv(53, 75%, 56%)
CMYKcmyk(0%, 8.5%, 74.6%, 44.3%)
CIE-LABlab(53.86, -6.45, 49.50)
CIE-LCHlch(53.86, 49.92, 97.42°)
OKLaboklab(60.01% -0.0229 0.1094)
OKLCHoklch(60.01% 0.112 101.8)
XYZxyz(19.4573, 21.8443, 4.8602)
Luminance0.2184 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8224 #24308E
analogous
#8E4D24 #8E8224 #658E24
triadic
#8E8224 #248E82 #82248E
tetradic
#8E8224 #248E4D #24308E #8E2465
square
#8E8224 #248E4D #24308E #8E2465
split-complementary
#8E8224 #24658E #4D248E
monochromatic
#2C290B #5D5518 #8E8224 #BFAF30 #D5C658

Accessibility & contrast

On white

3.91
#8E8224 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#8E8224 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E8224
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E8224#FFFFFF#000000##000000
##8E82241.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E14
Deuteranopia (green-blind)
#92832A
Tritanopia (blue-blind)
#997870
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8e8224;
/* rgb */ color: rgb(142, 130, 36);
/* oklch */ color: oklch(60.0% 0.112 101.8);
Tailwind
colors: {
  custom: {
    50: '#b2a666',
    500: '#8e8224',
    950: '#000000',
  },
}
SCSS
$custom: #8e8224;
$custom-light: #b2a666;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8224",
  "rgb": {
    "r": 142,
    "g": 130,
    "b": 36
  },
  "hsl": {
    "h": 53.208,
    "s": 59.551,
    "l": 34.902
  },
  "oklch": {
    "l": 0.60006,
    "c": 0.11173,
    "h": 101.8
  },
  "luminance": 0.21843
}

Semantic roles & 50–950 ramp

primary
#8E8224
secondary
#5560B9
accent
#57E345
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8E8224

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

Preview Lab → · Contrast checker → · Palette generator →

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