#AFCC5B#AFCC5B

#AFCC5B is a light, vivid yellow-green. Relative luminance 0.531; OKLCH L 80.0% C 0.144 H 121.7°. Best body text is #000000 at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#AFCC5B
RGBrgb(175, 204, 91)
HSLhsl(75, 53%, 58%)
HSVhsv(75, 55%, 80%)
CMYKcmyk(14.2%, 0%, 55.4%, 20%)
CIE-LABlab(77.91, -26.49, 52.21)
CIE-LCHlch(77.91, 58.54, 116.90°)
OKLaboklab(80.04% -0.0755 0.1222)
OKLCHoklch(80.04% 0.144 121.7)
XYZxyz(41.1607, 53.0550, 17.9677)
Luminance0.5305 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCC5B #785BCC
analogous
#CCB05B #AFCC5B #77CC5B
triadic
#AFCC5B #5BAFCC #CC5BAF
tetradic
#AFCC5B #5BCCB0 #785BCC #CC5B77
square
#AFCC5B #5BCCB0 #785BCC #CC5B77
split-complementary
#AFCC5B #5B77CC #B05BCC
monochromatic
#6C8429 #93B237 #AFCC5B #C6DB8A #DDE9B8

Accessibility & contrast

On white

1.81
#AFCC5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.61
#AFCC5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCC5B
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCC5B#FFFFFF#000000##000000
##AFCC5B1.001.8111.6111.61
#FFFFFF1.811.0021.0021.00
#00000011.6121.001.001.00
##00000011.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C150
Deuteranopia (green-blind)
#D3C162
Tritanopia (blue-blind)
#B7C3B3
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #afcc5b;
/* rgb */ color: rgb(175, 204, 91);
/* oklch */ color: oklch(80.0% 0.144 121.7);
Tailwind
colors: {
  custom: {
    50: '#c9db8d',
    500: '#afcc5b',
    950: '#000000',
  },
}
SCSS
$custom: #afcc5b;
$custom-light: #c9db8d;
$custom-dark: #000000;
JSON
{
  "hex": "#afcc5b",
  "rgb": {
    "r": 175,
    "g": 204,
    "b": 91
  },
  "hsl": {
    "h": 75.398,
    "s": 52.558,
    "l": 57.843
  },
  "oklch": {
    "l": 0.8004,
    "c": 0.1436,
    "h": 121.7
  },
  "luminance": 0.53055
}

Semantic roles & 50–950 ramp

primary
#AFCC5B
secondary
#53408B
accent
#4CDC71
background
#FEFEFC
surface
#FAFBF4
border
#D3D4CE
text
#13150C
muted
#83847F

Preview Lab

Preview with #AFCC5B

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

Preview Lab → · Contrast checker → · Palette generator →

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