#AFA860#AFA860

#AFA860 is a light, moderate yellow. Relative luminance 0.380; OKLCH L 72.1% C 0.094 H 103.6°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#AFA860
RGBrgb(175, 168, 96)
HSLhsl(55, 33%, 53%)
HSVhsv(55, 45%, 69%)
CMYKcmyk(0%, 4%, 45.1%, 31.4%)
CIE-LABlab(67.99, -7.83, 37.95)
CIE-LCHlch(67.99, 38.75, 101.66°)
OKLaboklab(72.14% -0.0221 0.0914)
OKLCHoklch(72.14% 0.094 103.6)
XYZxyz(33.7939, 37.9647, 16.6118)
Luminance0.3796 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA860 #6067AF
analogous
#AF8060 #AFA860 #8EAF60
triadic
#AFA860 #60AFA8 #A860AF
tetradic
#AFA860 #60AF80 #6067AF #AF608E
square
#AFA860 #60AF80 #6067AF #AF608E
split-complementary
#AFA860 #608EAF #8060AF
monochromatic
#635F32 #8C8546 #AFA860 #C3BE89 #D8D5B1

Accessibility & contrast

On white

2.44
#AFA860 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.59
#AFA860 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA860
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA860#FFFFFF#000000##000000
##AFA8601.002.448.598.59
#FFFFFF2.441.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A35A
Deuteranopia (green-blind)
#B6A763
Tritanopia (blue-blind)
#B99F97
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #afa860;
/* rgb */ color: rgb(175, 168, 96);
/* oklch */ color: oklch(72.1% 0.094 103.6);
Tailwind
colors: {
  custom: {
    50: '#c8c18e',
    500: '#afa860',
    950: '#000000',
  },
}
SCSS
$custom: #afa860;
$custom-light: #c8c18e;
$custom-dark: #000000;
JSON
{
  "hex": "#afa860",
  "rgb": {
    "r": 175,
    "g": 168,
    "b": 96
  },
  "hsl": {
    "h": 54.684,
    "s": 33.054,
    "l": 53.137
  },
  "oklch": {
    "l": 0.72137,
    "c": 0.09399,
    "h": 103.6
  },
  "luminance": 0.37964
}

Semantic roles & 50–950 ramp

primary
#AFA860
secondary
#A4A7C6
accent
#68C95F
background
#FCFBF8
surface
#F8F7F0
border
#D1D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #AFA860

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

Preview Lab → · Contrast checker → · Palette generator →

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