#8A9E20#8A9E20

#8A9E20 is a light, vivid yellow. Relative luminance 0.300; OKLCH L 66.1% C 0.145 H 118.7°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#8A9E20
RGBrgb(138, 158, 32)
HSLhsl(70, 66%, 37%)
HSVhsv(70, 80%, 62%)
CMYKcmyk(12.7%, 0%, 79.7%, 38%)
CIE-LABlab(61.62, -23.13, 57.98)
CIE-LCHlch(61.62, 62.42, 111.75°)
OKLaboklab(66.13% -0.0695 0.1267)
OKLCHoklch(66.13% 0.145 118.7)
XYZxyz(22.9693, 29.9615, 5.9393)
Luminance0.2996 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9E20 #34209E
analogous
#9E7320 #8A9E20 #4B9E20
triadic
#8A9E20 #208A9E #9E208A
tetradic
#8A9E20 #209E73 #34209E #9E204B
square
#8A9E20 #209E73 #34209E #9E204B
split-complementary
#8A9E20 #204B9E #73209E
monochromatic
#31380B #5E6B16 #8A9E20 #B6D12A #C9DE5B

Accessibility & contrast

On white

3.00
#8A9E20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#8A9E20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9E20
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9E20#FFFFFF#000000##000000
##8A9E201.003.006.996.99
#FFFFFF3.001.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99500
Deuteranopia (green-blind)
#A7952C
Tritanopia (blue-blind)
#939587
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8a9e20;
/* rgb */ color: rgb(138, 158, 32);
/* oklch */ color: oklch(66.1% 0.145 118.7);
Tailwind
colors: {
  custom: {
    50: '#b0ba67',
    500: '#8a9e20',
    950: '#000000',
  },
}
SCSS
$custom: #8a9e20;
$custom-light: #b0ba67;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9e20",
  "rgb": {
    "r": 138,
    "g": 158,
    "b": 32
  },
  "hsl": {
    "h": 69.524,
    "s": 66.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.66126,
    "c": 0.14454,
    "h": 118.7
  },
  "luminance": 0.29961
}

Semantic roles & 50–950 ramp

primary
#8A9E20
secondary
#6958C2
accent
#3FE95A
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8A9E20

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

Preview Lab → · Contrast checker → · Palette generator →

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