#9A9020#9A9020

#9A9020 is a light, vivid yellow. Relative luminance 0.269; OKLCH L 64.3% C 0.126 H 104.0°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#9A9020
RGBrgb(154, 144, 32)
HSLhsl(55, 66%, 36%)
HSVhsv(55, 79%, 60%)
CMYKcmyk(0%, 6.5%, 79.2%, 39.6%)
CIE-LABlab(58.90, -8.76, 56.02)
CIE-LCHlch(58.90, 56.70, 98.89°)
OKLaboklab(64.27% -0.0305 0.1219)
OKLCHoklch(64.27% 0.126 104)
XYZxyz(23.5615, 26.9218, 5.3216)
Luminance0.2692 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A9020 #202A9A
analogous
#9A5320 #9A9020 #679A20
triadic
#9A9020 #209A90 #90209A
tetradic
#9A9020 #209A53 #202A9A #9A2067
square
#9A9020 #209A53 #202A9A #9A2067
split-complementary
#9A9020 #20679A #53209A
monochromatic
#35310B #676115 #9A9020 #CDBF2B #DCD158

Accessibility & contrast

On white

3.29
#9A9020 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#9A9020 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A9020
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A9020#FFFFFF#000000##000000
##9A90201.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B02
Deuteranopia (green-blind)
#A19029
Tritanopia (blue-blind)
#A6857B
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #9a9020;
/* rgb */ color: rgb(154, 144, 32);
/* oklch */ color: oklch(64.3% 0.126 104.0);
Tailwind
colors: {
  custom: {
    50: '#bbb066',
    500: '#9a9020',
    950: '#000000',
  },
}
SCSS
$custom: #9a9020;
$custom-light: #bbb066;
$custom-dark: #000000;
JSON
{
  "hex": "#9a9020",
  "rgb": {
    "r": 154,
    "g": 144,
    "b": 32
  },
  "hsl": {
    "h": 55.082,
    "s": 65.591,
    "l": 36.471
  },
  "oklch": {
    "l": 0.64271,
    "c": 0.12567,
    "h": 104
  },
  "luminance": 0.26921
}

Semantic roles & 50–950 ramp

primary
#9A9020
secondary
#565EC0
accent
#4DE93F
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #9A9020

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

Preview Lab → · Contrast checker → · Palette generator →

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