#8A9F20#8A9F20

#8A9F20 is a light, vivid yellow. Relative luminance 0.303; OKLCH L 66.4% C 0.146 H 119.1°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#8A9F20
RGBrgb(138, 159, 32)
HSLhsl(70, 66%, 37%)
HSVhsv(70, 80%, 62%)
CMYKcmyk(13.2%, 0%, 79.9%, 37.6%)
CIE-LABlab(61.92, -23.63, 58.25)
CIE-LCHlch(61.92, 62.86, 112.08°)
OKLaboklab(66.36% -0.0709 0.1273)
OKLCHoklch(66.36% 0.146 119.1)
XYZxyz(23.1406, 30.3040, 5.9964)
Luminance0.3030 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9F20 #35209F
analogous
#9F7420 #8A9F20 #4B9F20
triadic
#8A9F20 #208A9F #9F208A
tetradic
#8A9F20 #209F74 #35209F #9F204B
square
#8A9F20 #209F74 #35209F #9F204B
split-complementary
#8A9F20 #204B9F #74209F
monochromatic
#32390B #5E6C16 #8A9F20 #B6D22A #C8DE5B

Accessibility & contrast

On white

2.97
#8A9F20 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#8A9F20 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A9F20
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9F20#FFFFFF#000000##000000
##8A9F201.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9600
Deuteranopia (green-blind)
#A7962D
Tritanopia (blue-blind)
#939688
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #8a9f20;
/* rgb */ color: rgb(138, 159, 32);
/* oklch */ color: oklch(66.4% 0.146 119.1);
Tailwind
colors: {
  custom: {
    50: '#b0bb68',
    500: '#8a9f20',
    950: '#000000',
  },
}
SCSS
$custom: #8a9f20;
$custom-light: #b0bb68;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9f20",
  "rgb": {
    "r": 138,
    "g": 159,
    "b": 32
  },
  "hsl": {
    "h": 69.921,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.66363,
    "c": 0.14569,
    "h": 119.1
  },
  "luminance": 0.30304
}

Semantic roles & 50–950 ramp

primary
#8A9F20
secondary
#6A59C2
accent
#3EE95B
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8A9F20

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

Preview Lab → · Contrast checker → · Palette generator →

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