#AFC952#AFC952

#AFC952 is a light, vivid yellow-green. Relative luminance 0.515; OKLCH L 79.3% C 0.148 H 120.3°. Best body text is #000000 at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#AFC952
RGBrgb(175, 201, 82)
HSLhsl(73, 52%, 55%)
HSVhsv(73, 59%, 79%)
CMYKcmyk(12.9%, 0%, 59.2%, 21.2%)
CIE-LABlab(76.98, -25.80, 55.19)
CIE-LCHlch(76.98, 60.92, 115.05°)
OKLaboklab(79.27% -0.0744 0.1275)
OKLCHoklch(79.27% 0.148 120.3)
XYZxyz(40.0893, 51.4966, 15.8089)
Luminance0.5150 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC952 #6C52C9
analogous
#C9A752 #AFC952 #73C952
triadic
#AFC952 #52AFC9 #C952AF
tetradic
#AFC952 #52C9A7 #6C52C9 #C95273
square
#AFC952 #52C9A7 #6C52C9 #C95273
split-complementary
#AFC952 #5273C9 #A752C9
monochromatic
#687A26 #90A935 #AFC952 #C5D881 #DAE6AF

Accessibility & contrast

On white

1.86
#AFC952 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.30
#AFC952 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC952
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC952#FFFFFF#000000##000000
##AFC9521.001.8611.3011.30
#FFFFFF1.861.0021.0021.00
#00000011.3021.001.001.00
##00000011.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BE45
Deuteranopia (green-blind)
#D1BE5A
Tritanopia (blue-blind)
#B8BFB0
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #afc952;
/* rgb */ color: rgb(175, 201, 82);
/* oklch */ color: oklch(79.3% 0.148 120.3);
Tailwind
colors: {
  custom: {
    50: '#c9d987',
    500: '#afc952',
    950: '#000000',
  },
}
SCSS
$custom: #afc952;
$custom-light: #c9d987;
$custom-dark: #000000;
JSON
{
  "hex": "#afc952",
  "rgb": {
    "r": 175,
    "g": 201,
    "b": 82
  },
  "hsl": {
    "h": 73.109,
    "s": 52.423,
    "l": 55.49
  },
  "oklch": {
    "l": 0.79266,
    "c": 0.14767,
    "h": 120.3
  },
  "luminance": 0.51496
}

Semantic roles & 50–950 ramp

primary
#AFC952
secondary
#4C3D83
accent
#4CDC6B
background
#FEFEFC
surface
#FBFBF3
border
#D4D4CD
text
#13140C
muted
#83837F

Preview Lab

Preview with #AFC952

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

Preview Lab → · Contrast checker → · Palette generator →

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