#AAA23E#AAA23E

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

Color values

HEX#AAA23E
RGBrgb(170, 162, 62)
HSLhsl(56, 47%, 45%)
HSVhsv(56, 64%, 67%)
CMYKcmyk(0%, 4.7%, 63.5%, 33.3%)
CIE-LABlab(65.54, -9.65, 51.38)
CIE-LCHlch(65.54, 52.28, 100.64°)
OKLaboklab(69.96% -0.0308 0.1169)
OKLCHoklch(69.96% 0.121 104.7)
XYZxyz(30.3685, 34.7356, 9.6615)
Luminance0.3473 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA23E #3E46AA
analogous
#AA6C3E #AAA23E #7CAA3E
triadic
#AAA23E #3EAAA2 #A23EAA
tetradic
#AAA23E #3EAA6C #3E46AA #AA3E7C
square
#AAA23E #3EAA6C #3E46AA #AA3E7C
split-complementary
#AAA23E #3E7CAA #6C3EAA
monochromatic
#504D1D #7D772E #AAA23E #C5BE60 #D5D08D

Accessibility & contrast

On white

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

On black

7.95
#AAA23E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA23E
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA23E#FFFFFF#000000##000000
##AAA23E1.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09D32
Deuteranopia (green-blind)
#B2A144
Tritanopia (blue-blind)
#B6988D
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #aaa23e;
/* rgb */ color: rgb(170, 162, 62);
/* oklch */ color: oklch(70.0% 0.121 104.7);
Tailwind
colors: {
  custom: {
    50: '#c6bd78',
    500: '#aaa23e',
    950: '#000000',
  },
}
SCSS
$custom: #aaa23e;
$custom-light: #c6bd78;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa23e",
  "rgb": {
    "r": 170,
    "g": 162,
    "b": 62
  },
  "hsl": {
    "h": 55.556,
    "s": 46.552,
    "l": 45.49
  },
  "oklch": {
    "l": 0.69963,
    "c": 0.1209,
    "h": 104.7
  },
  "luminance": 0.34735
}

Semantic roles & 50–950 ramp

primary
#AAA23E
secondary
#8488C0
accent
#5BD652
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131209
muted
#82817B

Preview Lab

Preview with #AAA23E

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

Preview Lab → · Contrast checker → · Palette generator →

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