#AAAF74#AAAF74

#AAAF74 is a light, moderate yellow. Relative luminance 0.405; OKLCH L 73.6% C 0.080 H 112.3°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#AAAF74
RGBrgb(170, 175, 116)
HSLhsl(65, 27%, 57%)
HSVhsv(65, 34%, 69%)
CMYKcmyk(2.9%, 0%, 33.7%, 31.4%)
CIE-LABlab(69.80, -11.25, 29.72)
CIE-LCHlch(69.80, 31.78, 110.73°)
OKLaboklab(73.57% -0.0302 0.0736)
OKLCHoklch(73.57% 0.08 112.3)
XYZxyz(35.0601, 40.4674, 22.4836)
Luminance0.4047 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAAF74 #7974AF
analogous
#AF9774 #AAAF74 #8DAF74
triadic
#AAAF74 #74AAAF #AF74AA
tetradic
#AAAF74 #74AF97 #7974AF #AF748D
square
#AAAF74 #74AF97 #7974AF #AF748D
split-complementary
#AAAF74 #748DAF #9774AF
monochromatic
#676B3E #8D9254 #AAAF74 #C2C59B #DADCC2

Accessibility & contrast

On white

2.31
#AAAF74 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.09
#AAAF74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAAF74
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAAF74#FFFFFF#000000##000000
##AAAF741.002.319.099.09
#FFFFFF2.311.0021.0021.00
#0000009.0921.001.001.00
##0000009.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8AA70
Deuteranopia (green-blind)
#B8AB77
Tritanopia (blue-blind)
#B1A8A0
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #aaaf74;
/* rgb */ color: rgb(170, 175, 116);
/* oklch */ color: oklch(73.6% 0.080 112.3);
Tailwind
colors: {
  custom: {
    50: '#c4c69c',
    500: '#aaaf74',
    950: '#000000',
  },
}
SCSS
$custom: #aaaf74;
$custom-light: #c4c69c;
$custom-dark: #000000;
JSON
{
  "hex": "#aaaf74",
  "rgb": {
    "r": 170,
    "g": 175,
    "b": 116
  },
  "hsl": {
    "h": 65.085,
    "s": 26.941,
    "l": 57.059
  },
  "oklch": {
    "l": 0.7357,
    "c": 0.07953,
    "h": 112.3
  },
  "luminance": 0.40467
}

Semantic roles & 50–950 ramp

primary
#AAAF74
secondary
#B5B3CB
accent
#65C36D
background
#FCFCF9
surface
#F8F8F2
border
#D1D1CC
text
#13130E
muted
#82827E

Preview Lab

Preview with #AAAF74

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

Preview Lab → · Contrast checker → · Palette generator →

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