#AFA055#AFA055

#AFA055 is a light, moderate yellow. Relative luminance 0.349; OKLCH L 70.3% C 0.098 H 98.3°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#AFA055
RGBrgb(175, 160, 85)
HSLhsl(50, 36%, 51%)
HSVhsv(50, 51%, 69%)
CMYKcmyk(0%, 8.6%, 51.4%, 31.4%)
CIE-LABlab(65.68, -4.63, 40.73)
CIE-LCHlch(65.68, 40.99, 96.49°)
OKLaboklab(70.26% -0.014 0.0966)
OKLCHoklch(70.26% 0.098 98.3)
XYZxyz(31.8907, 34.9127, 13.6515)
Luminance0.3491 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA055 #5564AF
analogous
#AF7355 #AFA055 #91AF55
triadic
#AFA055 #55AFA0 #A055AF
tetradic
#AFA055 #55AF73 #5564AF #AF5591
square
#AFA055 #55AF73 #5564AF #AF5591
split-complementary
#AFA055 #5591AF #7355AF
monochromatic
#5E552C #877B40 #AFA055 #C3B77F #D6CFA8

Accessibility & contrast

On white

2.63
#AFA055 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.98
#AFA055 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA055
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA055#FFFFFF#000000##000000
##AFA0551.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9C4E
Deuteranopia (green-blind)
#B1A258
Tritanopia (blue-blind)
#BB968F
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #afa055;
/* rgb */ color: rgb(175, 160, 85);
/* oklch */ color: oklch(70.3% 0.098 98.3);
Tailwind
colors: {
  custom: {
    50: '#c9bb87',
    500: '#afa055',
    950: '#000000',
  },
}
SCSS
$custom: #afa055;
$custom-light: #c9bb87;
$custom-dark: #000000;
JSON
{
  "hex": "#afa055",
  "rgb": {
    "r": 175,
    "g": 160,
    "b": 85
  },
  "hsl": {
    "h": 50,
    "s": 36,
    "l": 50.98
  },
  "oklch": {
    "l": 0.70256,
    "c": 0.09765,
    "h": 98.3
  },
  "luminance": 0.34911
}

Semantic roles & 50–950 ramp

primary
#AFA055
secondary
#9CA3C4
accent
#6ECC5C
background
#FCFBF8
surface
#F9F6EF
border
#D2D0CA
text
#13110B
muted
#82807C

Preview Lab

Preview with #AFA055

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

Preview Lab → · Contrast checker → · Palette generator →

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