#AAAF5E#AAAF5E

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

Color values

HEX#AAAF5E
RGBrgb(170, 175, 94)
HSLhsl(64, 34%, 53%)
HSVhsv(64, 46%, 69%)
CMYKcmyk(2.9%, 0%, 46.3%, 31.4%)
CIE-LABlab(69.48, -13.76, 40.70)
CIE-LCHlch(69.48, 42.96, 108.68°)
OKLaboklab(73.21% -0.039 0.0974)
OKLCHoklch(73.21% 0.105 111.8)
XYZxyz(33.9285, 40.0147, 16.5238)
Luminance0.4001 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAAF5E #635EAF
analogous
#AF8C5E #AAAF5E #81AF5E
triadic
#AAAF5E #5EAAAF #AF5EAA
tetradic
#AAAF5E #5EAF8C #635EAF #AF5E81
square
#AAAF5E #5EAF8C #635EAF #AF5E81
split-complementary
#AAAF5E #5E81AF #8C5EAF
monochromatic
#5F6231 #878B45 #AAAF5E #C0C387 #D5D8B0

Accessibility & contrast

On white

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

On black

9.00
#AAAF5E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAAF5E
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAAF5E#FFFFFF#000000##000000
##AAAF5E1.002.339.009.00
#FFFFFF2.331.0021.0021.00
#0000009.0021.001.001.00
##0000009.0021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #aaaf5e;
/* rgb */ color: rgb(170, 175, 94);
/* oklch */ color: oklch(73.2% 0.105 111.8);
Tailwind
colors: {
  custom: {
    50: '#c5c68d',
    500: '#aaaf5e',
    950: '#000000',
  },
}
SCSS
$custom: #aaaf5e;
$custom-light: #c5c68d;
$custom-dark: #000000;
JSON
{
  "hex": "#aaaf5e",
  "rgb": {
    "r": 170,
    "g": 175,
    "b": 94
  },
  "hsl": {
    "h": 63.704,
    "s": 33.61,
    "l": 52.745
  },
  "oklch": {
    "l": 0.7321,
    "c": 0.1049,
    "h": 111.8
  },
  "luminance": 0.40014
}

Semantic roles & 50–950 ramp

primary
#AAAF5E
secondary
#A5A3C6
accent
#5ECA65
background
#FCFCF8
surface
#F8F8F0
border
#D1D1CB
text
#13130C
muted
#82827D

Preview Lab

Preview with #AAAF5E

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

Preview Lab → · Contrast checker → · Palette generator →

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