#AFA95A#AFA95A

#AFA95A is a light, moderate yellow. Relative luminance 0.382; OKLCH L 72.3% C 0.102 H 104.8°. Best body text is #000000 at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#AFA95A
RGBrgb(175, 169, 90)
HSLhsl(56, 35%, 52%)
HSVhsv(56, 49%, 69%)
CMYKcmyk(0%, 3.4%, 48.6%, 31.4%)
CIE-LABlab(68.19, -8.95, 41.24)
CIE-LCHlch(68.19, 42.19, 102.24°)
OKLaboklab(72.27% -0.0259 0.0982)
OKLCHoklch(72.27% 0.102 104.8)
XYZxyz(33.7135, 38.2291, 15.2739)
Luminance0.3823 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA95A #5A60AF
analogous
#AF7F5A #AFA95A #8BAF5A
triadic
#AFA95A #5AAFA9 #A95AAF
tetradic
#AFA95A #5AAF7F #5A60AF #AF5A8B
square
#AFA95A #5AAF7F #5A60AF #AF5A8B
split-complementary
#AFA95A #5A8BAF #7F5AAF
monochromatic
#605D2F #898443 #AFA95A #C3BE83 #D7D4AC

Accessibility & contrast

On white

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

On black

8.65
#AFA95A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA95A
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA95A#FFFFFF#000000##000000
##AFA95A1.002.438.658.65
#FFFFFF2.431.0021.0021.00
#0000008.6521.001.001.00
##0000008.6521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afa95a;
/* rgb */ color: rgb(175, 169, 90);
/* oklch */ color: oklch(72.3% 0.102 104.8);
Tailwind
colors: {
  custom: {
    50: '#c9c28a',
    500: '#afa95a',
    950: '#000000',
  },
}
SCSS
$custom: #afa95a;
$custom-light: #c9c28a;
$custom-dark: #000000;
JSON
{
  "hex": "#afa95a",
  "rgb": {
    "r": 175,
    "g": 169,
    "b": 90
  },
  "hsl": {
    "h": 55.765,
    "s": 34.694,
    "l": 51.961
  },
  "oklch": {
    "l": 0.72266,
    "c": 0.10154,
    "h": 104.8
  },
  "luminance": 0.38228
}

Semantic roles & 50–950 ramp

primary
#AFA95A
secondary
#A0A2C5
accent
#65CB5D
background
#FCFBF8
surface
#F8F7F0
border
#D1D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #AFA95A

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

Preview Lab → · Contrast checker → · Palette generator →

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