#AFBD7E#AFBD7E

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

Color values

HEX#AFBD7E
RGBrgb(175, 189, 126)
HSLhsl(73, 32%, 62%)
HSVhsv(73, 33%, 74%)
CMYKcmyk(7.4%, 0%, 33.3%, 25.9%)
CIE-LABlab(74.20, -15.22, 30.30)
CIE-LCHlch(74.20, 33.91, 116.67°)
OKLaboklab(77.22% -0.0411 0.0752)
OKLCHoklch(77.22% 0.086 118.7)
XYZxyz(39.6426, 47.0157, 26.7211)
Luminance0.4702 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBD7E #8C7EBD
analogous
#BDAC7E #AFBD7E #90BD7E
triadic
#AFBD7E #7EAFBD #BD7EAF
tetradic
#AFBD7E #7EBDAC #8C7EBD #BD7E90
square
#AFBD7E #7EBDAC #8C7EBD #BD7E90
split-complementary
#AFBD7E #7E90BD #AC7EBD
monochromatic
#727F41 #96A856 #AFBD7E #C8D2A6 #E1E6CF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFBD7E#FFFFFF#000000##000000
##AFBD7E1.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)
#C5B67A
Deuteranopia (green-blind)
#C3B781
Tritanopia (blue-blind)
#B5B7AD
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #afbd7e;
/* rgb */ color: rgb(175, 189, 126);
/* oklch */ color: oklch(77.2% 0.086 118.7);
Tailwind
colors: {
  custom: {
    50: '#c7d0a4',
    500: '#afbd7e',
    950: '#000000',
  },
}
SCSS
$custom: #afbd7e;
$custom-light: #c7d0a4;
$custom-dark: #000000;
JSON
{
  "hex": "#afbd7e",
  "rgb": {
    "r": 175,
    "g": 189,
    "b": 126
  },
  "hsl": {
    "h": 73.333,
    "s": 32.308,
    "l": 61.765
  },
  "oklch": {
    "l": 0.77221,
    "c": 0.08574,
    "h": 118.7
  },
  "luminance": 0.47016
}

Semantic roles & 50–950 ramp

primary
#AFBD7E
secondary
#C5C0D7
accent
#3AAB53
background
#FCFCFA
surface
#F8F9F4
border
#D1D2CE
text
#13140F
muted
#82827F

Preview Lab

Preview with #AFBD7E

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

Preview Lab → · Contrast checker → · Palette generator →

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