#8E9520#8E9520

#8E9520 is a light, vivid yellow. Relative luminance 0.274; OKLCH L 64.3% C 0.133 H 113.1°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#8E9520
RGBrgb(142, 149, 32)
HSLhsl(64, 65%, 35%)
HSVhsv(64, 79%, 58%)
CMYKcmyk(4.7%, 0%, 78.5%, 41.6%)
CIE-LABlab(59.30, -16.80, 55.99)
CIE-LCHlch(59.30, 58.46, 106.70°)
OKLaboklab(64.34% -0.0522 0.1224)
OKLCHoklch(64.34% 0.133 113.1)
XYZxyz(22.1642, 27.3505, 5.4778)
Luminance0.2735 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E9520 #272095
analogous
#956120 #8E9520 #539520
triadic
#8E9520 #208E95 #95208E
tetradic
#8E9520 #209561 #272095 #952053
square
#8E9520 #209561 #272095 #952053
split-complementary
#8E9520 #205395 #612095
monochromatic
#2E300A #5E6315 #8E9520 #BEC72B #D2DA55

Accessibility & contrast

On white

3.25
#8E9520 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#8E9520 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E9520
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E9520#FFFFFF#000000##000000
##8E95201.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E00
Deuteranopia (green-blind)
#A1902B
Tritanopia (blue-blind)
#988C7F
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8e9520;
/* rgb */ color: rgb(142, 149, 32);
/* oklch */ color: oklch(64.3% 0.133 113.1);
Tailwind
colors: {
  custom: {
    50: '#b2b466',
    500: '#8e9520',
    950: '#000000',
  },
}
SCSS
$custom: #8e9520;
$custom-light: #b2b466;
$custom-dark: #000000;
JSON
{
  "hex": "#8e9520",
  "rgb": {
    "r": 142,
    "g": 149,
    "b": 32
  },
  "hsl": {
    "h": 63.59,
    "s": 64.641,
    "l": 35.49
  },
  "oklch": {
    "l": 0.64336,
    "c": 0.13305,
    "h": 113.1
  },
  "luminance": 0.2735
}

Semantic roles & 50–950 ramp

primary
#8E9520
secondary
#5953BE
accent
#40E84A
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8E9520

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

Preview Lab → · Contrast checker → · Palette generator →

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