#AAAF25#AAAF25

#AAAF25 is a light, vivid yellow. Relative luminance 0.393; OKLCH L 72.7% C 0.150 H 111.8°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#AAAF25
RGBrgb(170, 175, 37)
HSLhsl(62, 65%, 42%)
HSVhsv(62, 79%, 69%)
CMYKcmyk(2.9%, 0%, 78.9%, 31.4%)
CIE-LABlab(69.00, -17.65, 64.04)
CIE-LCHlch(69.00, 66.43, 105.41°)
OKLaboklab(72.67% -0.0557 0.1394)
OKLCHoklch(72.67% 0.15 111.8)
XYZxyz(32.2426, 39.3404, 7.6449)
Luminance0.3934 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAAF25 #2A25AF
analogous
#AF6F25 #AAAF25 #65AF25
triadic
#AAAF25 #25AAAF #AF25AA
tetradic
#AAAF25 #25AF6F #2A25AF #AF2565
square
#AAAF25 #25AF6F #2A25AF #AF2565
split-complementary
#AAAF25 #2565AF #6F25AF
monochromatic
#484A10 #797C1A #AAAF25 #D0D63C #DCE06E

Accessibility & contrast

On white

2.37
#AAAF25 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.87
#AAAF25 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAAF25
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAAF25#FFFFFF#000000##000000
##AAAF251.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA700
Deuteranopia (green-blind)
#BEAA32
Tritanopia (blue-blind)
#B6A496
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #aaaf25;
/* rgb */ color: rgb(170, 175, 37);
/* oklch */ color: oklch(72.7% 0.150 111.8);
Tailwind
colors: {
  custom: {
    50: '#c7c66c',
    500: '#aaaf25',
    950: '#000000',
  },
}
SCSS
$custom: #aaaf25;
$custom-light: #c7c66c;
$custom-dark: #000000;
JSON
{
  "hex": "#aaaf25",
  "rgb": {
    "r": 170,
    "g": 175,
    "b": 37
  },
  "hsl": {
    "h": 62.174,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.72669,
    "c": 0.15005,
    "h": 111.8
  },
  "luminance": 0.3934
}

Semantic roles & 50–950 ramp

primary
#AAAF25
secondary
#6C69C7
accent
#40E846
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#141308
muted
#82827A

Preview Lab

Preview with #AAAF25

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

Preview Lab → · Contrast checker → · Palette generator →

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