#AFBC76#AFBC76

#AFBC76 is a light, moderate yellow-green. Relative luminance 0.464; OKLCH L 76.9% C 0.094 H 117.2°. Best body text is #000000 at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#AFBC76
RGBrgb(175, 188, 118)
HSLhsl(71, 34%, 60%)
HSVhsv(71, 37%, 74%)
CMYKcmyk(6.9%, 0%, 37.2%, 26.3%)
CIE-LABlab(73.80, -15.73, 33.94)
CIE-LCHlch(73.80, 37.41, 114.86°)
OKLaboklab(76.86% -0.043 0.0834)
OKLCHoklch(76.86% 0.094 117.2)
XYZxyz(38.9325, 46.3887, 24.0389)
Luminance0.4639 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBC76 #8376BC
analogous
#BCA676 #AFBC76 #8CBC76
triadic
#AFBC76 #76AFBC #BC76AF
tetradic
#AFBC76 #76BCA6 #8376BC #BC768C
square
#AFBC76 #76BCA6 #8376BC #BC768C
split-complementary
#AFBC76 #768CBC #A676BC
monochromatic
#707B3C #95A450 #AFBC76 #C7D09F #DFE4C8

Accessibility & contrast

On white

2.04
#AFBC76 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.28
#AFBC76 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBC76
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBC76#FFFFFF#000000##000000
##AFBC761.002.0410.2810.28
#FFFFFF2.041.0021.0021.00
#00000010.2821.001.001.00
##00000010.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B571
Deuteranopia (green-blind)
#C4B679
Tritanopia (blue-blind)
#B6B5AB
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #afbc76;
/* rgb */ color: rgb(175, 188, 118);
/* oklch */ color: oklch(76.9% 0.094 117.2);
Tailwind
colors: {
  custom: {
    50: '#c8d09e',
    500: '#afbc76',
    950: '#000000',
  },
}
SCSS
$custom: #afbc76;
$custom-light: #c8d09e;
$custom-dark: #000000;
JSON
{
  "hex": "#afbc76",
  "rgb": {
    "r": 175,
    "g": 188,
    "b": 118
  },
  "hsl": {
    "h": 71.143,
    "s": 34.314,
    "l": 60
  },
  "oklch": {
    "l": 0.76858,
    "c": 0.09384,
    "h": 117.2
  },
  "luminance": 0.46388
}

Semantic roles & 50–950 ramp

primary
#AFBC76
secondary
#BEB9D4
accent
#5DCA72
background
#FCFCF9
surface
#F8F9F2
border
#D1D2CC
text
#13140E
muted
#82827E

Preview Lab

Preview with #AFBC76

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

Preview Lab → · Contrast checker → · Palette generator →

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