#AAA23C#AAA23C

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

Color values

HEX#AAA23C
RGBrgb(170, 162, 60)
HSLhsl(56, 48%, 45%)
HSVhsv(56, 65%, 67%)
CMYKcmyk(0%, 4.7%, 64.7%, 33.3%)
CIE-LABlab(65.53, -9.78, 52.24)
CIE-LCHlch(65.53, 53.15, 100.61°)
OKLaboklab(69.94% -0.0314 0.1184)
OKLCHoklch(69.94% 0.123 104.8)
XYZxyz(30.3146, 34.7140, 9.3777)
Luminance0.3471 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA23C #3C44AA
analogous
#AA6B3C #AAA23C #7BAA3C
triadic
#AAA23C #3CAAA2 #A23CAA
tetradic
#AAA23C #3CAA6B #3C44AA #AA3C7B
square
#AAA23C #3CAA6B #3C44AA #AA3C7B
split-complementary
#AAA23C #3C7BAA #6B3CAA
monochromatic
#504C1C #7D772C #AAA23C #C6BE5D #D6D08B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AAA23C#FFFFFF#000000##000000
##AAA23C1.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)
#B09C2F
Deuteranopia (green-blind)
#B3A142
Tritanopia (blue-blind)
#B6978D
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #aaa23c;
/* rgb */ color: rgb(170, 162, 60);
/* oklch */ color: oklch(69.9% 0.122 104.8);
Tailwind
colors: {
  custom: {
    50: '#c6bd77',
    500: '#aaa23c',
    950: '#000000',
  },
}
SCSS
$custom: #aaa23c;
$custom-light: #c6bd77;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa23c",
  "rgb": {
    "r": 170,
    "g": 162,
    "b": 60
  },
  "hsl": {
    "h": 55.636,
    "s": 47.826,
    "l": 45.098
  },
  "oklch": {
    "l": 0.69944,
    "c": 0.1225,
    "h": 104.8
  },
  "luminance": 0.34713
}

Semantic roles & 50–950 ramp

primary
#AAA23C
secondary
#8186C0
accent
#5AD750
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131209
muted
#82817B

Preview Lab

Preview with #AAA23C

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

Preview Lab → · Contrast checker → · Palette generator →

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