#AAAF39#AAAF39

#AAAF39 is a light, vivid yellow. Relative luminance 0.395; OKLCH L 72.8% C 0.138 H 111.7°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#AAAF39
RGBrgb(170, 175, 57)
HSLhsl(63, 51%, 45%)
HSVhsv(63, 67%, 69%)
CMYKcmyk(2.9%, 0%, 67.4%, 31.4%)
CIE-LABlab(69.11, -16.70, 57.19)
CIE-LCHlch(69.11, 59.58, 106.28°)
OKLaboklab(72.8% -0.0512 0.1284)
OKLCHoklch(72.8% 0.138 111.7)
XYZxyz(32.6470, 39.5022, 9.7750)
Luminance0.3950 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAAF39 #3E39AF
analogous
#AF7939 #AAAF39 #6FAF39
triadic
#AAAF39 #39AAAF #AF39AA
tetradic
#AAAF39 #39AF79 #3E39AF #AF396F
square
#AAAF39 #39AF79 #3E39AF #AF396F
split-complementary
#AAAF39 #396FAF #7939AF
monochromatic
#50531B #7D812A #AAAF39 #C5CA5B #D5D98A

Accessibility & contrast

On white

2.36
#AAAF39 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.90
#AAAF39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAAF39
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAAF39#FFFFFF#000000##000000
##AAAF391.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA728
Deuteranopia (green-blind)
#BDAA41
Tritanopia (blue-blind)
#B5A497
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #aaaf39;
/* rgb */ color: rgb(170, 175, 57);
/* oklch */ color: oklch(72.8% 0.138 111.7);
Tailwind
colors: {
  custom: {
    50: '#c6c676',
    500: '#aaaf39',
    950: '#000000',
  },
}
SCSS
$custom: #aaaf39;
$custom-light: #c6c676;
$custom-dark: #000000;
JSON
{
  "hex": "#aaaf39",
  "rgb": {
    "r": 170,
    "g": 175,
    "b": 57
  },
  "hsl": {
    "h": 62.542,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.72799,
    "c": 0.13823,
    "h": 111.7
  },
  "luminance": 0.39501
}

Semantic roles & 50–950 ramp

primary
#AAAF39
secondary
#8481C3
accent
#4DDA53
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #AAAF39

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

Preview Lab → · Contrast checker → · Palette generator →

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