#AAAF2D#AAAF2D

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

Color values

HEX#AAAF2D
RGBrgb(170, 175, 45)
HSLhsl(62, 59%, 43%)
HSVhsv(62, 74%, 69%)
CMYKcmyk(2.9%, 0%, 74.3%, 31.4%)
CIE-LABlab(69.04, -17.33, 61.54)
CIE-LCHlch(69.04, 63.93, 105.72°)
OKLaboklab(72.71% -0.0541 0.1355)
OKLCHoklch(72.71% 0.146 111.8)
XYZxyz(32.3823, 39.3963, 8.3805)
Luminance0.3940 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAAF2D #322DAF
analogous
#AF732D #AAAF2D #69AF2D
triadic
#AAAF2D #2DAAAF #AF2DAA
tetradic
#AAAF2D #2DAF73 #322DAF #AF2D69
square
#AAAF2D #2DAF73 #322DAF #AF2D69
split-complementary
#AAAF2D #2D69AF #732DAF
monochromatic
#4B4E14 #7B7E20 #AAAF2D #CBD049 #D9DD7A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AAAF2D#FFFFFF#000000##000000
##AAAF2D1.002.378.888.88
#FFFFFF2.371.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #aaaf2d;
/* rgb */ color: rgb(170, 175, 45);
/* oklch */ color: oklch(72.7% 0.146 111.8);
Tailwind
colors: {
  custom: {
    50: '#c7c670',
    500: '#aaaf2d',
    950: '#000000',
  },
}
SCSS
$custom: #aaaf2d;
$custom-light: #c7c670;
$custom-dark: #000000;
JSON
{
  "hex": "#aaaf2d",
  "rgb": {
    "r": 170,
    "g": 175,
    "b": 45
  },
  "hsl": {
    "h": 62.308,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.72714,
    "c": 0.14588,
    "h": 111.8
  },
  "luminance": 0.39395
}

Semantic roles & 50–950 ramp

primary
#AAAF2D
secondary
#7673C5
accent
#46E24C
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #AAAF2D

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

Preview Lab → · Contrast checker → · Palette generator →

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