#AAAF30#AAAF30

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

Color values

HEX#AAAF30
RGBrgb(170, 175, 48)
HSLhsl(62, 57%, 44%)
HSVhsv(62, 73%, 69%)
CMYKcmyk(2.9%, 0%, 72.6%, 31.4%)
CIE-LABlab(69.05, -17.18, 60.52)
CIE-LCHlch(69.05, 62.91, 105.85°)
OKLaboklab(72.73% -0.0534 0.1339)
OKLCHoklch(72.73% 0.144 111.8)
XYZxyz(32.4421, 39.4202, 8.6956)
Luminance0.3942 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAAF30 #3530AF
analogous
#AF7430 #AAAF30 #6AAF30
triadic
#AAAF30 #30AAAF #AF30AA
tetradic
#AAAF30 #30AF74 #3530AF #AF306A
square
#AAAF30 #30AF74 #3530AF #AF306A
split-complementary
#AAAF30 #306AAF #7430AF
monochromatic
#4D4F16 #7B7F23 #AAAF30 #C9CE4E #D8DC7E

Accessibility & contrast

On white

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

On black

8.88
#AAAF30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAAF30
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAAF30#FFFFFF#000000##000000
##AAAF301.002.368.888.88
#FFFFFF2.361.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA718
Deuteranopia (green-blind)
#BDAA3A
Tritanopia (blue-blind)
#B6A497
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #aaaf30;
/* rgb */ color: rgb(170, 175, 48);
/* oklch */ color: oklch(72.7% 0.144 111.8);
Tailwind
colors: {
  custom: {
    50: '#c7c672',
    500: '#aaaf30',
    950: '#000000',
  },
}
SCSS
$custom: #aaaf30;
$custom-light: #c7c672;
$custom-dark: #000000;
JSON
{
  "hex": "#aaaf30",
  "rgb": {
    "r": 170,
    "g": 175,
    "b": 48
  },
  "hsl": {
    "h": 62.362,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.72733,
    "c": 0.14413,
    "h": 111.8
  },
  "luminance": 0.39419
}

Semantic roles & 50–950 ramp

primary
#AAAF30
secondary
#7A76C4
accent
#48E04E
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #AAAF30

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

Preview Lab → · Contrast checker → · Palette generator →

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