#8A9B20#8A9B20

#8A9B20 is a light, vivid yellow. Relative luminance 0.289; OKLCH L 65.4% C 0.141 H 117.6°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#8A9B20
RGBrgb(138, 155, 32)
HSLhsl(68, 66%, 37%)
HSVhsv(68, 79%, 61%)
CMYKcmyk(11%, 0%, 79.4%, 39.2%)
CIE-LABlab(60.74, -21.63, 57.18)
CIE-LCHlch(60.74, 61.14, 110.72°)
OKLaboklab(65.42% -0.0653 0.125)
OKLCHoklch(65.42% 0.141 117.6)
XYZxyz(22.4638, 28.9505, 5.7708)
Luminance0.2895 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9B20 #31209B
analogous
#9B6F20 #8A9B20 #4D9B20
triadic
#8A9B20 #208A9B #9B208A
tetradic
#8A9B20 #209B6F #31209B #9B204D
square
#8A9B20 #209B6F #31209B #9B204D
split-complementary
#8A9B20 #204D9B #6F209B
monochromatic
#30360B #5D6816 #8A9B20 #B7CE2A #CADD59

Accessibility & contrast

On white

3.09
#8A9B20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#8A9B20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9B20
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9B20#FFFFFF#000000##000000
##8A9B201.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69200
Deuteranopia (green-blind)
#A4932C
Tritanopia (blue-blind)
#939284
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #8a9b20;
/* rgb */ color: rgb(138, 155, 32);
/* oklch */ color: oklch(65.4% 0.141 117.6);
Tailwind
colors: {
  custom: {
    50: '#b0b867',
    500: '#8a9b20',
    950: '#000000',
  },
}
SCSS
$custom: #8a9b20;
$custom-light: #b0b867;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9b20",
  "rgb": {
    "r": 138,
    "g": 155,
    "b": 32
  },
  "hsl": {
    "h": 68.293,
    "s": 65.775,
    "l": 36.667
  },
  "oklch": {
    "l": 0.65415,
    "c": 0.14109,
    "h": 117.6
  },
  "luminance": 0.2895
}

Semantic roles & 50–950 ramp

primary
#8A9B20
secondary
#6556C1
accent
#3FE957
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8A9B20

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

Preview Lab → · Contrast checker → · Palette generator →

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