#AFBC7D#AFBC7D

#AFBC7D is a light, moderate yellow-green. Relative luminance 0.466; OKLCH L 77.0% C 0.086 H 117.9°. Best body text is #000000 at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#AFBC7D
RGBrgb(175, 188, 125)
HSLhsl(72, 32%, 61%)
HSVhsv(72, 34%, 74%)
CMYKcmyk(6.9%, 0%, 33.5%, 26.3%)
CIE-LABlab(73.91, -14.84, 30.44)
CIE-LCHlch(73.91, 33.86, 115.99°)
OKLaboklab(76.98% -0.0401 0.0755)
OKLCHoklch(76.98% 0.086 117.9)
XYZxyz(39.3640, 46.5613, 26.3115)
Luminance0.4656 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBC7D #8A7DBC
analogous
#BCAA7D #AFBC7D #90BC7D
triadic
#AFBC7D #7DAFBC #BC7DAF
tetradic
#AFBC7D #7DBCAA #8A7DBC #BC7D90
square
#AFBC7D #7DBCAA #8A7DBC #BC7D90
split-complementary
#AFBC7D #7D90BC #AA7DBC
monochromatic
#717E41 #96A656 #AFBC7D #C8D1A5 #E1E6CE

Accessibility & contrast

On white

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

On black

10.31
#AFBC7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBC7D
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBC7D#FFFFFF#000000##000000
##AFBC7D1.002.0410.3110.31
#FFFFFF2.041.0021.0021.00
#00000010.3121.001.001.00
##00000010.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B579
Deuteranopia (green-blind)
#C3B680
Tritanopia (blue-blind)
#B5B5AC
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #afbc7d;
/* rgb */ color: rgb(175, 188, 125);
/* oklch */ color: oklch(77.0% 0.086 117.9);
Tailwind
colors: {
  custom: {
    50: '#c7d0a3',
    500: '#afbc7d',
    950: '#000000',
  },
}
SCSS
$custom: #afbc7d;
$custom-light: #c7d0a3;
$custom-dark: #000000;
JSON
{
  "hex": "#afbc7d",
  "rgb": {
    "r": 175,
    "g": 188,
    "b": 125
  },
  "hsl": {
    "h": 72.381,
    "s": 31.98,
    "l": 61.373
  },
  "oklch": {
    "l": 0.76983,
    "c": 0.08551,
    "h": 117.9
  },
  "luminance": 0.46561
}

Semantic roles & 50–950 ramp

primary
#AFBC7D
secondary
#C3BFD6
accent
#3BAB52
background
#FCFCFA
surface
#F8F9F4
border
#D1D2CE
text
#13140F
muted
#82827F

Preview Lab

Preview with #AFBC7D

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

Preview Lab → · Contrast checker → · Palette generator →

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