#9AA021#9AA021

#9AA021 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#9AA021
RGBrgb(154, 160, 33)
HSLhsl(63, 66%, 38%)
HSVhsv(63, 79%, 63%)
CMYKcmyk(3.8%, 0%, 79.4%, 37.3%)
CIE-LABlab(63.44, -17.14, 59.78)
CIE-LCHlch(63.44, 62.19, 106.00°)
OKLaboklab(67.9% -0.0537 0.1302)
OKLCHoklch(67.9% 0.141 112.4)
XYZxyz(26.1726, 32.1221, 6.2600)
Luminance0.3212 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AA021 #2721A0
analogous
#A06721 #9AA021 #5AA021
triadic
#9AA021 #219AA0 #A0219A
tetradic
#9AA021 #21A067 #2721A0 #A0215A
square
#9AA021 #21A067 #2721A0 #A0215A
split-complementary
#9AA021 #215AA0 #6721A0
monochromatic
#383B0C #696D17 #9AA021 #CBD32B #D8DE5E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9AA021#FFFFFF#000000##000000
##9AA0211.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)
#AD9B2D
Tritanopia (blue-blind)
#A59689
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #9aa021;
/* rgb */ color: rgb(154, 160, 33);
/* oklch */ color: oklch(67.9% 0.141 112.4);
Tailwind
colors: {
  custom: {
    50: '#bbbb68',
    500: '#9aa021',
    950: '#000000',
  },
}
SCSS
$custom: #9aa021;
$custom-light: #bbbb68;
$custom-dark: #000000;
JSON
{
  "hex": "#9aa021",
  "rgb": {
    "r": 154,
    "g": 160,
    "b": 33
  },
  "hsl": {
    "h": 62.835,
    "s": 65.803,
    "l": 37.843
  },
  "oklch": {
    "l": 0.67899,
    "c": 0.14081,
    "h": 112.4
  },
  "luminance": 0.32121
}

Semantic roles & 50–950 ramp

primary
#9AA021
secondary
#5F5BC2
accent
#3FE947
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #9AA021

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

Preview Lab → · Contrast checker → · Palette generator →

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