#AAA131#AAA131

#AAA131 is a light, vivid yellow. Relative luminance 0.343; OKLCH L 69.6% C 0.130 H 104.7°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#AAA131
RGBrgb(170, 161, 49)
HSLhsl(56, 55%, 43%)
HSVhsv(56, 71%, 67%)
CMYKcmyk(0%, 5.3%, 71.2%, 33.3%)
CIE-LABlab(65.17, -9.89, 56.37)
CIE-LCHlch(65.17, 57.23, 99.95°)
OKLaboklab(69.63% -0.0328 0.1253)
OKLCHoklch(69.63% 0.13 104.7)
XYZxyz(29.8780, 34.2587, 7.9439)
Luminance0.3426 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA131 #313AAA
analogous
#AA6431 #AAA131 #76AA31
triadic
#AAA131 #31AAA1 #A131AA
tetradic
#AAA131 #31AA64 #313AAA #AA3176
square
#AAA131 #31AA64 #313AAA #AA3176
split-complementary
#AAA131 #3176AA #6431AA
monochromatic
#4B4716 #7A7423 #AAA131 #CCC24D #D9D27C

Accessibility & contrast

On white

2.67
#AAA131 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#AAA131 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA131
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA131#FFFFFF#000000##000000
##AAA1311.002.677.857.85
#FFFFFF2.671.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B1F
Deuteranopia (green-blind)
#B2A039
Tritanopia (blue-blind)
#B7968B
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #aaa131;
/* rgb */ color: rgb(170, 161, 49);
/* oklch */ color: oklch(69.6% 0.130 104.7);
Tailwind
colors: {
  custom: {
    50: '#c7bc71',
    500: '#aaa131',
    950: '#000000',
  },
}
SCSS
$custom: #aaa131;
$custom-light: #c7bc71;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa131",
  "rgb": {
    "r": 170,
    "g": 161,
    "b": 49
  },
  "hsl": {
    "h": 55.537,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.69633,
    "c": 0.12952,
    "h": 104.7
  },
  "luminance": 0.34258
}

Semantic roles & 50–950 ramp

primary
#AAA131
secondary
#757BC2
accent
#54DF49
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #AAA131

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

Preview Lab → · Contrast checker → · Palette generator →

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