#AAAF3E#AAAF3E

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

Color values

HEX#AAAF3E
RGBrgb(170, 175, 62)
HSLhsl(63, 48%, 46%)
HSVhsv(63, 65%, 69%)
CMYKcmyk(2.9%, 0%, 64.6%, 31.4%)
CIE-LABlab(69.15, -16.40, 55.20)
CIE-LCHlch(69.15, 57.59, 106.55°)
OKLaboklab(72.84% -0.0498 0.125)
OKLCHoklch(72.84% 0.135 111.7)
XYZxyz(32.7780, 39.5546, 10.4646)
Luminance0.3955 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAAF3E #433EAF
analogous
#AF7C3E #AAAF3E #72AF3E
triadic
#AAAF3E #3EAAAF #AF3EAA
tetradic
#AAAF3E #3EAF7C #433EAF #AF3E72
square
#AAAF3E #3EAF7C #433EAF #AF3E72
split-complementary
#AAAF3E #3E72AF #7C3EAF
monochromatic
#52551E #7E822E #AAAF3E #C3C863 #D4D890

Accessibility & contrast

On white

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

On black

8.91
#AAAF3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAAF3E
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAAF3E#FFFFFF#000000##000000
##AAAF3E1.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA72F
Deuteranopia (green-blind)
#BCAA45
Tritanopia (blue-blind)
#B5A598
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #aaaf3e;
/* rgb */ color: rgb(170, 175, 62);
/* oklch */ color: oklch(72.8% 0.135 111.7);
Tailwind
colors: {
  custom: {
    50: '#c6c679',
    500: '#aaaf3e',
    950: '#000000',
  },
}
SCSS
$custom: #aaaf3e;
$custom-light: #c6c679;
$custom-dark: #000000;
JSON
{
  "hex": "#aaaf3e",
  "rgb": {
    "r": 170,
    "g": 175,
    "b": 62
  },
  "hsl": {
    "h": 62.655,
    "s": 47.679,
    "l": 46.471
  },
  "oklch": {
    "l": 0.72841,
    "c": 0.13454,
    "h": 111.7
  },
  "luminance": 0.39554
}

Semantic roles & 50–950 ramp

primary
#AAAF3E
secondary
#8986C3
accent
#51D756
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#131309
muted
#82827B

Preview Lab

Preview with #AAAF3E

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

Preview Lab → · Contrast checker → · Palette generator →

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