#AFD54B#AFD54B

#AFD54B is a light, vivid yellow-green. Relative luminance 0.572; OKLCH L 81.9% C 0.168 H 123.3°. Best body text is #000000 at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#AFD54B
RGBrgb(175, 213, 75)
HSLhsl(77, 62%, 56%)
HSVhsv(77, 65%, 84%)
CMYKcmyk(17.8%, 0%, 64.8%, 16.5%)
CIE-LABlab(80.30, -32.00, 61.72)
CIE-LCHlch(80.30, 69.53, 117.41°)
OKLaboklab(81.92% -0.0923 0.1405)
OKLCHoklch(81.92% 0.168 123.3)
XYZxyz(42.7438, 57.2102, 15.4461)
Luminance0.5721 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD54B #714BD5
analogous
#D5B64B #AFD54B #6AD54B
triadic
#AFD54B #4BAFD5 #D54BAF
tetradic
#AFD54B #4BD5B6 #714BD5 #D54B6A
square
#AFD54B #4BD5B6 #714BD5 #D54B6A
split-complementary
#AFD54B #4B6AD5 #B64BD5
monochromatic
#6A861F #91B82B #AFD54B #C5E17D #DBECAE

Accessibility & contrast

On white

1.69
#AFD54B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.44
#AFD54B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD54B
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD54B#FFFFFF#000000##000000
##AFD54B1.001.6912.4412.44
#FFFFFF1.691.0021.0021.00
#00000012.4421.001.001.00
##00000012.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C839
Deuteranopia (green-blind)
#DCC755
Tritanopia (blue-blind)
#B7CBB9
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #afd54b;
/* rgb */ color: rgb(175, 213, 75);
/* oklch */ color: oklch(81.9% 0.168 123.3);
Tailwind
colors: {
  custom: {
    50: '#cae284',
    500: '#afd54b',
    950: '#000000',
  },
}
SCSS
$custom: #afd54b;
$custom-light: #cae284;
$custom-dark: #000000;
JSON
{
  "hex": "#afd54b",
  "rgb": {
    "r": 175,
    "g": 213,
    "b": 75
  },
  "hsl": {
    "h": 76.522,
    "s": 62.162,
    "l": 56.471
  },
  "oklch": {
    "l": 0.8192,
    "c": 0.16812,
    "h": 123.3
  },
  "luminance": 0.5721
}

Semantic roles & 50–950 ramp

primary
#AFD54B
secondary
#4F378D
accent
#43E56F
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #AFD54B

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

Preview Lab → · Contrast checker → · Palette generator →

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