#AAA12D#AAA12D

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

Color values

HEX#AAA12D
RGBrgb(170, 161, 45)
HSLhsl(56, 58%, 42%)
HSVhsv(56, 74%, 67%)
CMYKcmyk(0%, 5.3%, 73.5%, 33.3%)
CIE-LABlab(65.14, -10.09, 57.85)
CIE-LCHlch(65.14, 58.72, 99.89°)
OKLaboklab(69.6% -0.0338 0.1277)
OKLCHoklch(69.6% 0.132 104.8)
XYZxyz(29.7973, 34.2264, 7.5189)
Luminance0.3422 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA12D #2D36AA
analogous
#AA632D #AAA12D #75AA2D
triadic
#AAA12D #2DAAA1 #A12DAA
tetradic
#AAA12D #2DAA63 #2D36AA #AA2D75
square
#AAA12D #2DAA63 #2D36AA #AA2D75
split-complementary
#AAA12D #2D75AA #632DAA
monochromatic
#494513 #7A7320 #AAA12D #CEC446 #DBD477

Accessibility & contrast

On white

2.68
#AAA12D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##AAA12D#FFFFFF#000000##000000
##AAA12D1.002.687.857.85
#FFFFFF2.681.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #aaa12d;
/* rgb */ color: rgb(170, 161, 45);
/* oklch */ color: oklch(69.6% 0.132 104.8);
Tailwind
colors: {
  custom: {
    50: '#c7bc6e',
    500: '#aaa12d',
    950: '#000000',
  },
}
SCSS
$custom: #aaa12d;
$custom-light: #c7bc6e;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa12d",
  "rgb": {
    "r": 170,
    "g": 161,
    "b": 45
  },
  "hsl": {
    "h": 55.68,
    "s": 58.14,
    "l": 42.157
  },
  "oklch": {
    "l": 0.69604,
    "c": 0.13207,
    "h": 104.8
  },
  "luminance": 0.34225
}

Semantic roles & 50–950 ramp

primary
#AAA12D
secondary
#7076C3
accent
#52E146
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #AAA12D

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

Preview Lab → · Contrast checker → · Palette generator →

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