#AFBE71#AFBE71

#AFBE71 is a light, moderate yellow-green. Relative luminance 0.471; OKLCH L 77.2% C 0.102 H 117.9°. Best body text is #000000 at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#AFBE71
RGBrgb(175, 190, 113)
HSLhsl(72, 37%, 59%)
HSVhsv(72, 41%, 75%)
CMYKcmyk(7.9%, 0%, 40.5%, 25.5%)
CIE-LABlab(74.28, -17.34, 37.13)
CIE-LCHlch(74.28, 40.98, 115.03°)
OKLaboklab(77.22% -0.0479 0.0905)
OKLCHoklch(77.22% 0.102 117.9)
XYZxyz(39.0734, 47.1334, 22.6588)
Luminance0.4713 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBE71 #8071BE
analogous
#BEA771 #AFBE71 #89BE71
triadic
#AFBE71 #71AFBE #BE71AF
tetradic
#AFBE71 #71BEA7 #8071BE #BE7189
square
#AFBE71 #71BEA7 #8071BE #BE7189
split-complementary
#AFBE71 #7189BE #A771BE
monochromatic
#6F7C39 #94A64C #AFBE71 #C7D19B #DEE4C5

Accessibility & contrast

On white

2.01
#AFBE71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.43
#AFBE71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBE71
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBE71#FFFFFF#000000##000000
##AFBE711.002.0110.4310.43
#FFFFFF2.011.0021.0021.00
#00000010.4321.001.001.00
##00000010.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B66B
Deuteranopia (green-blind)
#C6B775
Tritanopia (blue-blind)
#B6B6AB
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #afbe71;
/* rgb */ color: rgb(175, 190, 113);
/* oklch */ color: oklch(77.2% 0.102 117.9);
Tailwind
colors: {
  custom: {
    50: '#c8d19b',
    500: '#afbe71',
    950: '#000000',
  },
}
SCSS
$custom: #afbe71;
$custom-light: #c8d19b;
$custom-dark: #000000;
JSON
{
  "hex": "#afbe71",
  "rgb": {
    "r": 175,
    "g": 190,
    "b": 113
  },
  "hsl": {
    "h": 71.688,
    "s": 37.198,
    "l": 59.412
  },
  "oklch": {
    "l": 0.77216,
    "c": 0.10236,
    "h": 117.9
  },
  "luminance": 0.47133
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFBE71

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

Preview Lab → · Contrast checker → · Palette generator →

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