#AFA955#AFA955

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

Color values

HEX#AFA955
RGBrgb(175, 169, 85)
HSLhsl(56, 36%, 51%)
HSVhsv(56, 51%, 69%)
CMYKcmyk(0%, 3.4%, 51.4%, 31.4%)
CIE-LABlab(68.13, -9.41, 43.65)
CIE-LCHlch(68.13, 44.65, 102.16°)
OKLaboklab(72.2% -0.0278 0.103)
OKLCHoklch(72.2% 0.107 105.1)
XYZxyz(33.5078, 38.1468, 14.1906)
Luminance0.3815 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA955 #555BAF
analogous
#AF7C55 #AFA955 #88AF55
triadic
#AFA955 #55AFA9 #A955AF
tetradic
#AFA955 #55AF7C #555BAF #AF5588
square
#AFA955 #55AF7C #555BAF #AF5588
split-complementary
#AFA955 #5588AF #7C55AF
monochromatic
#5E5A2C #878240 #AFA955 #C3BE7F #D6D3A8

Accessibility & contrast

On white

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

On black

8.63
#AFA955 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA955
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA955#FFFFFF#000000##000000
##AFA9551.002.438.638.63
#FFFFFF2.431.0021.0021.00
#0000008.6321.001.001.00
##0000008.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A44D
Deuteranopia (green-blind)
#B8A859
Tritanopia (blue-blind)
#BA9F96
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #afa955;
/* rgb */ color: rgb(175, 169, 85);
/* oklch */ color: oklch(72.2% 0.107 105.1);
Tailwind
colors: {
  custom: {
    50: '#c9c287',
    500: '#afa955',
    950: '#000000',
  },
}
SCSS
$custom: #afa955;
$custom-light: #c9c287;
$custom-dark: #000000;
JSON
{
  "hex": "#afa955",
  "rgb": {
    "r": 175,
    "g": 169,
    "b": 85
  },
  "hsl": {
    "h": 56,
    "s": 36,
    "l": 50.98
  },
  "oklch": {
    "l": 0.72199,
    "c": 0.1067,
    "h": 105.1
  },
  "luminance": 0.38146
}

Semantic roles & 50–950 ramp

primary
#AFA955
secondary
#9C9FC4
accent
#63CC5C
background
#FCFBF8
surface
#F9F7F0
border
#D2D0CB
text
#13120B
muted
#82817C

Preview Lab

Preview with #AFA955

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

Preview Lab → · Contrast checker → · Palette generator →

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