#AFBC7E#AFBC7E

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

Color values

HEX#AFBC7E
RGBrgb(175, 188, 126)
HSLhsl(73, 32%, 62%)
HSVhsv(73, 33%, 74%)
CMYKcmyk(6.9%, 0%, 33%, 26.3%)
CIE-LABlab(73.92, -14.71, 29.94)
CIE-LCHlch(73.92, 33.36, 116.16°)
OKLaboklab(77% -0.0397 0.0744)
OKLCHoklch(77% 0.084 118.1)
XYZxyz(39.4282, 46.5870, 26.6497)
Luminance0.4659 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBC7E #8B7EBC
analogous
#BCAA7E #AFBC7E #90BC7E
triadic
#AFBC7E #7EAFBC #BC7EAF
tetradic
#AFBC7E #7EBCAA #8B7EBC #BC7E90
square
#AFBC7E #7EBCAA #8B7EBC #BC7E90
split-complementary
#AFBC7E #7E90BC #AA7EBC
monochromatic
#717E41 #96A656 #AFBC7E #C8D1A6 #E1E6CF

Accessibility & contrast

On white

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

On black

10.32
#AFBC7E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBC7E
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBC7E#FFFFFF#000000##000000
##AFBC7E1.002.0410.3210.32
#FFFFFF2.041.0021.0021.00
#00000010.3221.001.001.00
##00000010.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B67A
Deuteranopia (green-blind)
#C3B681
Tritanopia (blue-blind)
#B5B6AC
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #afbc7e;
/* rgb */ color: rgb(175, 188, 126);
/* oklch */ color: oklch(77.0% 0.084 118.1);
Tailwind
colors: {
  custom: {
    50: '#c7d0a4',
    500: '#afbc7e',
    950: '#000000',
  },
}
SCSS
$custom: #afbc7e;
$custom-light: #c7d0a4;
$custom-dark: #000000;
JSON
{
  "hex": "#afbc7e",
  "rgb": {
    "r": 175,
    "g": 188,
    "b": 126
  },
  "hsl": {
    "h": 72.581,
    "s": 31.633,
    "l": 61.569
  },
  "oklch": {
    "l": 0.77002,
    "c": 0.0843,
    "h": 118.1
  },
  "luminance": 0.46587
}

Semantic roles & 50–950 ramp

primary
#AFBC7E
secondary
#C4BFD6
accent
#3BAA52
background
#FCFCFA
surface
#F8F9F4
border
#D1D2CE
text
#13140F
muted
#82827F

Preview Lab

Preview with #AFBC7E

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

Preview Lab → · Contrast checker → · Palette generator →

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