#AAAF2C#AAAF2C

#AAAF2C 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#AAAF2C
RGBrgb(170, 175, 44)
HSLhsl(62, 60%, 43%)
HSVhsv(62, 75%, 69%)
CMYKcmyk(2.9%, 0%, 74.9%, 31.4%)
CIE-LABlab(69.03, -17.37, 61.87)
CIE-LCHlch(69.03, 64.26, 105.68°)
OKLaboklab(72.71% -0.0543 0.136)
OKLCHoklch(72.71% 0.146 111.8)
XYZxyz(32.3632, 39.3887, 8.2803)
Luminance0.3939 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAAF2C #312CAF
analogous
#AF722C #AAAF2C #68AF2C
triadic
#AAAF2C #2CAAAF #AF2CAA
tetradic
#AAAF2C #2CAF72 #312CAF #AF2C68
square
#AAAF2C #2CAF72 #312CAF #AF2C68
split-complementary
#AAAF2C #2C68AF #722CAF
monochromatic
#4B4D13 #7A7E20 #AAAF2C #CCD147 #D9DD78

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AAAF2C#FFFFFF#000000##000000
##AAAF2C1.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)
#BDA70E
Deuteranopia (green-blind)
#BDAA37
Tritanopia (blue-blind)
#B6A496
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #aaaf2c;
/* rgb */ color: rgb(170, 175, 44);
/* oklch */ color: oklch(72.7% 0.146 111.8);
Tailwind
colors: {
  custom: {
    50: '#c7c670',
    500: '#aaaf2c',
    950: '#000000',
  },
}
SCSS
$custom: #aaaf2c;
$custom-light: #c7c670;
$custom-dark: #000000;
JSON
{
  "hex": "#aaaf2c",
  "rgb": {
    "r": 170,
    "g": 175,
    "b": 44
  },
  "hsl": {
    "h": 62.29,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.72708,
    "c": 0.14644,
    "h": 111.8
  },
  "luminance": 0.39388
}

Semantic roles & 50–950 ramp

primary
#AAAF2C
secondary
#7572C5
accent
#45E34B
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #AAAF2C

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

Preview Lab → · Contrast checker → · Palette generator →

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