#AAC02B#AAC02B

#AAC02B is a light, vivid yellow. Relative luminance 0.464; OKLCH L 76.5% C 0.165 H 118.1°. Best body text is #000000 at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#AAC02B
RGBrgb(170, 192, 43)
HSLhsl(69, 63%, 46%)
HSVhsv(69, 78%, 75%)
CMYKcmyk(11.5%, 0%, 77.6%, 24.7%)
CIE-LABlab(73.82, -25.84, 66.60)
CIE-LCHlch(73.82, 71.44, 111.20°)
OKLaboklab(76.55% -0.0778 0.1459)
OKLCHoklch(76.55% 0.165 118.1)
XYZxyz(35.8641, 46.4201, 9.3557)
Luminance0.4642 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAC02B #412BC0
analogous
#C08B2B #AAC02B #5FC02B
triadic
#AAC02B #2BAAC0 #C02BAA
tetradic
#AAC02B #2BC08B #412BC0 #C02B5F
square
#AAC02B #2BC08B #412BC0 #C02B5F
split-complementary
#AAC02B #2B5FC0 #8B2BC0
monochromatic
#515C15 #7E8E20 #AAC02B #C4D850 #D5E382

Accessibility & contrast

On white

2.04
#AAC02B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.28
#AAC02B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAC02B
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAC02B#FFFFFF#000000##000000
##AAC02B1.002.0410.2810.28
#FFFFFF2.041.0021.0021.00
#00000010.2821.001.001.00
##00000010.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB500
Deuteranopia (green-blind)
#CBB639
Tritanopia (blue-blind)
#B5B5A4
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #aac02b;
/* rgb */ color: rgb(170, 192, 43);
/* oklch */ color: oklch(76.5% 0.165 118.1);
Tailwind
colors: {
  custom: {
    50: '#c7d371',
    500: '#aac02b',
    950: '#000000',
  },
}
SCSS
$custom: #aac02b;
$custom-light: #c7d371;
$custom-dark: #000000;
JSON
{
  "hex": "#aac02b",
  "rgb": {
    "r": 170,
    "g": 192,
    "b": 43
  },
  "hsl": {
    "h": 68.859,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.76547,
    "c": 0.16532,
    "h": 118.1
  },
  "luminance": 0.4642
}

Semantic roles & 50–950 ramp

primary
#AAC02B
secondary
#877BCC
accent
#41E65A
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141408
muted
#82827B

Preview Lab

Preview with #AAC02B

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

Preview Lab → · Contrast checker → · Palette generator →

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