#AFBC71#AFBC71

#AFBC71 is a light, moderate yellow-green. Relative luminance 0.463; OKLCH L 76.8% C 0.100 H 116.8°. Best body text is #000000 at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#AFBC71
RGBrgb(175, 188, 113)
HSLhsl(70, 36%, 59%)
HSVhsv(70, 40%, 74%)
CMYKcmyk(6.9%, 0%, 39.9%, 26.3%)
CIE-LABlab(73.72, -16.33, 36.42)
CIE-LCHlch(73.72, 39.92, 114.14°)
OKLaboklab(76.77% -0.045 0.0889)
OKLCHoklch(76.77% 0.1 116.8)
XYZxyz(38.6432, 46.2730, 22.5154)
Luminance0.4627 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBC71 #7E71BC
analogous
#BCA471 #AFBC71 #8ABC71
triadic
#AFBC71 #71AFBC #BC71AF
tetradic
#AFBC71 #71BCA4 #7E71BC #BC718A
square
#AFBC71 #71BCA4 #7E71BC #BC718A
split-complementary
#AFBC71 #718ABC #A471BC
monochromatic
#6E7939 #94A34D #AFBC71 #C6D09B #DEE3C4

Accessibility & contrast

On white

2.05
#AFBC71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.25
#AFBC71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBC71
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBC71#FFFFFF#000000##000000
##AFBC711.002.0510.2510.25
#FFFFFF2.051.0021.0021.00
#00000010.2521.001.001.00
##00000010.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B56B
Deuteranopia (green-blind)
#C4B675
Tritanopia (blue-blind)
#B6B4AA
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #afbc71;
/* rgb */ color: rgb(175, 188, 113);
/* oklch */ color: oklch(76.8% 0.100 116.8);
Tailwind
colors: {
  custom: {
    50: '#c8d09b',
    500: '#afbc71',
    950: '#000000',
  },
}
SCSS
$custom: #afbc71;
$custom-light: #c8d09b;
$custom-dark: #000000;
JSON
{
  "hex": "#afbc71",
  "rgb": {
    "r": 175,
    "g": 188,
    "b": 113
  },
  "hsl": {
    "h": 70.4,
    "s": 35.885,
    "l": 59.02
  },
  "oklch": {
    "l": 0.76774,
    "c": 0.09962,
    "h": 116.8
  },
  "luminance": 0.46273
}

Semantic roles & 50–950 ramp

primary
#AFBC71
secondary
#BBB6D3
accent
#5CCC6F
background
#FCFCF9
surface
#F8F9F2
border
#D1D2CC
text
#13140E
muted
#82827E

Preview Lab

Preview with #AFBC71

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

Preview Lab → · Contrast checker → · Palette generator →

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