#AFBD71#AFBD71

#AFBD71 is a light, moderate yellow-green. Relative luminance 0.467; OKLCH L 77.0% C 0.101 H 117.4°. Best body text is #000000 at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#AFBD71
RGBrgb(175, 189, 113)
HSLhsl(71, 37%, 59%)
HSVhsv(71, 40%, 74%)
CMYKcmyk(7.4%, 0%, 40.2%, 25.9%)
CIE-LABlab(74.00, -16.83, 36.78)
CIE-LCHlch(74.00, 40.45, 114.59°)
OKLaboklab(77% -0.0464 0.0897)
OKLCHoklch(77% 0.101 117.4)
XYZxyz(38.8576, 46.7017, 22.5869)
Luminance0.4670 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBD71 #7F71BD
analogous
#BDA571 #AFBD71 #89BD71
triadic
#AFBD71 #71AFBD #BD71AF
tetradic
#AFBD71 #71BDA5 #7F71BD #BD7189
square
#AFBD71 #71BDA5 #7F71BD #BD7189
split-complementary
#AFBD71 #7189BD #A571BD
monochromatic
#6F7B39 #94A44C #AFBD71 #C7D09B #DEE4C5

Accessibility & contrast

On white

2.03
#AFBD71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.34
#AFBD71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBD71
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBD71#FFFFFF#000000##000000
##AFBD711.002.0310.3410.34
#FFFFFF2.031.0021.0021.00
#00000010.3421.001.001.00
##00000010.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B66B
Deuteranopia (green-blind)
#C5B675
Tritanopia (blue-blind)
#B6B5AA
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #afbd71;
/* rgb */ color: rgb(175, 189, 113);
/* oklch */ color: oklch(77.0% 0.101 117.4);
Tailwind
colors: {
  custom: {
    50: '#c8d09b',
    500: '#afbd71',
    950: '#000000',
  },
}
SCSS
$custom: #afbd71;
$custom-light: #c8d09b;
$custom-dark: #000000;
JSON
{
  "hex": "#afbd71",
  "rgb": {
    "r": 175,
    "g": 189,
    "b": 113
  },
  "hsl": {
    "h": 71.053,
    "s": 36.538,
    "l": 59.216
  },
  "oklch": {
    "l": 0.76995,
    "c": 0.10099,
    "h": 117.4
  },
  "luminance": 0.46701
}

Semantic roles & 50–950 ramp

primary
#AFBD71
secondary
#BCB6D4
accent
#5BCD70
background
#FCFCF9
surface
#F8F9F2
border
#D1D2CC
text
#13140E
muted
#82827E

Preview Lab

Preview with #AFBD71

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

Preview Lab → · Contrast checker → · Palette generator →

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