#AFBE72#AFBE72

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

Color values

HEX#AFBE72
RGBrgb(175, 190, 114)
HSLhsl(72, 37%, 60%)
HSVhsv(72, 40%, 75%)
CMYKcmyk(7.9%, 0%, 40%, 25.5%)
CIE-LABlab(74.29, -17.22, 36.63)
CIE-LCHlch(74.29, 40.48, 115.18°)
OKLaboklab(77.23% -0.0475 0.0894)
OKLCHoklch(77.23% 0.101 118)
XYZxyz(39.1300, 47.1560, 22.9569)
Luminance0.4716 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBE72 #8172BE
analogous
#BEA772 #AFBE72 #89BE72
triadic
#AFBE72 #72AFBE #BE72AF
tetradic
#AFBE72 #72BEA7 #8172BE #BE7289
square
#AFBE72 #72BEA7 #8172BE #BE7289
split-complementary
#AFBE72 #7289BE #A772BE
monochromatic
#6F7C39 #95A64D #AFBE72 #C7D19C #DFE5C6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFBE72#FFFFFF#000000##000000
##AFBE721.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)
#C7B66C
Deuteranopia (green-blind)
#C6B776
Tritanopia (blue-blind)
#B6B6AB
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #afbe72;
/* rgb */ color: rgb(175, 190, 114);
/* oklch */ color: oklch(77.2% 0.101 118.0);
Tailwind
colors: {
  custom: {
    50: '#c8d19b',
    500: '#afbe72',
    950: '#000000',
  },
}
SCSS
$custom: #afbe72;
$custom-light: #c8d19b;
$custom-dark: #000000;
JSON
{
  "hex": "#afbe72",
  "rgb": {
    "r": 175,
    "g": 190,
    "b": 114
  },
  "hsl": {
    "h": 71.842,
    "s": 36.893,
    "l": 59.608
  },
  "oklch": {
    "l": 0.77232,
    "c": 0.10123,
    "h": 118
  },
  "luminance": 0.47156
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFBE72

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

Preview Lab → · Contrast checker → · Palette generator →

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