#AAA22B#AAA22B

#AAA22B is a light, vivid yellow. Relative luminance 0.346; OKLCH L 69.8% C 0.134 H 105.5°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#AAA22B
RGBrgb(170, 162, 43)
HSLhsl(56, 60%, 42%)
HSVhsv(56, 75%, 67%)
CMYKcmyk(0%, 4.7%, 74.7%, 33.3%)
CIE-LABlab(65.41, -10.70, 58.81)
CIE-LCHlch(65.41, 59.78, 100.31°)
OKLaboklab(69.81% -0.0357 0.1293)
OKLCHoklch(69.81% 0.134 105.5)
XYZxyz(29.9352, 34.5623, 7.3794)
Luminance0.3456 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA22B #2B33AA
analogous
#AA622B #AAA22B #73AA2B
triadic
#AAA22B #2BAAA2 #A22BAA
tetradic
#AAA22B #2BAA62 #2B33AA #AA2B73
square
#AAA22B #2BAA62 #2B33AA #AA2B73
split-complementary
#AAA22B #2B73AA #622BAA
monochromatic
#484512 #79731F #AAA22B #CFC743 #DCD574

Accessibility & contrast

On white

2.65
#AAA22B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.91
#AAA22B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA22B
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA22B#FFFFFF#000000##000000
##AAA22B1.002.657.917.91
#FFFFFF2.651.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C13
Deuteranopia (green-blind)
#B3A134
Tritanopia (blue-blind)
#B7978B
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #aaa22b;
/* rgb */ color: rgb(170, 162, 43);
/* oklch */ color: oklch(69.8% 0.134 105.5);
Tailwind
colors: {
  custom: {
    50: '#c7bd6e',
    500: '#aaa22b',
    950: '#000000',
  },
}
SCSS
$custom: #aaa22b;
$custom-light: #c7bd6e;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa22b",
  "rgb": {
    "r": 170,
    "g": 162,
    "b": 43
  },
  "hsl": {
    "h": 56.22,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.69811,
    "c": 0.13419,
    "h": 105.5
  },
  "luminance": 0.34561
}

Semantic roles & 50–950 ramp

primary
#AAA22B
secondary
#6E73C3
accent
#4FE345
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141208
muted
#82817B

Preview Lab

Preview with #AAA22B

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

Preview Lab → · Contrast checker → · Palette generator →

#AAA22B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva