#AFCF5C#AFCF5C

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

Color values

HEX#AFCF5C
RGBrgb(175, 207, 92)
HSLhsl(77, 55%, 59%)
HSVhsv(77, 56%, 81%)
CMYKcmyk(15.5%, 0%, 55.6%, 18.8%)
CIE-LABlab(78.76, -27.84, 52.73)
CIE-LCHlch(78.76, 59.63, 117.83°)
OKLaboklab(80.73% -0.0792 0.1234)
OKLCHoklch(80.73% 0.147 122.7)
XYZxyz(41.9240, 54.5122, 18.4364)
Luminance0.5451 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCF5C #7C5CCF
analogous
#CFB55C #AFCF5C #75CF5C
triadic
#AFCF5C #5CAFCF #CF5CAF
tetradic
#AFCF5C #5CCFB5 #7C5CCF #CF5C75
square
#AFCF5C #5CCFB5 #7C5CCF #CF5C75
split-complementary
#AFCF5C #5C75CF #B55CCF
monochromatic
#6E8828 #94B836 #AFCF5C #C6DD8B #DDEBBB

Accessibility & contrast

On white

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

On black

11.90
#AFCF5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCF5C
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCF5C#FFFFFF#000000##000000
##AFCF5C1.001.7611.9011.90
#FFFFFF1.761.0021.0021.00
#00000011.9021.001.001.00
##00000011.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afcf5c;
/* rgb */ color: rgb(175, 207, 92);
/* oklch */ color: oklch(80.7% 0.147 122.7);
Tailwind
colors: {
  custom: {
    50: '#c9dd8e',
    500: '#afcf5c',
    950: '#000000',
  },
}
SCSS
$custom: #afcf5c;
$custom-light: #c9dd8e;
$custom-dark: #000000;
JSON
{
  "hex": "#afcf5c",
  "rgb": {
    "r": 175,
    "g": 207,
    "b": 92
  },
  "hsl": {
    "h": 76.696,
    "s": 54.502,
    "l": 58.627
  },
  "oklch": {
    "l": 0.80729,
    "c": 0.14661,
    "h": 122.7
  },
  "luminance": 0.54512
}

Semantic roles & 50–950 ramp

primary
#AFCF5C
secondary
#56408F
accent
#4ADE73
background
#FEFEFC
surface
#FAFCF4
border
#D3D5CE
text
#13150C
muted
#83847F

Preview Lab

Preview with #AFCF5C

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

Preview Lab → · Contrast checker → · Palette generator →

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