#AFA95D#AFA95D

#AFA95D is a light, moderate yellow. Relative luminance 0.383; OKLCH L 72.3% C 0.098 H 104.6°. Best body text is #000000 at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#AFA95D
RGBrgb(175, 169, 93)
HSLhsl(56, 34%, 53%)
HSVhsv(56, 47%, 69%)
CMYKcmyk(0%, 3.4%, 46.9%, 31.4%)
CIE-LABlab(68.23, -8.66, 39.77)
CIE-LCHlch(68.23, 40.70, 102.28°)
OKLaboklab(72.31% -0.0248 0.0952)
OKLCHoklch(72.31% 0.098 104.6)
XYZxyz(33.8437, 38.2812, 15.9600)
Luminance0.3828 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA95D #5D63AF
analogous
#AF805D #AFA95D #8CAF5D
triadic
#AFA95D #5DAFA9 #A95DAF
tetradic
#AFA95D #5DAF80 #5D63AF #AF5D8C
square
#AFA95D #5DAF80 #5D63AF #AF5D8C
split-complementary
#AFA95D #5D8CAF #805DAF
monochromatic
#615E30 #8A8544 #AFA95D #C3BF86 #D7D4AF

Accessibility & contrast

On white

2.43
#AFA95D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.66
#AFA95D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA95D
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA95D#FFFFFF#000000##000000
##AFA95D1.002.438.668.66
#FFFFFF2.431.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A457
Deuteranopia (green-blind)
#B7A860
Tritanopia (blue-blind)
#BAA097
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #afa95d;
/* rgb */ color: rgb(175, 169, 93);
/* oklch */ color: oklch(72.3% 0.098 104.6);
Tailwind
colors: {
  custom: {
    50: '#c8c28c',
    500: '#afa95d',
    950: '#000000',
  },
}
SCSS
$custom: #afa95d;
$custom-light: #c8c28c;
$custom-dark: #000000;
JSON
{
  "hex": "#afa95d",
  "rgb": {
    "r": 175,
    "g": 169,
    "b": 93
  },
  "hsl": {
    "h": 55.61,
    "s": 33.884,
    "l": 52.549
  },
  "oklch": {
    "l": 0.72309,
    "c": 0.09835,
    "h": 104.6
  },
  "luminance": 0.3828
}

Semantic roles & 50–950 ramp

primary
#AFA95D
secondary
#A2A5C6
accent
#66CA5E
background
#FCFBF8
surface
#F8F7F0
border
#D1D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #AFA95D

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

Preview Lab → · Contrast checker → · Palette generator →

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