#AAB02F#AAB02F

#AAB02F is a light, vivid yellow. Relative luminance 0.398; OKLCH L 73.0% C 0.146 H 112.2°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#AAB02F
RGBrgb(170, 176, 47)
HSLhsl(63, 58%, 44%)
HSVhsv(63, 73%, 69%)
CMYKcmyk(3.4%, 0%, 73.3%, 31%)
CIE-LABlab(69.33, -17.74, 61.13)
CIE-LCHlch(69.33, 63.65, 106.18°)
OKLaboklab(72.95% -0.055 0.135)
OKLCHoklch(72.95% 0.146 112.2)
XYZxyz(32.6170, 39.8027, 8.6533)
Luminance0.3980 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAB02F #352FB0
analogous
#B0752F #AAB02F #69B02F
triadic
#AAB02F #2FAAB0 #B02FAA
tetradic
#AAB02F #2FB075 #352FB0 #B02F69
square
#AAB02F #2FB075 #352FB0 #B02F69
split-complementary
#AAB02F #2F69B0 #752FB0
monochromatic
#4D4F15 #7B8022 #AAB02F #C9CF4D #D8DC7D

Accessibility & contrast

On white

2.34
#AAB02F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.96
#AAB02F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAB02F
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAB02F#FFFFFF#000000##000000
##AAB02F1.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA815
Deuteranopia (green-blind)
#BEAB39
Tritanopia (blue-blind)
#B6A597
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #aab02f;
/* rgb */ color: rgb(170, 176, 47);
/* oklch */ color: oklch(73.0% 0.146 112.2);
Tailwind
colors: {
  custom: {
    50: '#c7c771',
    500: '#aab02f',
    950: '#000000',
  },
}
SCSS
$custom: #aab02f;
$custom-light: #c7c771;
$custom-dark: #000000;
JSON
{
  "hex": "#aab02f",
  "rgb": {
    "r": 170,
    "g": 176,
    "b": 47
  },
  "hsl": {
    "h": 62.791,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.72951,
    "c": 0.14577,
    "h": 112.2
  },
  "luminance": 0.39802
}

Semantic roles & 50–950 ramp

primary
#AAB02F
secondary
#7A76C5
accent
#47E14E
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #AAB02F

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

Preview Lab → · Contrast checker → · Palette generator →

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