#AAAF5F#AAAF5F

#AAAF5F is a light, moderate yellow. Relative luminance 0.400; OKLCH L 73.2% C 0.104 H 111.8°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#AAAF5F
RGBrgb(170, 175, 95)
HSLhsl(64, 33%, 53%)
HSVhsv(64, 46%, 69%)
CMYKcmyk(2.9%, 0%, 45.7%, 31.4%)
CIE-LABlab(69.49, -13.66, 40.21)
CIE-LCHlch(69.49, 42.47, 108.76°)
OKLaboklab(73.22% -0.0386 0.0964)
OKLCHoklch(73.22% 0.104 111.8)
XYZxyz(33.9736, 40.0328, 16.7617)
Luminance0.4003 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAAF5F #645FAF
analogous
#AF8C5F #AAAF5F #82AF5F
triadic
#AAAF5F #5FAAAF #AF5FAA
tetradic
#AAAF5F #5FAF8C #645FAF #AF5F82
square
#AAAF5F #5FAF8C #645FAF #AF5F82
split-complementary
#AAAF5F #5F82AF #8C5FAF
monochromatic
#5F6231 #878B46 #AAAF5F #C0C388 #D5D8B1

Accessibility & contrast

On white

2.33
#AAAF5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.01
#AAAF5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAAF5F
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAAF5F#FFFFFF#000000##000000
##AAAF5F1.002.339.019.01
#FFFFFF2.331.0021.0021.00
#0000009.0121.001.001.00
##0000009.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA958
Deuteranopia (green-blind)
#BAAB63
Tritanopia (blue-blind)
#B3A79C
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #aaaf5f;
/* rgb */ color: rgb(170, 175, 95);
/* oklch */ color: oklch(73.2% 0.104 111.8);
Tailwind
colors: {
  custom: {
    50: '#c5c68e',
    500: '#aaaf5f',
    950: '#000000',
  },
}
SCSS
$custom: #aaaf5f;
$custom-light: #c5c68e;
$custom-dark: #000000;
JSON
{
  "hex": "#aaaf5f",
  "rgb": {
    "r": 170,
    "g": 175,
    "b": 95
  },
  "hsl": {
    "h": 63.75,
    "s": 33.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.73224,
    "c": 0.10382,
    "h": 111.8
  },
  "luminance": 0.40032
}

Semantic roles & 50–950 ramp

primary
#AAAF5F
secondary
#A6A4C6
accent
#5EC965
background
#FCFCF8
surface
#F8F8F0
border
#D1D1CB
text
#13130C
muted
#82827D

Preview Lab

Preview with #AAAF5F

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

Preview Lab → · Contrast checker → · Palette generator →

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