#8E8E20#8E8E20

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

Color values

HEX#8E8E20
RGBrgb(142, 142, 32)
HSLhsl(60, 63%, 34%)
HSVhsv(60, 77%, 56%)
CMYKcmyk(0%, 0%, 77.5%, 44.3%)
CIE-LABlab(57.27, -13.12, 54.14)
CIE-LCHlch(57.27, 55.71, 103.62°)
OKLaboklab(62.72% -0.042 0.1184)
OKLCHoklch(62.72% 0.126 109.5)
XYZxyz(21.0898, 25.2017, 5.1197)
Luminance0.2520 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8E20 #20208E
analogous
#8E5720 #8E8E20 #578E20
triadic
#8E8E20 #208E8E #8E208E
tetradic
#8E8E20 #208E57 #20208E #8E2057
square
#8E8E20 #208E57 #20208E #8E2057
split-complementary
#8E8E20 #20578E #57208E
monochromatic
#2A2A09 #5C5C15 #8E8E20 #C0C02B #D8D851

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E8E20#FFFFFF#000000##000000
##8E8E201.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)
#9A8804
Deuteranopia (green-blind)
#9B8B29
Tritanopia (blue-blind)
#998579
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8e8e20;
/* rgb */ color: rgb(142, 142, 32);
/* oklch */ color: oklch(62.7% 0.126 109.5);
Tailwind
colors: {
  custom: {
    50: '#b2ae65',
    500: '#8e8e20',
    950: '#000000',
  },
}
SCSS
$custom: #8e8e20;
$custom-light: #b2ae65;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8e20",
  "rgb": {
    "r": 142,
    "g": 142,
    "b": 32
  },
  "hsl": {
    "h": 60,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.62715,
    "c": 0.12566,
    "h": 109.5
  },
  "luminance": 0.25201
}

Semantic roles & 50–950 ramp

primary
#8E8E20
secondary
#4F4FBB
accent
#42E642
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8E8E20

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

Preview Lab → · Contrast checker → · Palette generator →

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