#AAA42C#AAA42C

#AAA42C is a light, vivid yellow. Relative luminance 0.353; OKLCH L 70.3% C 0.135 H 106.5°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#AAA42C
RGBrgb(170, 164, 44)
HSLhsl(57, 59%, 42%)
HSVhsv(57, 74%, 67%)
CMYKcmyk(0%, 3.5%, 74.1%, 33.3%)
CIE-LABlab(65.97, -11.70, 58.99)
CIE-LCHlch(65.97, 60.14, 101.22°)
OKLaboklab(70.26% -0.0385 0.1299)
OKLCHoklch(70.26% 0.135 106.5)
XYZxyz(30.3089, 35.2799, 7.5956)
Luminance0.3528 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA42C #2C32AA
analogous
#AA652C #AAA42C #71AA2C
triadic
#AAA42C #2CAAA4 #A42CAA
tetradic
#AAA42C #2CAA65 #2C32AA #AA2C71
square
#AAA42C #2CAA65 #2C32AA #AA2C71
split-complementary
#AAA42C #2C71AA #652CAA
monochromatic
#494613 #79751F #AAA42C #CFC844 #DBD675

Accessibility & contrast

On white

2.61
#AAA42C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.06
#AAA42C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA42C
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA42C#FFFFFF#000000##000000
##AAA42C1.002.618.068.06
#FFFFFF2.611.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E14
Deuteranopia (green-blind)
#B5A235
Tritanopia (blue-blind)
#B7998D
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #aaa42c;
/* rgb */ color: rgb(170, 164, 44);
/* oklch */ color: oklch(70.3% 0.135 106.5);
Tailwind
colors: {
  custom: {
    50: '#c7be6e',
    500: '#aaa42c',
    950: '#000000',
  },
}
SCSS
$custom: #aaa42c;
$custom-light: #c7be6e;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa42c",
  "rgb": {
    "r": 170,
    "g": 164,
    "b": 44
  },
  "hsl": {
    "h": 57.143,
    "s": 58.879,
    "l": 41.961
  },
  "oklch": {
    "l": 0.70259,
    "c": 0.13547,
    "h": 106.5
  },
  "luminance": 0.35279
}

Semantic roles & 50–950 ramp

primary
#AAA42C
secondary
#6F73C3
accent
#4DE246
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #AAA42C

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

Preview Lab → · Contrast checker → · Palette generator →

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