#AFA775#AFA775

#AFA775 is a light, moderate yellow. Relative luminance 0.380; OKLCH L 72.3% C 0.068 H 100.2°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#AFA775
RGBrgb(175, 167, 117)
HSLhsl(52, 27%, 57%)
HSVhsv(52, 33%, 69%)
CMYKcmyk(0%, 4.6%, 33.1%, 31.4%)
CIE-LABlab(68.05, -4.89, 26.95)
CIE-LCHlch(68.05, 27.39, 100.28°)
OKLaboklab(72.29% -0.012 0.0671)
OKLCHoklch(72.29% 0.068 100.2)
XYZxyz(34.7092, 38.0366, 22.3396)
Luminance0.3804 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA775 #757DAF
analogous
#AF8A75 #AFA775 #9AAF75
triadic
#AFA775 #75AFA7 #A775AF
tetradic
#AFA775 #75AF8A #757DAF #AF759A
square
#AFA775 #75AF8A #757DAF #AF759A
split-complementary
#AFA775 #759AAF #8A75AF
monochromatic
#6B653E #928A55 #AFA775 #C5C09C #DCD8C2

Accessibility & contrast

On white

2.44
#AFA775 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.61
#AFA775 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA775
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA775#FFFFFF#000000##000000
##AFA7751.002.448.618.61
#FFFFFF2.441.0021.0021.00
#0000008.6121.001.001.00
##0000008.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B0A472
Deuteranopia (green-blind)
#B3A777
Tritanopia (blue-blind)
#B8A09A
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #afa775;
/* rgb */ color: rgb(175, 167, 117);
/* oklch */ color: oklch(72.3% 0.068 100.2);
Tailwind
colors: {
  custom: {
    50: '#c7c19d',
    500: '#afa775',
    950: '#000000',
  },
}
SCSS
$custom: #afa775;
$custom-light: #c7c19d;
$custom-dark: #000000;
JSON
{
  "hex": "#afa775",
  "rgb": {
    "r": 175,
    "g": 167,
    "b": 117
  },
  "hsl": {
    "h": 51.724,
    "s": 26.606,
    "l": 57.255
  },
  "oklch": {
    "l": 0.72285,
    "c": 0.06818,
    "h": 100.2
  },
  "luminance": 0.38036
}

Semantic roles & 50–950 ramp

primary
#AFA775
secondary
#B4B7CC
accent
#72C365
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#13120E
muted
#82817E

Preview Lab

Preview with #AFA775

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

Preview Lab → · Contrast checker → · Palette generator →

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