#AFBC7A#AFBC7A

#AFBC7A is a light, moderate yellow-green. Relative luminance 0.465; OKLCH L 76.9% C 0.089 H 117.6°. Best body text is #000000 at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#AFBC7A
RGBrgb(175, 188, 122)
HSLhsl(72, 33%, 61%)
HSVhsv(72, 35%, 74%)
CMYKcmyk(6.9%, 0%, 35.1%, 26.3%)
CIE-LABlab(73.86, -15.22, 31.95)
CIE-LCHlch(73.86, 35.39, 115.48°)
OKLaboklab(76.93% -0.0413 0.079)
OKLCHoklch(76.93% 0.089 117.6)
XYZxyz(39.1753, 46.4858, 25.3174)
Luminance0.4649 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBC7A #877ABC
analogous
#BCA87A #AFBC7A #8EBC7A
triadic
#AFBC7A #7AAFBC #BC7AAF
tetradic
#AFBC7A #7ABCA8 #877ABC #BC7A8E
square
#AFBC7A #7ABCA8 #877ABC #BC7A8E
split-complementary
#AFBC7A #7A8EBC #A87ABC
monochromatic
#717D3F #95A553 #AFBC7A #C7D1A3 #E0E5CB

Accessibility & contrast

On white

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

On black

10.30
#AFBC7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBC7A
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBC7A#FFFFFF#000000##000000
##AFBC7A1.002.0410.3010.30
#FFFFFF2.041.0021.0021.00
#00000010.3021.001.001.00
##00000010.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B575
Deuteranopia (green-blind)
#C3B67D
Tritanopia (blue-blind)
#B5B5AB
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #afbc7a;
/* rgb */ color: rgb(175, 188, 122);
/* oklch */ color: oklch(76.9% 0.089 117.6);
Tailwind
colors: {
  custom: {
    50: '#c7d0a1',
    500: '#afbc7a',
    950: '#000000',
  },
}
SCSS
$custom: #afbc7a;
$custom-light: #c7d0a1;
$custom-dark: #000000;
JSON
{
  "hex": "#afbc7a",
  "rgb": {
    "r": 175,
    "g": 188,
    "b": 122
  },
  "hsl": {
    "h": 71.818,
    "s": 33,
    "l": 60.784
  },
  "oklch": {
    "l": 0.76929,
    "c": 0.08911,
    "h": 117.6
  },
  "luminance": 0.46486
}

Semantic roles & 50–950 ramp

primary
#AFBC7A
secondary
#C1BCD5
accent
#3AAC50
background
#FCFCF9
surface
#F8F9F2
border
#D1D2CC
text
#13140F
muted
#82827E

Preview Lab

Preview with #AFBC7A

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

Preview Lab → · Contrast checker → · Palette generator →

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