#AAA42B#AAA42B

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

Color values

HEX#AAA42B
RGBrgb(170, 164, 43)
HSLhsl(57, 60%, 42%)
HSVhsv(57, 75%, 67%)
CMYKcmyk(0%, 3.5%, 74.7%, 33.3%)
CIE-LABlab(65.96, -11.75, 59.34)
CIE-LCHlch(65.96, 60.49, 101.20°)
OKLaboklab(70.25% -0.0387 0.1305)
OKLCHoklch(70.25% 0.136 106.5)
XYZxyz(30.2903, 35.2725, 7.4977)
Luminance0.3527 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA42B #2B31AA
analogous
#AA642B #AAA42B #71AA2B
triadic
#AAA42B #2BAAA4 #A42BAA
tetradic
#AAA42B #2BAA64 #2B31AA #AA2B71
square
#AAA42B #2BAA64 #2B31AA #AA2B71
split-complementary
#AAA42B #2B71AA #642BAA
monochromatic
#484612 #79751F #AAA42B #CFC943 #DCD774

Accessibility & contrast

On white

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

On black

8.05
#AAA42B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA42B
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA42B#FFFFFF#000000##000000
##AAA42B1.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #aaa42b;
/* rgb */ color: rgb(170, 164, 43);
/* oklch */ color: oklch(70.3% 0.136 106.5);
Tailwind
colors: {
  custom: {
    50: '#c7be6e',
    500: '#aaa42b',
    950: '#000000',
  },
}
SCSS
$custom: #aaa42b;
$custom-light: #c7be6e;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa42b",
  "rgb": {
    "r": 170,
    "g": 164,
    "b": 43
  },
  "hsl": {
    "h": 57.165,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.70252,
    "c": 0.13607,
    "h": 106.5
  },
  "luminance": 0.35271
}

Semantic roles & 50–950 ramp

primary
#AAA42B
secondary
#6E72C3
accent
#4CE345
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141208
muted
#82817B

Preview Lab

Preview with #AAA42B

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

Preview Lab → · Contrast checker → · Palette generator →

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