#AFBC6F#AFBC6F

#AFBC6F is a light, moderate yellow-green. Relative luminance 0.462; OKLCH L 76.7% C 0.102 H 116.7°. Best body text is #000000 at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#AFBC6F
RGBrgb(175, 188, 111)
HSLhsl(70, 36%, 59%)
HSVhsv(70, 41%, 74%)
CMYKcmyk(6.9%, 0%, 41%, 26.3%)
CIE-LABlab(73.69, -16.56, 37.41)
CIE-LCHlch(73.69, 40.91, 113.87°)
OKLaboklab(76.74% -0.0458 0.091)
OKLCHoklch(76.74% 0.102 116.7)
XYZxyz(38.5319, 46.2284, 21.9289)
Luminance0.4623 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBC6F #7C6FBC
analogous
#BCA26F #AFBC6F #88BC6F
triadic
#AFBC6F #6FAFBC #BC6FAF
tetradic
#AFBC6F #6FBCA2 #7C6FBC #BC6F88
square
#AFBC6F #6FBCA2 #7C6FBC #BC6F88
split-complementary
#AFBC6F #6F88BC #A26FBC
monochromatic
#6E7938 #94A24C #AFBC6F #C6CF99 #DDE3C3

Accessibility & contrast

On white

2.05
#AFBC6F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.25
#AFBC6F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBC6F
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBC6F#FFFFFF#000000##000000
##AFBC6F1.002.0510.2510.25
#FFFFFF2.051.0021.0021.00
#00000010.2521.001.001.00
##00000010.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B569
Deuteranopia (green-blind)
#C4B673
Tritanopia (blue-blind)
#B7B4A9
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #afbc6f;
/* rgb */ color: rgb(175, 188, 111);
/* oklch */ color: oklch(76.7% 0.102 116.7);
Tailwind
colors: {
  custom: {
    50: '#c8d099',
    500: '#afbc6f',
    950: '#000000',
  },
}
SCSS
$custom: #afbc6f;
$custom-light: #c8d099;
$custom-dark: #000000;
JSON
{
  "hex": "#afbc6f",
  "rgb": {
    "r": 175,
    "g": 188,
    "b": 111
  },
  "hsl": {
    "h": 70.13,
    "s": 36.493,
    "l": 58.627
  },
  "oklch": {
    "l": 0.76742,
    "c": 0.10189,
    "h": 116.7
  },
  "luminance": 0.46228
}

Semantic roles & 50–950 ramp

primary
#AFBC6F
secondary
#B9B4D3
accent
#5BCC6E
background
#FCFCF9
surface
#F8F9F2
border
#D1D2CC
text
#13140E
muted
#82827E

Preview Lab

Preview with #AFBC6F

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

Preview Lab → · Contrast checker → · Palette generator →

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