#AAC02F#AAC02F

#AAC02F is a light, vivid yellow. Relative luminance 0.465; OKLCH L 76.6% C 0.163 H 118.1°. Best body text is #000000 at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#AAC02F
RGBrgb(170, 192, 47)
HSLhsl(69, 61%, 47%)
HSVhsv(69, 76%, 75%)
CMYKcmyk(11.5%, 0%, 75.5%, 24.7%)
CIE-LABlab(73.84, -25.66, 65.38)
CIE-LCHlch(73.84, 70.24, 111.43°)
OKLaboklab(76.57% -0.077 0.144)
OKLCHoklch(76.57% 0.163 118.1)
XYZxyz(35.9411, 46.4509, 9.7613)
Luminance0.4645 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAC02F #452FC0
analogous
#C08D2F #AAC02F #62C02F
triadic
#AAC02F #2FAAC0 #C02FAA
tetradic
#AAC02F #2FC08D #452FC0 #C02F62
square
#AAC02F #2FC08D #452FC0 #C02F62
split-complementary
#AAC02F #2F62C0 #8D2FC0
monochromatic
#535E17 #7E8F23 #AAC02F #C2D656 #D4E288

Accessibility & contrast

On white

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

On black

10.29
#AAC02F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAC02F
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAC02F#FFFFFF#000000##000000
##AAC02F1.002.0410.2910.29
#FFFFFF2.041.0021.0021.00
#00000010.2921.001.001.00
##00000010.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB50A
Deuteranopia (green-blind)
#CBB63C
Tritanopia (blue-blind)
#B4B5A5
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #aac02f;
/* rgb */ color: rgb(170, 192, 47);
/* oklch */ color: oklch(76.6% 0.163 118.1);
Tailwind
colors: {
  custom: {
    50: '#c7d373',
    500: '#aac02f',
    950: '#000000',
  },
}
SCSS
$custom: #aac02f;
$custom-light: #c7d373;
$custom-dark: #000000;
JSON
{
  "hex": "#aac02f",
  "rgb": {
    "r": 170,
    "g": 192,
    "b": 47
  },
  "hsl": {
    "h": 69.103,
    "s": 60.669,
    "l": 46.863
  },
  "oklch": {
    "l": 0.76569,
    "c": 0.16327,
    "h": 118.1
  },
  "luminance": 0.46451
}

Semantic roles & 50–950 ramp

primary
#AAC02F
secondary
#8B7FCB
accent
#44E45C
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#131409
muted
#82827B

Preview Lab

Preview with #AAC02F

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

Preview Lab → · Contrast checker → · Palette generator →

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