#AAA23D#AAA23D

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

Color values

HEX#AAA23D
RGBrgb(170, 162, 61)
HSLhsl(56, 47%, 45%)
HSVhsv(56, 64%, 67%)
CMYKcmyk(0%, 4.7%, 64.1%, 33.3%)
CIE-LABlab(65.53, -9.72, 51.81)
CIE-LCHlch(65.53, 52.72, 100.63°)
OKLaboklab(69.95% -0.0311 0.1177)
OKLCHoklch(69.95% 0.122 104.8)
XYZxyz(30.3413, 34.7247, 9.5183)
Luminance0.3472 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA23D #3D45AA
analogous
#AA6B3D #AAA23D #7CAA3D
triadic
#AAA23D #3DAAA2 #A23DAA
tetradic
#AAA23D #3DAA6B #3D45AA #AA3D7C
square
#AAA23D #3DAA6B #3D45AA #AA3D7C
split-complementary
#AAA23D #3D7CAA #6B3DAA
monochromatic
#504C1D #7D772D #AAA23D #C5BE5F #D6D08C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AAA23D#FFFFFF#000000##000000
##AAA23D1.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)
#B09C31
Deuteranopia (green-blind)
#B2A143
Tritanopia (blue-blind)
#B6978D
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #aaa23d;
/* rgb */ color: rgb(170, 162, 61);
/* oklch */ color: oklch(70.0% 0.122 104.8);
Tailwind
colors: {
  custom: {
    50: '#c6bd77',
    500: '#aaa23d',
    950: '#000000',
  },
}
SCSS
$custom: #aaa23d;
$custom-light: #c6bd77;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa23d",
  "rgb": {
    "r": 170,
    "g": 162,
    "b": 61
  },
  "hsl": {
    "h": 55.596,
    "s": 47.186,
    "l": 45.294
  },
  "oklch": {
    "l": 0.69953,
    "c": 0.12171,
    "h": 104.8
  },
  "luminance": 0.34724
}

Semantic roles & 50–950 ramp

primary
#AAA23D
secondary
#8287C0
accent
#5BD751
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131209
muted
#82817B

Preview Lab

Preview with #AAA23D

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

Preview Lab → · Contrast checker → · Palette generator →

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