#AAAF2E#AAAF2E

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

Color values

HEX#AAAF2E
RGBrgb(170, 175, 46)
HSLhsl(62, 58%, 43%)
HSVhsv(62, 74%, 69%)
CMYKcmyk(2.9%, 0%, 73.7%, 31.4%)
CIE-LABlab(69.04, -17.28, 61.21)
CIE-LCHlch(69.04, 63.60, 105.77°)
OKLaboklab(72.72% -0.0539 0.135)
OKLCHoklch(72.72% 0.145 111.8)
XYZxyz(32.4017, 39.4041, 8.4831)
Luminance0.3940 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAAF2E #332EAF
analogous
#AF742E #AAAF2E #69AF2E
triadic
#AAAF2E #2EAAAF #AF2EAA
tetradic
#AAAF2E #2EAF74 #332EAF #AF2E69
square
#AAAF2E #2EAF74 #332EAF #AF2E69
split-complementary
#AAAF2E #2E69AF #742EAF
monochromatic
#4C4E15 #7B7F21 #AAAF2E #CAD04B #D9DC7B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AAAF2E#FFFFFF#000000##000000
##AAAF2E1.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)
#BDA713
Deuteranopia (green-blind)
#BDAA38
Tritanopia (blue-blind)
#B6A496
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #aaaf2e;
/* rgb */ color: rgb(170, 175, 46);
/* oklch */ color: oklch(72.7% 0.145 111.8);
Tailwind
colors: {
  custom: {
    50: '#c7c671',
    500: '#aaaf2e',
    950: '#000000',
  },
}
SCSS
$custom: #aaaf2e;
$custom-light: #c7c671;
$custom-dark: #000000;
JSON
{
  "hex": "#aaaf2e",
  "rgb": {
    "r": 170,
    "g": 175,
    "b": 46
  },
  "hsl": {
    "h": 62.326,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.7272,
    "c": 0.14531,
    "h": 111.8
  },
  "luminance": 0.39403
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AAAF2E

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

Preview Lab → · Contrast checker → · Palette generator →

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