#AAA23B#AAA23B

#AAA23B is a light, vivid yellow. Relative luminance 0.347; OKLCH L 69.9% C 0.123 H 104.9°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#AAA23B
RGBrgb(170, 162, 59)
HSLhsl(56, 48%, 45%)
HSVhsv(56, 65%, 67%)
CMYKcmyk(0%, 4.7%, 65.3%, 33.3%)
CIE-LABlab(65.52, -9.85, 52.66)
CIE-LCHlch(65.52, 53.57, 100.59°)
OKLaboklab(69.94% -0.0316 0.1192)
OKLCHoklch(69.94% 0.123 104.9)
XYZxyz(30.2884, 34.7036, 9.2398)
Luminance0.3470 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA23B #3B43AA
analogous
#AA6B3B #AAA23B #7AAA3B
triadic
#AAA23B #3BAAA2 #A23BAA
tetradic
#AAA23B #3BAA6B #3B43AA #AA3B7A
square
#AAA23B #3BAA6B #3B43AA #AA3B7A
split-complementary
#AAA23B #3B7AAA #6B3BAA
monochromatic
#4F4B1B #7D772B #AAA23B #C6BF5C #D6D189

Accessibility & contrast

On white

2.64
#AAA23B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#AAA23B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA23B
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA23B#FFFFFF#000000##000000
##AAA23B1.002.647.947.94
#FFFFFF2.641.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C2E
Deuteranopia (green-blind)
#B3A141
Tritanopia (blue-blind)
#B6978D
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #aaa23b;
/* rgb */ color: rgb(170, 162, 59);
/* oklch */ color: oklch(69.9% 0.123 104.9);
Tailwind
colors: {
  custom: {
    50: '#c6bd76',
    500: '#aaa23b',
    950: '#000000',
  },
}
SCSS
$custom: #aaa23b;
$custom-light: #c6bd76;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa23b",
  "rgb": {
    "r": 170,
    "g": 162,
    "b": 59
  },
  "hsl": {
    "h": 55.676,
    "s": 48.472,
    "l": 44.902
  },
  "oklch": {
    "l": 0.69935,
    "c": 0.12328,
    "h": 104.9
  },
  "luminance": 0.34702
}

Semantic roles & 50–950 ramp

primary
#AAA23B
secondary
#8085C0
accent
#5AD850
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131209
muted
#82817B

Preview Lab

Preview with #AAA23B

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

Preview Lab → · Contrast checker → · Palette generator →

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