#8E8D22#8E8D22

#8E8D22 is a light, vivid yellow. Relative luminance 0.249; OKLCH L 62.5% C 0.124 H 108.9°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#8E8D22
RGBrgb(142, 141, 34)
HSLhsl(59, 61%, 35%)
HSVhsv(59, 76%, 56%)
CMYKcmyk(0%, 0.7%, 76.1%, 44.3%)
CIE-LABlab(56.99, -12.50, 53.21)
CIE-LCHlch(56.99, 54.66, 103.23°)
OKLaboklab(62.5% -0.0401 0.1168)
OKLCHoklch(62.5% 0.124 108.9)
XYZxyz(20.9697, 24.9167, 5.2179)
Luminance0.2492 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8D22 #22238E
analogous
#8E5722 #8E8D22 #598E22
triadic
#8E8D22 #228E8D #8D228E
tetradic
#8E8D22 #228E57 #22238E #8E2259
square
#8E8D22 #228E57 #22238E #8E2259
split-complementary
#8E8D22 #22598E #57228E
monochromatic
#2B2B0A #5D5C16 #8E8D22 #BFBE2E #D6D554

Accessibility & contrast

On white

3.51
#8E8D22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#8E8D22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E8D22
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E8D22#FFFFFF#000000##000000
##8E8D221.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#99870A
Deuteranopia (green-blind)
#9A8A2B
Tritanopia (blue-blind)
#998479
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8e8d22;
/* rgb */ color: rgb(142, 141, 34);
/* oklch */ color: oklch(62.5% 0.124 108.9);
Tailwind
colors: {
  custom: {
    50: '#b2ae66',
    500: '#8e8d22',
    950: '#000000',
  },
}
SCSS
$custom: #8e8d22;
$custom-light: #b2ae66;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8d22",
  "rgb": {
    "r": 142,
    "g": 141,
    "b": 34
  },
  "hsl": {
    "h": 59.444,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.62497,
    "c": 0.12351,
    "h": 108.9
  },
  "luminance": 0.24916
}

Semantic roles & 50–950 ramp

primary
#8E8D22
secondary
#5253BA
accent
#45E443
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8E8D22

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

Preview Lab → · Contrast checker → · Palette generator →

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