#AFA06E#AFA06E

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

Color values

HEX#AFA06E
RGBrgb(175, 160, 110)
HSLhsl(46, 29%, 56%)
HSVhsv(46, 37%, 69%)
CMYKcmyk(0%, 8.6%, 37.1%, 31.4%)
CIE-LABlab(66.05, -1.99, 28.08)
CIE-LCHlch(66.05, 28.15, 94.06°)
OKLaboklab(70.66% -0.0041 0.0695)
OKLCHoklch(70.66% 0.07 93.4)
XYZxyz(33.0651, 35.3824, 19.8366)
Luminance0.3538 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA06E #6E7DAF
analogous
#AF7F6E #AFA06E #9DAF6E
triadic
#AFA06E #6EAFA0 #A06EAF
tetradic
#AFA06E #6EAF7F #6E7DAF #AF6E9D
square
#AFA06E #6EAF7F #6E7DAF #AF6E9D
split-complementary
#AFA06E #6E9DAF #7F6EAF
monochromatic
#695E3A #908150 #AFA06E #C5BA95 #DBD4BD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFA06E#FFFFFF#000000##000000
##AFA06E1.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)
#AA9E6A
Deuteranopia (green-blind)
#AEA370
Tritanopia (blue-blind)
#B99993
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #afa06e;
/* rgb */ color: rgb(175, 160, 110);
/* oklch */ color: oklch(70.7% 0.070 93.4);
Tailwind
colors: {
  custom: {
    50: '#c8bc98',
    500: '#afa06e',
    950: '#000000',
  },
}
SCSS
$custom: #afa06e;
$custom-light: #c8bc98;
$custom-dark: #000000;
JSON
{
  "hex": "#afa06e",
  "rgb": {
    "r": 175,
    "g": 160,
    "b": 110
  },
  "hsl": {
    "h": 46.154,
    "s": 28.889,
    "l": 55.882
  },
  "oklch": {
    "l": 0.70663,
    "c": 0.06965,
    "h": 93.4
  },
  "luminance": 0.35381
}

Semantic roles & 50–950 ramp

primary
#AFA06E
secondary
#AFB5CA
accent
#79C563
background
#FCFBF9
surface
#F8F6F2
border
#D1D0CC
text
#13110D
muted
#82807E

Preview Lab

Preview with #AFA06E

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

Preview Lab → · Contrast checker → · Palette generator →

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