#AFA46D#AFA46D

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

Color values

HEX#AFA46D
RGBrgb(175, 164, 109)
HSLhsl(50, 29%, 56%)
HSVhsv(50, 38%, 69%)
CMYKcmyk(0%, 6.3%, 37.7%, 31.4%)
CIE-LABlab(67.10, -4.26, 30.00)
CIE-LCHlch(67.10, 30.30, 98.09°)
OKLaboklab(71.5% -0.0107 0.074)
OKLCHoklch(71.5% 0.075 98.3)
XYZxyz(33.7155, 36.7700, 19.7863)
Luminance0.3677 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA46D #6D78AF
analogous
#AF836D #AFA46D #99AF6D
triadic
#AFA46D #6DAFA4 #A46DAF
tetradic
#AFA46D #6DAF83 #6D78AF #AF6D99
square
#AFA46D #6DAF83 #6D78AF #AF6D99
split-complementary
#AFA46D #6D99AF #836DAF
monochromatic
#686139 #90854F #AFA46D #C5BD95 #DAD5BC

Accessibility & contrast

On white

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

On black

8.35
#AFA46D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA46D
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA46D#FFFFFF#000000##000000
##AFA46D1.002.518.358.35
#FFFFFF2.511.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AEA169
Deuteranopia (green-blind)
#B1A56F
Tritanopia (blue-blind)
#B99C96
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #afa46d;
/* rgb */ color: rgb(175, 164, 109);
/* oklch */ color: oklch(71.5% 0.075 98.3);
Tailwind
colors: {
  custom: {
    50: '#c8be97',
    500: '#afa46d',
    950: '#000000',
  },
}
SCSS
$custom: #afa46d;
$custom-light: #c8be97;
$custom-dark: #000000;
JSON
{
  "hex": "#afa46d",
  "rgb": {
    "r": 175,
    "g": 164,
    "b": 109
  },
  "hsl": {
    "h": 50,
    "s": 29.204,
    "l": 55.686
  },
  "oklch": {
    "l": 0.71495,
    "c": 0.07473,
    "h": 98.3
  },
  "luminance": 0.36769
}

Semantic roles & 50–950 ramp

primary
#AFA46D
secondary
#AEB3CA
accent
#73C562
background
#FCFBF9
surface
#F8F6F2
border
#D1D0CC
text
#13120D
muted
#82817E

Preview Lab

Preview with #AFA46D

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

Preview Lab → · Contrast checker → · Palette generator →

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