#AAAF33#AAAF33

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

Color values

HEX#AAAF33
RGBrgb(170, 175, 51)
HSLhsl(62, 55%, 44%)
HSVhsv(62, 71%, 69%)
CMYKcmyk(2.9%, 0%, 70.9%, 31.4%)
CIE-LABlab(69.07, -17.03, 59.45)
CIE-LCHlch(69.07, 61.84, 105.99°)
OKLaboklab(72.75% -0.0527 0.1321)
OKLCHoklch(72.75% 0.142 111.7)
XYZxyz(32.5061, 39.4458, 9.0328)
Luminance0.3945 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAAF33 #3833AF
analogous
#AF7633 #AAAF33 #6CAF33
triadic
#AAAF33 #33AAAF #AF33AA
tetradic
#AAAF33 #33AF76 #3833AF #AF336C
square
#AAAF33 #33AF76 #3833AF #AF336C
split-complementary
#AAAF33 #336CAF #7633AF
monochromatic
#4E5017 #7C8025 #AAAF33 #C8CD52 #D7DB82

Accessibility & contrast

On white

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

On black

8.89
#AAAF33 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAAF33
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAAF33#FFFFFF#000000##000000
##AAAF331.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #aaaf33;
/* rgb */ color: rgb(170, 175, 51);
/* oklch */ color: oklch(72.8% 0.142 111.7);
Tailwind
colors: {
  custom: {
    50: '#c7c673',
    500: '#aaaf33',
    950: '#000000',
  },
}
SCSS
$custom: #aaaf33;
$custom-light: #c7c673;
$custom-dark: #000000;
JSON
{
  "hex": "#aaaf33",
  "rgb": {
    "r": 170,
    "g": 175,
    "b": 51
  },
  "hsl": {
    "h": 62.419,
    "s": 54.867,
    "l": 44.314
  },
  "oklch": {
    "l": 0.72754,
    "c": 0.14226,
    "h": 111.7
  },
  "luminance": 0.39445
}

Semantic roles & 50–950 ramp

primary
#AAAF33
secondary
#7D7AC4
accent
#4ADE50
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #AAAF33

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

Preview Lab → · Contrast checker → · Palette generator →

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