#AAA02C#AAA02C

#AAA02C is a light, vivid yellow. Relative luminance 0.339; OKLCH L 69.4% C 0.132 H 104.3°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#AAA02C
RGBrgb(170, 160, 44)
HSLhsl(55, 59%, 42%)
HSVhsv(55, 74%, 67%)
CMYKcmyk(0%, 5.9%, 74.1%, 33.3%)
CIE-LABlab(64.86, -9.60, 57.94)
CIE-LCHlch(64.86, 58.73, 99.41°)
OKLaboklab(69.38% -0.0326 0.1277)
OKLCHoklch(69.38% 0.132 104.3)
XYZxyz(29.6043, 33.8707, 7.3607)
Luminance0.3387 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA02C #2C36AA
analogous
#AA612C #AAA02C #75AA2C
triadic
#AAA02C #2CAAA0 #A02CAA
tetradic
#AAA02C #2CAA61 #2C36AA #AA2C75
square
#AAA02C #2CAA61 #2C36AA #AA2C75
split-complementary
#AAA02C #2C75AA #612CAA
monochromatic
#494413 #79721F #AAA02C #CFC444 #DBD375

Accessibility & contrast

On white

2.70
#AAA02C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#AAA02C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA02C
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA02C#FFFFFF#000000##000000
##AAA02C1.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9A16
Deuteranopia (green-blind)
#B2A034
Tritanopia (blue-blind)
#B7958A
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #aaa02c;
/* rgb */ color: rgb(170, 160, 44);
/* oklch */ color: oklch(69.4% 0.132 104.3);
Tailwind
colors: {
  custom: {
    50: '#c7bb6e',
    500: '#aaa02c',
    950: '#000000',
  },
}
SCSS
$custom: #aaa02c;
$custom-light: #c7bb6e;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa02c",
  "rgb": {
    "r": 170,
    "g": 160,
    "b": 44
  },
  "hsl": {
    "h": 55.238,
    "s": 58.879,
    "l": 41.961
  },
  "oklch": {
    "l": 0.69378,
    "c": 0.13177,
    "h": 104.3
  },
  "luminance": 0.3387
}

Semantic roles & 50–950 ramp

primary
#AAA02C
secondary
#6F75C3
accent
#52E246
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141108
muted
#82807B

Preview Lab

Preview with #AAA02C

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

Preview Lab → · Contrast checker → · Palette generator →

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