#8A9020#8A9020

#8A9020 is a light, vivid yellow. Relative luminance 0.255; OKLCH L 62.8% C 0.129 H 112.7°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#8A9020
RGBrgb(138, 144, 32)
HSLhsl(63, 64%, 35%)
HSVhsv(63, 78%, 56%)
CMYKcmyk(4.2%, 0%, 77.8%, 43.5%)
CIE-LABlab(57.52, -15.98, 54.24)
CIE-LCHlch(57.52, 56.55, 106.41°)
OKLaboklab(62.83% -0.0497 0.1188)
OKLCHoklch(62.83% 0.129 112.7)
XYZxyz(20.7159, 25.4546, 5.1882)
Luminance0.2545 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9020 #262090
analogous
#905E20 #8A9020 #529020
triadic
#8A9020 #208A90 #90208A
tetradic
#8A9020 #20905E #262090 #902052
square
#8A9020 #20905E #262090 #902052
split-complementary
#8A9020 #205290 #5E2090
monochromatic
#2A2C0A #5A5E15 #8A9020 #BAC22B #D1D952

Accessibility & contrast

On white

3.45
#8A9020 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#8A9020 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9020
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9020#FFFFFF#000000##000000
##8A90201.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8903
Deuteranopia (green-blind)
#9B8B2A
Tritanopia (blue-blind)
#94877B
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8a9020;
/* rgb */ color: rgb(138, 144, 32);
/* oklch */ color: oklch(62.8% 0.129 112.7);
Tailwind
colors: {
  custom: {
    50: '#afb065',
    500: '#8a9020',
    950: '#000000',
  },
}
SCSS
$custom: #8a9020;
$custom-light: #afb065;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9020",
  "rgb": {
    "r": 138,
    "g": 144,
    "b": 32
  },
  "hsl": {
    "h": 63.214,
    "s": 63.636,
    "l": 34.51
  },
  "oklch": {
    "l": 0.62828,
    "c": 0.12879,
    "h": 112.7
  },
  "luminance": 0.25454
}

Semantic roles & 50–950 ramp

primary
#8A9020
secondary
#5650BC
accent
#41E74A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8A9020

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

Preview Lab → · Contrast checker → · Palette generator →

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