#AAA231#AAA231

#AAA231 is a light, vivid yellow. Relative luminance 0.346; OKLCH L 69.9% C 0.130 H 105.3°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#AAA231
RGBrgb(170, 162, 49)
HSLhsl(56, 55%, 43%)
HSVhsv(56, 71%, 67%)
CMYKcmyk(0%, 4.7%, 71.2%, 33.3%)
CIE-LABlab(65.44, -10.42, 56.64)
CIE-LCHlch(65.44, 57.59, 100.42°)
OKLaboklab(69.85% -0.0343 0.1259)
OKLCHoklch(69.85% 0.13 105.3)
XYZxyz(30.0535, 34.6096, 8.0024)
Luminance0.3461 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA231 #3139AA
analogous
#AA6531 #AAA231 #75AA31
triadic
#AAA231 #31AAA2 #A231AA
tetradic
#AAA231 #31AA65 #3139AA #AA3175
square
#AAA231 #31AA65 #3139AA #AA3175
split-complementary
#AAA231 #3175AA #6531AA
monochromatic
#4B4716 #7A7523 #AAA231 #CCC34D #D9D37C

Accessibility & contrast

On white

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

On black

7.92
#AAA231 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA231
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA231#FFFFFF#000000##000000
##AAA2311.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C1F
Deuteranopia (green-blind)
#B3A139
Tritanopia (blue-blind)
#B7978C
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #aaa231;
/* rgb */ color: rgb(170, 162, 49);
/* oklch */ color: oklch(69.9% 0.130 105.3);
Tailwind
colors: {
  custom: {
    50: '#c7bd71',
    500: '#aaa231',
    950: '#000000',
  },
}
SCSS
$custom: #aaa231;
$custom-light: #c7bd71;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa231",
  "rgb": {
    "r": 170,
    "g": 162,
    "b": 49
  },
  "hsl": {
    "h": 56.033,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.69853,
    "c": 0.13046,
    "h": 105.3
  },
  "luminance": 0.34608
}

Semantic roles & 50–950 ramp

primary
#AAA231
secondary
#757AC2
accent
#53DF49
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #AAA231

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

Preview Lab → · Contrast checker → · Palette generator →

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