#AFCB7D#AFCB7D

#AFCB7D is a light, moderate yellow-green. Relative luminance 0.533; OKLCH L 80.3% C 0.107 H 124.8°. Best body text is #000000 at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#AFCB7D
RGBrgb(175, 203, 125)
HSLhsl(82, 43%, 64%)
HSVhsv(82, 38%, 80%)
CMYKcmyk(13.8%, 0%, 38.4%, 20.4%)
CIE-LABlab(78.06, -22.36, 35.84)
CIE-LCHlch(78.06, 42.24, 121.96°)
OKLaboklab(80.3% -0.0613 0.0881)
OKLCHoklch(80.3% 0.107 124.8)
XYZxyz(42.7365, 53.3063, 27.4357)
Luminance0.5331 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCB7D #997DCB
analogous
#CBC07D #AFCB7D #88CB7D
triadic
#AFCB7D #7DAFCB #CB7DAF
tetradic
#AFCB7D #7DCBC0 #997DCB #CB7D88
square
#AFCB7D #7DCBC0 #997DCB #CB7D88
split-complementary
#AFCB7D #7D88CB #C07DCB
monochromatic
#73933B #94BA51 #AFCB7D #CADCA9 #E5EED4

Accessibility & contrast

On white

1.80
#AFCB7D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.66
#AFCB7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCB7D
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCB7D#FFFFFF#000000##000000
##AFCB7D1.001.8011.6611.66
#FFFFFF1.801.0021.0021.00
#00000011.6621.001.001.00
##00000011.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C277
Deuteranopia (green-blind)
#CFC181
Tritanopia (blue-blind)
#B4C4B8
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #afcb7d;
/* rgb */ color: rgb(175, 203, 125);
/* oklch */ color: oklch(80.3% 0.107 124.8);
Tailwind
colors: {
  custom: {
    50: '#c8dba3',
    500: '#afcb7d',
    950: '#000000',
  },
}
SCSS
$custom: #afcb7d;
$custom-light: #c8dba3;
$custom-dark: #000000;
JSON
{
  "hex": "#afcb7d",
  "rgb": {
    "r": 175,
    "g": 203,
    "b": 125
  },
  "hsl": {
    "h": 81.538,
    "s": 42.857,
    "l": 64.314
  },
  "oklch": {
    "l": 0.80298,
    "c": 0.10731,
    "h": 124.8
  },
  "luminance": 0.53307
}

Semantic roles & 50–950 ramp

primary
#AFCB7D
secondary
#6C539A
accent
#30B660
background
#FDFEFC
surface
#F9FBF5
border
#D2D4CF
text
#13150F
muted
#828480

Preview Lab

Preview with #AFCB7D

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

Preview Lab → · Contrast checker → · Palette generator →

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