#8E8D20#8E8D20

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

Color values

HEX#8E8D20
RGBrgb(142, 141, 32)
HSLhsl(59, 63%, 34%)
HSVhsv(59, 77%, 56%)
CMYKcmyk(0%, 0.7%, 77.5%, 44.3%)
CIE-LABlab(56.98, -12.59, 53.88)
CIE-LCHlch(56.98, 55.33, 103.15°)
OKLaboklab(62.49% -0.0405 0.1179)
OKLCHoklch(62.49% 0.125 109)
XYZxyz(20.9417, 24.9055, 5.0703)
Luminance0.2490 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8D20 #20218E
analogous
#8E5620 #8E8D20 #588E20
triadic
#8E8D20 #208E8D #8D208E
tetradic
#8E8D20 #208E56 #20218E #8E2058
square
#8E8D20 #208E56 #20218E #8E2058
split-complementary
#8E8D20 #20588E #56208E
monochromatic
#2A2A09 #5C5B15 #8E8D20 #C0BF2B #D8D651

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E8D20#FFFFFF#000000##000000
##8E8D201.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)
#998704
Deuteranopia (green-blind)
#9A8A29
Tritanopia (blue-blind)
#998379
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8e8d20;
/* rgb */ color: rgb(142, 141, 32);
/* oklch */ color: oklch(62.5% 0.125 109.0);
Tailwind
colors: {
  custom: {
    50: '#b2ae65',
    500: '#8e8d20',
    950: '#000000',
  },
}
SCSS
$custom: #8e8d20;
$custom-light: #b2ae65;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8d20",
  "rgb": {
    "r": 142,
    "g": 141,
    "b": 32
  },
  "hsl": {
    "h": 59.455,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.62485,
    "c": 0.12465,
    "h": 109
  },
  "luminance": 0.24905
}

Semantic roles & 50–950 ramp

primary
#8E8D20
secondary
#4F50BB
accent
#43E642
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8E8D20

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

Preview Lab → · Contrast checker → · Palette generator →

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