#AFA656#AFA656

#AFA656 is a light, moderate yellow. Relative luminance 0.371; OKLCH L 71.6% C 0.103 H 102.9°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#AFA656
RGBrgb(175, 166, 86)
HSLhsl(54, 36%, 51%)
HSVhsv(54, 51%, 69%)
CMYKcmyk(0%, 5.1%, 50.9%, 31.4%)
CIE-LABlab(67.32, -7.74, 42.19)
CIE-LCHlch(67.32, 42.90, 100.39°)
OKLaboklab(71.56% -0.0229 0.0999)
OKLCHoklch(71.56% 0.103 102.9)
XYZxyz(32.9961, 37.0594, 14.2174)
Luminance0.3706 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA656 #565FAF
analogous
#AF7956 #AFA656 #8BAF56
triadic
#AFA656 #56AFA6 #A656AF
tetradic
#AFA656 #56AF79 #565FAF #AF568B
square
#AFA656 #56AF79 #565FAF #AF568B
split-complementary
#AFA656 #568BAF #7956AF
monochromatic
#5E592D #888040 #AFA656 #C3BC80 #D6D2A9

Accessibility & contrast

On white

2.50
#AFA656 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.41
#AFA656 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA656
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA656#FFFFFF#000000##000000
##AFA6561.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A14F
Deuteranopia (green-blind)
#B5A65A
Tritanopia (blue-blind)
#BA9D93
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #afa656;
/* rgb */ color: rgb(175, 166, 86);
/* oklch */ color: oklch(71.6% 0.103 102.9);
Tailwind
colors: {
  custom: {
    50: '#c9c088',
    500: '#afa656',
    950: '#000000',
  },
}
SCSS
$custom: #afa656;
$custom-light: #c9c088;
$custom-dark: #000000;
JSON
{
  "hex": "#afa656",
  "rgb": {
    "r": 175,
    "g": 166,
    "b": 86
  },
  "hsl": {
    "h": 53.933,
    "s": 35.743,
    "l": 51.176
  },
  "oklch": {
    "l": 0.71561,
    "c": 0.10252,
    "h": 102.9
  },
  "luminance": 0.37058
}

Semantic roles & 50–950 ramp

primary
#AFA656
secondary
#9DA1C4
accent
#67CC5C
background
#FCFBF8
surface
#F8F7F0
border
#D1D0CB
text
#13120B
muted
#82817C

Preview Lab

Preview with #AFA656

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

Preview Lab → · Contrast checker → · Palette generator →

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