#AFA177#AFA177

#AFA177 is a light, muted yellow. Relative luminance 0.359; OKLCH L 71.1% C 0.060 H 91.8°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#AFA177
RGBrgb(175, 161, 119)
HSLhsl(45, 26%, 58%)
HSVhsv(45, 32%, 69%)
CMYKcmyk(0%, 8%, 32%, 31.4%)
CIE-LABlab(66.47, -1.40, 23.76)
CIE-LCHlch(66.47, 23.80, 93.38°)
OKLaboklab(71.05% -0.0019 0.0596)
OKLCHoklch(71.05% 0.06 91.8)
XYZxyz(33.7543, 35.9366, 22.6076)
Luminance0.3594 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA177 #7785AF
analogous
#AF8577 #AFA177 #A1AF77
triadic
#AFA177 #77AFA1 #A177AF
tetradic
#AFA177 #77AF85 #7785AF #AF77A1
square
#AFA177 #77AF85 #7785AF #AF77A1
split-complementary
#AFA177 #77A1AF #8577AF
monochromatic
#6C6140 #938356 #AFA177 #C6BC9E #DCD6C4

Accessibility & contrast

On white

2.56
#AFA177 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.19
#AFA177 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA177
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA177#FFFFFF#000000##000000
##AFA1771.002.568.198.19
#FFFFFF2.561.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9F74
Deuteranopia (green-blind)
#AEA378
Tritanopia (blue-blind)
#B89A96
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #afa177;
/* rgb */ color: rgb(175, 161, 119);
/* oklch */ color: oklch(71.1% 0.060 91.8);
Tailwind
colors: {
  custom: {
    50: '#c7bc9e',
    500: '#afa177',
    950: '#000000',
  },
}
SCSS
$custom: #afa177;
$custom-light: #c7bc9e;
$custom-dark: #000000;
JSON
{
  "hex": "#afa177",
  "rgb": {
    "r": 175,
    "g": 161,
    "b": 119
  },
  "hsl": {
    "h": 45,
    "s": 25.926,
    "l": 57.647
  },
  "oklch": {
    "l": 0.71051,
    "c": 0.05964,
    "h": 91.8
  },
  "luminance": 0.35936
}

Semantic roles & 50–950 ramp

primary
#AFA177
secondary
#B6BBCC
accent
#7DC265
background
#FCFBF9
surface
#F8F6F2
border
#D1D0CC
text
#13120E
muted
#82817E

Preview Lab

Preview with #AFA177

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

Preview Lab → · Contrast checker → · Palette generator →

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