#AFCF5E#AFCF5E

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

Color values

HEX#AFCF5E
RGBrgb(175, 207, 94)
HSLhsl(77, 54%, 59%)
HSVhsv(77, 55%, 81%)
CMYKcmyk(15.5%, 0%, 54.6%, 18.8%)
CIE-LABlab(78.78, -27.66, 51.84)
CIE-LCHlch(78.78, 58.76, 118.08°)
OKLaboklab(80.75% -0.0785 0.1217)
OKLCHoklch(80.75% 0.145 122.8)
XYZxyz(42.0126, 54.5476, 18.9029)
Luminance0.5455 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCF5E #7E5ECF
analogous
#CFB75E #AFCF5E #77CF5E
triadic
#AFCF5E #5EAFCF #CF5EAF
tetradic
#AFCF5E #5ECFB7 #7E5ECF #CF5E77
square
#AFCF5E #5ECFB7 #7E5ECF #CF5E77
split-complementary
#AFCF5E #5E77CF #B75ECF
monochromatic
#6E8A29 #94B937 #AFCF5E #C6DD8D #DEEBBC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFCF5E#FFFFFF#000000##000000
##AFCF5E1.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)
#DAC453
Deuteranopia (green-blind)
#D6C365
Tritanopia (blue-blind)
#B6C6B6
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #afcf5e;
/* rgb */ color: rgb(175, 207, 94);
/* oklch */ color: oklch(80.8% 0.145 122.8);
Tailwind
colors: {
  custom: {
    50: '#c9dd8f',
    500: '#afcf5e',
    950: '#000000',
  },
}
SCSS
$custom: #afcf5e;
$custom-light: #c9dd8f;
$custom-dark: #000000;
JSON
{
  "hex": "#afcf5e",
  "rgb": {
    "r": 175,
    "g": 207,
    "b": 94
  },
  "hsl": {
    "h": 76.991,
    "s": 54.067,
    "l": 59.02
  },
  "oklch": {
    "l": 0.80752,
    "c": 0.14478,
    "h": 122.8
  },
  "luminance": 0.54548
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFCF5E

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

Preview Lab → · Contrast checker → · Palette generator →

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