#AFD55B#AFD55B

#AFD55B is a very light, vivid yellow-green. Relative luminance 0.575; OKLCH L 82.1% C 0.155 H 124.3°. Best body text is #000000 at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#AFD55B
RGBrgb(175, 213, 91)
HSLhsl(79, 59%, 60%)
HSVhsv(79, 57%, 84%)
CMYKcmyk(17.8%, 0%, 57.3%, 16.5%)
CIE-LABlab(80.44, -30.76, 55.10)
CIE-LCHlch(80.44, 63.10, 119.18°)
OKLaboklab(82.08% -0.0874 0.1284)
OKLCHoklch(82.08% 0.155 124.3)
XYZxyz(43.3619, 57.4575, 18.7015)
Luminance0.5746 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD55B #815BD5
analogous
#D5BE5B #AFD55B #72D55B
triadic
#AFD55B #5BAFD5 #D55BAF
tetradic
#AFD55B #5BD5BE #815BD5 #D55B72
square
#AFD55B #5BD5BE #815BD5 #D55B72
split-complementary
#AFD55B #5B72D5 #BE5BD5
monochromatic
#6F9125 #95C132 #AFD55B #C7E18C #DFEEBC

Accessibility & contrast

On white

1.68
#AFD55B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.49
#AFD55B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD55B
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD55B#FFFFFF#000000##000000
##AFD55B1.001.6812.4912.49
#FFFFFF1.681.0021.0021.00
#00000012.4921.001.001.00
##00000012.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C94E
Deuteranopia (green-blind)
#DBC763
Tritanopia (blue-blind)
#B6CCBA
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #afd55b;
/* rgb */ color: rgb(175, 213, 91);
/* oklch */ color: oklch(82.1% 0.155 124.3);
Tailwind
colors: {
  custom: {
    50: '#c9e28d',
    500: '#afd55b',
    950: '#000000',
  },
}
SCSS
$custom: #afd55b;
$custom-light: #c9e28d;
$custom-dark: #000000;
JSON
{
  "hex": "#afd55b",
  "rgb": {
    "r": 175,
    "g": 213,
    "b": 91
  },
  "hsl": {
    "h": 78.689,
    "s": 59.223,
    "l": 59.608
  },
  "oklch": {
    "l": 0.82076,
    "c": 0.1553,
    "h": 124.3
  },
  "luminance": 0.57458
}

Semantic roles & 50–950 ramp

primary
#AFD55B
secondary
#5A3E96
accent
#45E276
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#13150C
muted
#83847F

Preview Lab

Preview with #AFD55B

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

Preview Lab → · Contrast checker → · Palette generator →

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