#AFBC8D#AFBC8D

#AFBC8D is a light, moderate yellow-green. Relative luminance 0.470; OKLCH L 77.3% C 0.066 H 120.5°. Best body text is #000000 at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#AFBC8D
RGBrgb(175, 188, 141)
HSLhsl(77, 26%, 65%)
HSVhsv(77, 25%, 74%)
CMYKcmyk(6.9%, 0%, 25%, 26.3%)
CIE-LABlab(74.19, -12.60, 22.35)
CIE-LCHlch(74.19, 25.65, 119.42°)
OKLaboklab(77.3% -0.0333 0.0566)
OKLCHoklch(77.3% 0.066 120.5)
XYZxyz(40.4697, 47.0035, 32.1347)
Luminance0.4700 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBC8D #9A8DBC
analogous
#BCB28D #AFBC8D #98BC8D
triadic
#AFBC8D #8DAFBC #BC8DAF
tetradic
#AFBC8D #8DBCB2 #9A8DBC #BC8D98
square
#AFBC8D #8DBCB2 #9A8DBC #BC8D98
split-complementary
#AFBC8D #8D98BC #B28DBC
monochromatic
#73824C #94A566 #AFBC8D #CAD3B4 #E5E9DA

Accessibility & contrast

On white

2.02
#AFBC8D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.40
#AFBC8D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBC8D
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBC8D#FFFFFF#000000##000000
##AFBC8D1.002.0210.4010.40
#FFFFFF2.021.0021.0021.00
#00000010.4021.001.001.00
##00000010.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2B78A
Deuteranopia (green-blind)
#C0B78F
Tritanopia (blue-blind)
#B3B7AF
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #afbc8d;
/* rgb */ color: rgb(175, 188, 141);
/* oklch */ color: oklch(77.3% 0.066 120.5);
Tailwind
colors: {
  custom: {
    50: '#c7d0ae',
    500: '#afbc8d',
    950: '#000000',
  },
}
SCSS
$custom: #afbc8d;
$custom-light: #c7d0ae;
$custom-dark: #000000;
JSON
{
  "hex": "#afbc8d",
  "rgb": {
    "r": 175,
    "g": 188,
    "b": 141
  },
  "hsl": {
    "h": 76.596,
    "s": 25.967,
    "l": 64.51
  },
  "oklch": {
    "l": 0.77302,
    "c": 0.06567,
    "h": 120.5
  },
  "luminance": 0.47003
}

Semantic roles & 50–950 ramp

primary
#AFBC8D
secondary
#CFCADB
accent
#41A55D
background
#FCFCFA
surface
#F8F9F4
border
#D1D2CE
text
#131410
muted
#82827F

Preview Lab

Preview with #AFBC8D

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

Preview Lab → · Contrast checker → · Palette generator →

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