#AFA16E#AFA16E

#AFA16E is a light, moderate yellow. Relative luminance 0.357; OKLCH L 70.9% C 0.071 H 94.6°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#AFA16E
RGBrgb(175, 161, 110)
HSLhsl(47, 29%, 56%)
HSVhsv(47, 37%, 69%)
CMYKcmyk(0%, 8%, 37.1%, 31.4%)
CIE-LABlab(66.31, -2.53, 28.43)
CIE-LCHlch(66.31, 28.54, 95.09°)
OKLaboklab(70.88% -0.0056 0.0704)
OKLCHoklch(70.88% 0.071 94.6)
XYZxyz(33.2391, 35.7305, 19.8946)
Luminance0.3573 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA16E #6E7CAF
analogous
#AF806E #AFA16E #9CAF6E
triadic
#AFA16E #6EAFA1 #A16EAF
tetradic
#AFA16E #6EAF80 #6E7CAF #AF6E9C
square
#AFA16E #6EAF80 #6E7CAF #AF6E9C
split-complementary
#AFA16E #6E9CAF #806EAF
monochromatic
#695F3A #908250 #AFA16E #C5BB95 #DBD4BD

Accessibility & contrast

On white

2.58
#AFA16E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#AFA16E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA16E
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA16E#FFFFFF#000000##000000
##AFA16E1.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9F6A
Deuteranopia (green-blind)
#AFA370
Tritanopia (blue-blind)
#B99A94
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #afa16e;
/* rgb */ color: rgb(175, 161, 110);
/* oklch */ color: oklch(70.9% 0.071 94.6);
Tailwind
colors: {
  custom: {
    50: '#c8bc98',
    500: '#afa16e',
    950: '#000000',
  },
}
SCSS
$custom: #afa16e;
$custom-light: #c8bc98;
$custom-dark: #000000;
JSON
{
  "hex": "#afa16e",
  "rgb": {
    "r": 175,
    "g": 161,
    "b": 110
  },
  "hsl": {
    "h": 47.077,
    "s": 28.889,
    "l": 55.882
  },
  "oklch": {
    "l": 0.70875,
    "c": 0.07058,
    "h": 94.6
  },
  "luminance": 0.35729
}

Semantic roles & 50–950 ramp

primary
#AFA16E
secondary
#AFB5CA
accent
#78C563
background
#FCFBF9
surface
#F8F6F2
border
#D1D0CC
text
#13120D
muted
#82817E

Preview Lab

Preview with #AFA16E

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

Preview Lab → · Contrast checker → · Palette generator →

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