#AFB577#AFB577

#AFB577 is a light, moderate yellow. Relative luminance 0.435; OKLCH L 75.3% C 0.083 H 112.9°. Best body text is #000000 at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#AFB577
RGBrgb(175, 181, 119)
HSLhsl(66, 30%, 59%)
HSVhsv(66, 34%, 71%)
CMYKcmyk(3.3%, 0%, 34.3%, 29%)
CIE-LABlab(71.89, -12.00, 30.94)
CIE-LCHlch(71.89, 33.19, 111.20°)
OKLaboklab(75.34% -0.0323 0.0765)
OKLCHoklch(75.34% 0.083 112.9)
XYZxyz(37.5330, 43.4941, 23.8671)
Luminance0.4349 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB577 #7D77B5
analogous
#B59C77 #AFB577 #90B577
triadic
#AFB577 #77AFB5 #B577AF
tetradic
#AFB577 #77B59C #7D77B5 #B57790
square
#AFB577 #77B59C #7D77B5 #B57790
split-complementary
#AFB577 #7790B5 #9C77B5
monochromatic
#6E733F #949B54 #AFB577 #C6CB9F #DEE0C6

Accessibility & contrast

On white

2.17
#AFB577 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.70
#AFB577 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB577
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB577#FFFFFF#000000##000000
##AFB5771.002.179.709.70
#FFFFFF2.171.0021.0021.00
#0000009.7021.001.001.00
##0000009.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAF73
Deuteranopia (green-blind)
#BEB17A
Tritanopia (blue-blind)
#B6AEA5
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #afb577;
/* rgb */ color: rgb(175, 181, 119);
/* oklch */ color: oklch(75.3% 0.083 112.9);
Tailwind
colors: {
  custom: {
    50: '#c7cb9f',
    500: '#afb577',
    950: '#000000',
  },
}
SCSS
$custom: #afb577;
$custom-light: #c7cb9f;
$custom-dark: #000000;
JSON
{
  "hex": "#afb577",
  "rgb": {
    "r": 175,
    "g": 181,
    "b": 119
  },
  "hsl": {
    "h": 65.806,
    "s": 29.524,
    "l": 58.824
  },
  "oklch": {
    "l": 0.75343,
    "c": 0.08307,
    "h": 112.9
  },
  "luminance": 0.43494
}

Semantic roles & 50–950 ramp

primary
#AFB577
secondary
#BAB8D0
accent
#62C66C
background
#FCFCF9
surface
#F8F8F2
border
#D1D1CC
text
#13130E
muted
#82827E

Preview Lab

Preview with #AFB577

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

Preview Lab → · Contrast checker → · Palette generator →

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