#AFAA5E#AFAA5E

#AFAA5E is a light, moderate yellow. Relative luminance 0.387; OKLCH L 72.5% C 0.098 H 105.3°. Best body text is #000000 at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#AFAA5E
RGBrgb(175, 170, 94)
HSLhsl(56, 34%, 53%)
HSVhsv(56, 46%, 69%)
CMYKcmyk(0%, 2.9%, 46.3%, 31.4%)
CIE-LABlab(68.51, -9.08, 39.61)
CIE-LCHlch(68.51, 40.64, 102.92°)
OKLaboklab(72.54% -0.0259 0.0949)
OKLCHoklch(72.54% 0.098 105.3)
XYZxyz(34.0751, 38.6725, 16.2571)
Luminance0.3867 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAA5E #5E63AF
analogous
#AF815E #AFAA5E #8CAF5E
triadic
#AFAA5E #5EAFAA #AA5EAF
tetradic
#AFAA5E #5EAF81 #5E63AF #AF5E8C
square
#AFAA5E #5EAF81 #5E63AF #AF5E8C
split-complementary
#AFAA5E #5E8CAF #815EAF
monochromatic
#625F31 #8B8745 #AFAA5E #C3C087 #D8D5B0

Accessibility & contrast

On white

2.40
#AFAA5E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.73
#AFAA5E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAA5E
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAA5E#FFFFFF#000000##000000
##AFAA5E1.002.408.738.73
#FFFFFF2.401.0021.0021.00
#0000008.7321.001.001.00
##0000008.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A558
Deuteranopia (green-blind)
#B8A961
Tritanopia (blue-blind)
#B9A198
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #afaa5e;
/* rgb */ color: rgb(175, 170, 94);
/* oklch */ color: oklch(72.5% 0.098 105.3);
Tailwind
colors: {
  custom: {
    50: '#c8c38d',
    500: '#afaa5e',
    950: '#000000',
  },
}
SCSS
$custom: #afaa5e;
$custom-light: #c8c38d;
$custom-dark: #000000;
JSON
{
  "hex": "#afaa5e",
  "rgb": {
    "r": 175,
    "g": 170,
    "b": 94
  },
  "hsl": {
    "h": 56.296,
    "s": 33.61,
    "l": 52.745
  },
  "oklch": {
    "l": 0.7254,
    "c": 0.09837,
    "h": 105.3
  },
  "luminance": 0.38672
}

Semantic roles & 50–950 ramp

primary
#AFAA5E
secondary
#A3A5C6
accent
#65CA5E
background
#FCFBF8
surface
#F8F7F0
border
#D1D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #AFAA5E

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

Preview Lab → · Contrast checker → · Palette generator →

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