#AFCF83#AFCF83

#AFCF83 is a light, moderate yellow-green. Relative luminance 0.554; OKLCH L 81.3% C 0.106 H 127.2°. Best body text is #000000 at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#AFCF83
RGBrgb(175, 207, 131)
HSLhsl(85, 44%, 66%)
HSVhsv(85, 37%, 81%)
CMYKcmyk(15.5%, 0%, 36.7%, 18.8%)
CIE-LABlab(79.26, -23.55, 34.34)
CIE-LCHlch(79.26, 41.64, 124.44°)
OKLaboklab(81.29% -0.0644 0.0848)
OKLCHoklch(81.29% 0.106 127.2)
XYZxyz(44.0883, 55.3779, 29.8346)
Luminance0.5538 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCF83 #A383CF
analogous
#CFC983 #AFCF83 #89CF83
triadic
#AFCF83 #83AFCF #CF83AF
tetradic
#AFCF83 #83CFC9 #A383CF #CF8389
square
#AFCF83 #83CFC9 #A383CF #CF8389
split-complementary
#AFCF83 #8389CF #C983CF
monochromatic
#739B3C #93BE57 #AFCF83 #CBE0AF #E8F1DB

Accessibility & contrast

On white

1.74
#AFCF83 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.08
#AFCF83 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCF83
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCF83#FFFFFF#000000##000000
##AFCF831.001.7412.0812.08
#FFFFFF1.741.0021.0021.00
#00000012.0821.001.001.00
##00000012.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C67E
Deuteranopia (green-blind)
#D2C487
Tritanopia (blue-blind)
#B3C8BC
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #afcf83;
/* rgb */ color: rgb(175, 207, 131);
/* oklch */ color: oklch(81.3% 0.106 127.2);
Tailwind
colors: {
  custom: {
    50: '#c8dda8',
    500: '#afcf83',
    950: '#000000',
  },
}
SCSS
$custom: #afcf83;
$custom-light: #c8dda8;
$custom-dark: #000000;
JSON
{
  "hex": "#afcf83",
  "rgb": {
    "r": 175,
    "g": 207,
    "b": 131
  },
  "hsl": {
    "h": 85.263,
    "s": 44.186,
    "l": 66.275
  },
  "oklch": {
    "l": 0.81292,
    "c": 0.10647,
    "h": 127.2
  },
  "luminance": 0.55378
}

Semantic roles & 50–950 ramp

primary
#AFCF83
secondary
#7555A1
accent
#2EB768
background
#FDFEFC
surface
#F9FCF6
border
#D2D5D0
text
#13150F
muted
#828480

Preview Lab

Preview with #AFCF83

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

Preview Lab → · Contrast checker → · Palette generator →

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