#AFA655#AFA655

#AFA655 is a light, moderate yellow. Relative luminance 0.370; OKLCH L 71.5% C 0.104 H 103.0°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#AFA655
RGBrgb(175, 166, 85)
HSLhsl(54, 36%, 51%)
HSVhsv(54, 51%, 69%)
CMYKcmyk(0%, 5.1%, 51.4%, 31.4%)
CIE-LABlab(67.31, -7.83, 42.68)
CIE-LCHlch(67.31, 43.39, 100.39°)
OKLaboklab(71.55% -0.0232 0.1009)
OKLCHoklch(71.55% 0.104 103)
XYZxyz(32.9560, 37.0433, 14.0067)
Luminance0.3704 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA655 #555EAF
analogous
#AF7955 #AFA655 #8BAF55
triadic
#AFA655 #55AFA6 #A655AF
tetradic
#AFA655 #55AF79 #555EAF #AF558B
square
#AFA655 #55AF79 #555EAF #AF558B
split-complementary
#AFA655 #558BAF #7955AF
monochromatic
#5E592C #878040 #AFA655 #C3BC7F #D6D2A8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFA655#FFFFFF#000000##000000
##AFA6551.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)
#B3A14E
Deuteranopia (green-blind)
#B6A659
Tritanopia (blue-blind)
#BA9C93
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #afa655;
/* rgb */ color: rgb(175, 166, 85);
/* oklch */ color: oklch(71.5% 0.104 103.0);
Tailwind
colors: {
  custom: {
    50: '#c9c087',
    500: '#afa655',
    950: '#000000',
  },
}
SCSS
$custom: #afa655;
$custom-light: #c9c087;
$custom-dark: #000000;
JSON
{
  "hex": "#afa655",
  "rgb": {
    "r": 175,
    "g": 166,
    "b": 85
  },
  "hsl": {
    "h": 54,
    "s": 36,
    "l": 50.98
  },
  "oklch": {
    "l": 0.71548,
    "c": 0.10355,
    "h": 103
  },
  "luminance": 0.37042
}

Semantic roles & 50–950 ramp

primary
#AFA655
secondary
#9CA0C4
accent
#67CC5C
background
#FCFBF8
surface
#F9F7F0
border
#D2D0CB
text
#13120B
muted
#82817C

Preview Lab

Preview with #AFA655

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

Preview Lab → · Contrast checker → · Palette generator →

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