#AFA956#AFA956

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

Color values

HEX#AFA956
RGBrgb(175, 169, 86)
HSLhsl(56, 36%, 51%)
HSVhsv(56, 51%, 69%)
CMYKcmyk(0%, 3.4%, 50.9%, 31.4%)
CIE-LABlab(68.14, -9.32, 43.17)
CIE-LCHlch(68.14, 44.16, 102.18°)
OKLaboklab(72.21% -0.0274 0.1021)
OKLCHoklch(72.21% 0.106 105)
XYZxyz(33.5478, 38.1628, 14.4013)
Luminance0.3816 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA956 #565CAF
analogous
#AF7C56 #AFA956 #88AF56
triadic
#AFA956 #56AFA9 #A956AF
tetradic
#AFA956 #56AF7C #565CAF #AF5688
square
#AFA956 #56AF7C #565CAF #AF5688
split-complementary
#AFA956 #5688AF #7C56AF
monochromatic
#5E5B2D #888340 #AFA956 #C3BE80 #D6D3A9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFA956#FFFFFF#000000##000000
##AFA9561.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)
#B5A44E
Deuteranopia (green-blind)
#B8A85A
Tritanopia (blue-blind)
#BAA096
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #afa956;
/* rgb */ color: rgb(175, 169, 86);
/* oklch */ color: oklch(72.2% 0.106 105.0);
Tailwind
colors: {
  custom: {
    50: '#c9c288',
    500: '#afa956',
    950: '#000000',
  },
}
SCSS
$custom: #afa956;
$custom-light: #c9c288;
$custom-dark: #000000;
JSON
{
  "hex": "#afa956",
  "rgb": {
    "r": 175,
    "g": 169,
    "b": 86
  },
  "hsl": {
    "h": 55.955,
    "s": 35.743,
    "l": 51.176
  },
  "oklch": {
    "l": 0.72212,
    "c": 0.10569,
    "h": 105
  },
  "luminance": 0.38162
}

Semantic roles & 50–950 ramp

primary
#AFA956
secondary
#9D9FC4
accent
#64CC5C
background
#FCFBF8
surface
#F8F7F0
border
#D1D0CB
text
#13120B
muted
#82817C

Preview Lab

Preview with #AFA956

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

Preview Lab → · Contrast checker → · Palette generator →

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