#AFA855#AFA855

#AFA855 is a light, moderate yellow. Relative luminance 0.378; OKLCH L 72.0% C 0.106 H 104.4°. Best body text is #000000 at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#AFA855
RGBrgb(175, 168, 85)
HSLhsl(55, 36%, 51%)
HSVhsv(55, 51%, 69%)
CMYKcmyk(0%, 4%, 51.4%, 31.4%)
CIE-LABlab(67.86, -8.88, 43.32)
CIE-LCHlch(67.86, 44.23, 101.59°)
OKLaboklab(71.98% -0.0262 0.1023)
OKLCHoklch(71.98% 0.106 104.4)
XYZxyz(33.3224, 37.7761, 14.1288)
Luminance0.3777 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA855 #555CAF
analogous
#AF7B55 #AFA855 #89AF55
triadic
#AFA855 #55AFA8 #A855AF
tetradic
#AFA855 #55AF7B #555CAF #AF5589
square
#AFA855 #55AF7B #555CAF #AF5589
split-complementary
#AFA855 #5589AF #7B55AF
monochromatic
#5E5A2C #878240 #AFA855 #C3BD7F #D6D3A8

Accessibility & contrast

On white

2.45
#AFA855 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.55
#AFA855 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA855
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA855#FFFFFF#000000##000000
##AFA8551.002.458.558.55
#FFFFFF2.451.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A34D
Deuteranopia (green-blind)
#B7A759
Tritanopia (blue-blind)
#BA9E95
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #afa855;
/* rgb */ color: rgb(175, 168, 85);
/* oklch */ color: oklch(72.0% 0.106 104.4);
Tailwind
colors: {
  custom: {
    50: '#c9c187',
    500: '#afa855',
    950: '#000000',
  },
}
SCSS
$custom: #afa855;
$custom-light: #c9c187;
$custom-dark: #000000;
JSON
{
  "hex": "#afa855",
  "rgb": {
    "r": 175,
    "g": 168,
    "b": 85
  },
  "hsl": {
    "h": 55.333,
    "s": 36,
    "l": 50.98
  },
  "oklch": {
    "l": 0.71981,
    "c": 0.10563,
    "h": 104.4
  },
  "luminance": 0.37775
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFA855

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

Preview Lab → · Contrast checker → · Palette generator →

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