#AFA953#AFA953

#AFA953 is a light, moderate yellow. Relative luminance 0.381; OKLCH L 72.2% C 0.109 H 105.2°. Best body text is #000000 at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#AFA953
RGBrgb(175, 169, 83)
HSLhsl(56, 37%, 51%)
HSVhsv(56, 53%, 69%)
CMYKcmyk(0%, 3.4%, 52.6%, 31.4%)
CIE-LABlab(68.11, -9.58, 44.60)
CIE-LCHlch(68.11, 45.62, 102.13°)
OKLaboklab(72.17% -0.0285 0.1049)
OKLCHoklch(72.17% 0.109 105.2)
XYZxyz(33.4294, 38.1154, 13.7780)
Luminance0.3811 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA953 #5359AF
analogous
#AF7B53 #AFA953 #87AF53
triadic
#AFA953 #53AFA9 #A953AF
tetradic
#AFA953 #53AF7B #5359AF #AF5387
square
#AFA953 #53AF7B #5359AF #AF5387
split-complementary
#AFA953 #5387AF #7B53AF
monochromatic
#5D592B #86823E #AFA953 #C2BE7D #D6D3A7

Accessibility & contrast

On white

2.44
#AFA953 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.62
#AFA953 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA953
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA953#FFFFFF#000000##000000
##AFA9531.002.448.628.62
#FFFFFF2.441.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A44B
Deuteranopia (green-blind)
#B8A857
Tritanopia (blue-blind)
#BA9F95
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #afa953;
/* rgb */ color: rgb(175, 169, 83);
/* oklch */ color: oklch(72.2% 0.109 105.2);
Tailwind
colors: {
  custom: {
    50: '#c9c286',
    500: '#afa953',
    950: '#000000',
  },
}
SCSS
$custom: #afa953;
$custom-light: #c9c286;
$custom-dark: #000000;
JSON
{
  "hex": "#afa953",
  "rgb": {
    "r": 175,
    "g": 169,
    "b": 83
  },
  "hsl": {
    "h": 56.087,
    "s": 36.508,
    "l": 50.588
  },
  "oklch": {
    "l": 0.72173,
    "c": 0.10871,
    "h": 105.2
  },
  "luminance": 0.38114
}

Semantic roles & 50–950 ramp

primary
#AFA953
secondary
#9A9DC3
accent
#63CD5B
background
#FCFBF8
surface
#F9F7EF
border
#D2D0CA
text
#13120B
muted
#82817C

Preview Lab

Preview with #AFA953

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

Preview Lab → · Contrast checker → · Palette generator →

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