#9AA020#9AA020

#9AA020 is a light, vivid yellow. Relative luminance 0.321; OKLCH L 67.9% C 0.141 H 112.4°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#9AA020
RGBrgb(154, 160, 32)
HSLhsl(63, 67%, 38%)
HSVhsv(63, 80%, 63%)
CMYKcmyk(3.8%, 0%, 80%, 37.3%)
CIE-LABlab(63.44, -17.18, 60.07)
CIE-LCHlch(63.44, 62.48, 105.96°)
OKLaboklab(67.89% -0.0539 0.1306)
OKLCHoklch(67.89% 0.141 112.4)
XYZxyz(26.1588, 32.1166, 6.1874)
Luminance0.3212 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AA020 #2620A0
analogous
#A06620 #9AA020 #5AA020
triadic
#9AA020 #209AA0 #A0209A
tetradic
#9AA020 #20A066 #2620A0 #A0205A
square
#9AA020 #20A066 #2620A0 #A0205A
split-complementary
#9AA020 #205AA0 #6620A0
monochromatic
#383A0C #696D16 #9AA020 #CBD32A #D8DE5C

Accessibility & contrast

On white

2.83
#9AA020 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#9AA020 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9AA020
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9AA020#FFFFFF#000000##000000
##9AA0201.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9800
Deuteranopia (green-blind)
#AD9B2C
Tritanopia (blue-blind)
#A59689
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #9aa020;
/* rgb */ color: rgb(154, 160, 32);
/* oklch */ color: oklch(67.9% 0.141 112.4);
Tailwind
colors: {
  custom: {
    50: '#bbbb68',
    500: '#9aa020',
    950: '#000000',
  },
}
SCSS
$custom: #9aa020;
$custom-light: #bbbb68;
$custom-dark: #000000;
JSON
{
  "hex": "#9aa020",
  "rgb": {
    "r": 154,
    "g": 160,
    "b": 32
  },
  "hsl": {
    "h": 62.813,
    "s": 66.667,
    "l": 37.647
  },
  "oklch": {
    "l": 0.67894,
    "c": 0.14129,
    "h": 112.4
  },
  "luminance": 0.32116
}

Semantic roles & 50–950 ramp

primary
#9AA020
secondary
#5E59C3
accent
#3EEA46
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #9AA020

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

Preview Lab → · Contrast checker → · Palette generator →

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