#AFA46A#AFA46A

#AFA46A is a light, moderate yellow. Relative luminance 0.367; OKLCH L 71.4% C 0.078 H 98.8°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#AFA46A
RGBrgb(175, 164, 106)
HSLhsl(50, 30%, 55%)
HSVhsv(50, 39%, 69%)
CMYKcmyk(0%, 6.3%, 39.4%, 31.4%)
CIE-LABlab(67.06, -4.61, 31.54)
CIE-LCHlch(67.06, 31.87, 98.32°)
OKLaboklab(71.44% -0.012 0.0774)
OKLCHoklch(71.44% 0.078 98.8)
XYZxyz(33.5568, 36.7065, 18.9503)
Luminance0.3670 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA46A #6A75AF
analogous
#AF826A #AFA46A #97AF6A
triadic
#AFA46A #6AAFA4 #A46AAF
tetradic
#AFA46A #6AAF82 #6A75AF #AF6A97
square
#AFA46A #6AAF82 #6A75AF #AF6A97
split-complementary
#AFA46A #6A97AF #826AAF
monochromatic
#676037 #8F844D #AFA46A #C4BC92 #DAD5BA

Accessibility & contrast

On white

2.52
#AFA46A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#AFA46A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA46A
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA46A#FFFFFF#000000##000000
##AFA46A1.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFA166
Deuteranopia (green-blind)
#B2A56C
Tritanopia (blue-blind)
#B99C95
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #afa46a;
/* rgb */ color: rgb(175, 164, 106);
/* oklch */ color: oklch(71.4% 0.078 98.8);
Tailwind
colors: {
  custom: {
    50: '#c8be95',
    500: '#afa46a',
    950: '#000000',
  },
}
SCSS
$custom: #afa46a;
$custom-light: #c8be95;
$custom-dark: #000000;
JSON
{
  "hex": "#afa46a",
  "rgb": {
    "r": 175,
    "g": 164,
    "b": 106
  },
  "hsl": {
    "h": 50.435,
    "s": 30.131,
    "l": 55.098
  },
  "oklch": {
    "l": 0.71441,
    "c": 0.07829,
    "h": 98.8
  },
  "luminance": 0.36705
}

Semantic roles & 50–950 ramp

primary
#AFA46A
secondary
#ACB1C9
accent
#72C661
background
#FCFBF9
surface
#F8F6F2
border
#D1D0CC
text
#13120D
muted
#82817E

Preview Lab

Preview with #AFA46A

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

Preview Lab → · Contrast checker → · Palette generator →

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