#AFA06F#AFA06F

#AFA06F is a light, moderate yellow. Relative luminance 0.354; OKLCH L 70.7% C 0.068 H 93.1°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#AFA06F
RGBrgb(175, 160, 111)
HSLhsl(46, 29%, 56%)
HSVhsv(46, 37%, 69%)
CMYKcmyk(0%, 8.6%, 36.6%, 31.4%)
CIE-LABlab(66.06, -1.87, 27.56)
CIE-LCHlch(66.06, 27.62, 93.88°)
OKLaboklab(70.68% -0.0037 0.0684)
OKLCHoklch(70.68% 0.068 93.1)
XYZxyz(33.1198, 35.4043, 20.1249)
Luminance0.3540 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA06F #6F7EAF
analogous
#AF806F #AFA06F #9EAF6F
triadic
#AFA06F #6FAFA0 #A06FAF
tetradic
#AFA06F #6FAF80 #6F7EAF #AF6F9E
square
#AFA06F #6FAF80 #6F7EAF #AF6F9E
split-complementary
#AFA06F #6F9EAF #806FAF
monochromatic
#695E3A #918150 #AFA06F #C5BA96 #DBD4BE

Accessibility & contrast

On white

2.60
#AFA06F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#AFA06F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA06F
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA06F#FFFFFF#000000##000000
##AFA06F1.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9E6C
Deuteranopia (green-blind)
#AEA371
Tritanopia (blue-blind)
#B99993
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #afa06f;
/* rgb */ color: rgb(175, 160, 111);
/* oklch */ color: oklch(70.7% 0.068 93.1);
Tailwind
colors: {
  custom: {
    50: '#c8bc99',
    500: '#afa06f',
    950: '#000000',
  },
}
SCSS
$custom: #afa06f;
$custom-light: #c8bc99;
$custom-dark: #000000;
JSON
{
  "hex": "#afa06f",
  "rgb": {
    "r": 175,
    "g": 160,
    "b": 111
  },
  "hsl": {
    "h": 45.938,
    "s": 28.571,
    "l": 56.078
  },
  "oklch": {
    "l": 0.70682,
    "c": 0.06846,
    "h": 93.1
  },
  "luminance": 0.35403
}

Semantic roles & 50–950 ramp

primary
#AFA06F
secondary
#B0B6CA
accent
#7AC563
background
#FCFBF9
surface
#F8F6F2
border
#D1D0CC
text
#13110E
muted
#82807E

Preview Lab

Preview with #AFA06F

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

Preview Lab → · Contrast checker → · Palette generator →

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