#AFCF5D#AFCF5D

#AFCF5D is a light, vivid yellow-green. Relative luminance 0.545; OKLCH L 80.7% C 0.146 H 122.8°. Best body text is #000000 at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#AFCF5D
RGBrgb(175, 207, 93)
HSLhsl(77, 54%, 59%)
HSVhsv(77, 55%, 81%)
CMYKcmyk(15.5%, 0%, 55.1%, 18.8%)
CIE-LABlab(78.77, -27.75, 52.29)
CIE-LCHlch(78.77, 59.20, 117.95°)
OKLaboklab(80.74% -0.0788 0.1225)
OKLCHoklch(80.74% 0.146 122.8)
XYZxyz(41.9680, 54.5298, 18.6681)
Luminance0.5453 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCF5D #7D5DCF
analogous
#CFB65D #AFCF5D #76CF5D
triadic
#AFCF5D #5DAFCF #CF5DAF
tetradic
#AFCF5D #5DCFB6 #7D5DCF #CF5D76
square
#AFCF5D #5DCFB6 #7D5DCF #CF5D76
split-complementary
#AFCF5D #5D76CF #B65DCF
monochromatic
#6E8929 #94B837 #AFCF5D #C6DD8C #DEEBBB

Accessibility & contrast

On white

1.76
#AFCF5D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.91
#AFCF5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCF5D
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCF5D#FFFFFF#000000##000000
##AFCF5D1.001.7611.9111.91
#FFFFFF1.761.0021.0021.00
#00000011.9121.001.001.00
##00000011.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC452
Deuteranopia (green-blind)
#D6C364
Tritanopia (blue-blind)
#B7C6B6
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #afcf5d;
/* rgb */ color: rgb(175, 207, 93);
/* oklch */ color: oklch(80.7% 0.146 122.8);
Tailwind
colors: {
  custom: {
    50: '#c9dd8e',
    500: '#afcf5d',
    950: '#000000',
  },
}
SCSS
$custom: #afcf5d;
$custom-light: #c9dd8e;
$custom-dark: #000000;
JSON
{
  "hex": "#afcf5d",
  "rgb": {
    "r": 175,
    "g": 207,
    "b": 93
  },
  "hsl": {
    "h": 76.842,
    "s": 54.286,
    "l": 58.824
  },
  "oklch": {
    "l": 0.8074,
    "c": 0.1457,
    "h": 122.8
  },
  "luminance": 0.5453
}

Semantic roles & 50–950 ramp

primary
#AFCF5D
secondary
#574190
accent
#4ADE74
background
#FEFEFC
surface
#FAFCF4
border
#D3D5CE
text
#13150D
muted
#83847F

Preview Lab

Preview with #AFCF5D

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

Preview Lab → · Contrast checker → · Palette generator →

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