#AFA46F#AFA46F

#AFA46F is a light, moderate yellow. Relative luminance 0.368; OKLCH L 71.5% C 0.072 H 97.9°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#AFA46F
RGBrgb(175, 164, 111)
HSLhsl(50, 29%, 56%)
HSVhsv(50, 37%, 69%)
CMYKcmyk(0%, 6.3%, 36.6%, 31.4%)
CIE-LABlab(67.14, -4.02, 28.97)
CIE-LCHlch(67.14, 29.25, 97.91°)
OKLaboklab(71.53% -0.0099 0.0717)
OKLCHoklch(71.53% 0.072 97.9)
XYZxyz(33.8244, 36.8135, 20.3598)
Luminance0.3681 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA46F #6F7AAF
analogous
#AF846F #AFA46F #9AAF6F
triadic
#AFA46F #6FAFA4 #A46FAF
tetradic
#AFA46F #6FAF84 #6F7AAF #AF6F9A
square
#AFA46F #6FAF84 #6F7AAF #AF6F9A
split-complementary
#AFA46F #6F9AAF #846FAF
monochromatic
#69613A #918550 #AFA46F #C5BD96 #DBD6BE

Accessibility & contrast

On white

2.51
#AFA46F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.36
#AFA46F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA46F
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA46F#FFFFFF#000000##000000
##AFA46F1.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AEA16B
Deuteranopia (green-blind)
#B1A571
Tritanopia (blue-blind)
#B89D96
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #afa46f;
/* rgb */ color: rgb(175, 164, 111);
/* oklch */ color: oklch(71.5% 0.072 97.9);
Tailwind
colors: {
  custom: {
    50: '#c8be99',
    500: '#afa46f',
    950: '#000000',
  },
}
SCSS
$custom: #afa46f;
$custom-light: #c8be99;
$custom-dark: #000000;
JSON
{
  "hex": "#afa46f",
  "rgb": {
    "r": 175,
    "g": 164,
    "b": 111
  },
  "hsl": {
    "h": 49.688,
    "s": 28.571,
    "l": 56.078
  },
  "oklch": {
    "l": 0.71531,
    "c": 0.07233,
    "h": 97.9
  },
  "luminance": 0.36813
}

Semantic roles & 50–950 ramp

primary
#AFA46F
secondary
#B0B4CA
accent
#74C563
background
#FCFBF9
surface
#F8F6F2
border
#D1D0CC
text
#13120E
muted
#82817E

Preview Lab

Preview with #AFA46F

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

Preview Lab → · Contrast checker → · Palette generator →

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