#8E8E22#8E8E22

#8E8E22 is a light, vivid yellow. Relative luminance 0.252; OKLCH L 62.7% C 0.125 H 109.5°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#8E8E22
RGBrgb(142, 142, 34)
HSLhsl(60, 61%, 35%)
HSVhsv(60, 76%, 56%)
CMYKcmyk(0%, 0%, 76.1%, 44.3%)
CIE-LABlab(57.28, -13.04, 53.48)
CIE-LCHlch(57.28, 55.04, 103.70°)
OKLaboklab(62.73% -0.0416 0.1174)
OKLCHoklch(62.73% 0.125 109.5)
XYZxyz(21.1178, 25.2129, 5.2672)
Luminance0.2521 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8E22 #22228E
analogous
#8E5822 #8E8E22 #588E22
triadic
#8E8E22 #228E8E #8E228E
tetradic
#8E8E22 #228E58 #22228E #8E2258
square
#8E8E22 #228E58 #22228E #8E2258
split-complementary
#8E8E22 #22588E #58228E
monochromatic
#2B2B0A #5D5D16 #8E8E22 #BFBF2E #D6D654

Accessibility & contrast

On white

3.48
#8E8E22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#8E8E22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E8E22
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E8E22#FFFFFF#000000##000000
##8E8E221.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8809
Deuteranopia (green-blind)
#9B8B2B
Tritanopia (blue-blind)
#98857A
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8e8e22;
/* rgb */ color: rgb(142, 142, 34);
/* oklch */ color: oklch(62.7% 0.125 109.5);
Tailwind
colors: {
  custom: {
    50: '#b2ae66',
    500: '#8e8e22',
    950: '#000000',
  },
}
SCSS
$custom: #8e8e22;
$custom-light: #b2ae66;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8e22",
  "rgb": {
    "r": 142,
    "g": 142,
    "b": 34
  },
  "hsl": {
    "h": 60,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.62727,
    "c": 0.12454,
    "h": 109.5
  },
  "luminance": 0.25212
}

Semantic roles & 50–950 ramp

primary
#8E8E22
secondary
#5252BA
accent
#43E443
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8E8E22

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

Preview Lab → · Contrast checker → · Palette generator →

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