#AFA95E#AFA95E

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

Color values

HEX#AFA95E
RGBrgb(175, 169, 94)
HSLhsl(56, 34%, 53%)
HSVhsv(56, 46%, 69%)
CMYKcmyk(0%, 3.4%, 46.3%, 31.4%)
CIE-LABlab(68.24, -8.56, 39.28)
CIE-LCHlch(68.24, 40.20, 102.29°)
OKLaboklab(72.32% -0.0244 0.0942)
OKLCHoklch(72.32% 0.097 104.5)
XYZxyz(33.8883, 38.2990, 16.1948)
Luminance0.3830 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA95E #5E64AF
analogous
#AF815E #AFA95E #8CAF5E
triadic
#AFA95E #5EAFA9 #A95EAF
tetradic
#AFA95E #5EAF81 #5E64AF #AF5E8C
square
#AFA95E #5EAF81 #5E64AF #AF5E8C
split-complementary
#AFA95E #5E8CAF #815EAF
monochromatic
#625E31 #8B8645 #AFA95E #C3BF87 #D8D5B0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFA95E#FFFFFF#000000##000000
##AFA95E1.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)
#B5A458
Deuteranopia (green-blind)
#B7A861
Tritanopia (blue-blind)
#B9A097
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #afa95e;
/* rgb */ color: rgb(175, 169, 94);
/* oklch */ color: oklch(72.3% 0.097 104.5);
Tailwind
colors: {
  custom: {
    50: '#c8c28d',
    500: '#afa95e',
    950: '#000000',
  },
}
SCSS
$custom: #afa95e;
$custom-light: #c8c28d;
$custom-dark: #000000;
JSON
{
  "hex": "#afa95e",
  "rgb": {
    "r": 175,
    "g": 169,
    "b": 94
  },
  "hsl": {
    "h": 55.556,
    "s": 33.61,
    "l": 52.745
  },
  "oklch": {
    "l": 0.72324,
    "c": 0.09727,
    "h": 104.5
  },
  "luminance": 0.38298
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFA95E

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

Preview Lab → · Contrast checker → · Palette generator →

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