#AFBF72#AFBF72

#AFBF72 is a light, moderate yellow-green. Relative luminance 0.476; OKLCH L 77.5% C 0.103 H 118.5°. Best body text is #000000 at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#AFBF72
RGBrgb(175, 191, 114)
HSLhsl(72, 38%, 60%)
HSVhsv(72, 40%, 75%)
CMYKcmyk(8.4%, 0%, 40.3%, 25.1%)
CIE-LABlab(74.57, -17.73, 36.99)
CIE-LCHlch(74.57, 41.01, 115.61°)
OKLaboklab(77.45% -0.0489 0.0902)
OKLCHoklch(77.45% 0.103 118.5)
XYZxyz(39.3474, 47.5907, 23.0294)
Luminance0.4759 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBF72 #8272BF
analogous
#BFA972 #AFBF72 #88BF72
triadic
#AFBF72 #72AFBF #BF72AF
tetradic
#AFBF72 #72BFA9 #8272BF #BF7288
square
#AFBF72 #72BFA9 #8272BF #BF7288
split-complementary
#AFBF72 #7288BF #A972BF
monochromatic
#6F7E39 #95A84C #AFBF72 #C7D29C #DFE5C6

Accessibility & contrast

On white

2.00
#AFBF72 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.52
#AFBF72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBF72
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBF72#FFFFFF#000000##000000
##AFBF721.002.0010.5210.52
#FFFFFF2.001.0021.0021.00
#00000010.5221.001.001.00
##00000010.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B76C
Deuteranopia (green-blind)
#C6B876
Tritanopia (blue-blind)
#B6B7AC
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #afbf72;
/* rgb */ color: rgb(175, 191, 114);
/* oklch */ color: oklch(77.5% 0.103 118.5);
Tailwind
colors: {
  custom: {
    50: '#c8d29b',
    500: '#afbf72',
    950: '#000000',
  },
}
SCSS
$custom: #afbf72;
$custom-light: #c8d29b;
$custom-dark: #000000;
JSON
{
  "hex": "#afbf72",
  "rgb": {
    "r": 175,
    "g": 191,
    "b": 114
  },
  "hsl": {
    "h": 72.468,
    "s": 37.561,
    "l": 59.804
  },
  "oklch": {
    "l": 0.77453,
    "c": 0.10261,
    "h": 118.5
  },
  "luminance": 0.4759
}

Semantic roles & 50–950 ramp

primary
#AFBF72
secondary
#BEB8D5
accent
#5ACE72
background
#FCFCF9
surface
#F8F9F2
border
#D1D2CC
text
#13140E
muted
#82827E

Preview Lab

Preview with #AFBF72

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

Preview Lab → · Contrast checker → · Palette generator →

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