#AFD54C#AFD54C

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

Color values

HEX#AFD54C
RGBrgb(175, 213, 76)
HSLhsl(77, 62%, 57%)
HSVhsv(77, 64%, 84%)
CMYKcmyk(17.8%, 0%, 64.3%, 16.5%)
CIE-LABlab(80.31, -31.93, 61.33)
CIE-LCHlch(80.31, 69.14, 117.51°)
OKLaboklab(81.93% -0.0921 0.1398)
OKLCHoklch(81.93% 0.167 123.4)
XYZxyz(42.7783, 57.2240, 15.6277)
Luminance0.5722 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD54C #724CD5
analogous
#D5B64C #AFD54C #6BD54C
triadic
#AFD54C #4CAFD5 #D54CAF
tetradic
#AFD54C #4CD5B6 #724CD5 #D54C6B
square
#AFD54C #4CD5B6 #724CD5 #D54C6B
split-complementary
#AFD54C #4C6BD5 #B64CD5
monochromatic
#6A8720 #91B92B #AFD54C #C5E17E #DBECAF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFD54C#FFFFFF#000000##000000
##AFD54C1.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)
#E1C83A
Deuteranopia (green-blind)
#DCC756
Tritanopia (blue-blind)
#B7CBB9
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #afd54c;
/* rgb */ color: rgb(175, 213, 76);
/* oklch */ color: oklch(81.9% 0.167 123.4);
Tailwind
colors: {
  custom: {
    50: '#cae284',
    500: '#afd54c',
    950: '#000000',
  },
}
SCSS
$custom: #afd54c;
$custom-light: #cae284;
$custom-dark: #000000;
JSON
{
  "hex": "#afd54c",
  "rgb": {
    "r": 175,
    "g": 213,
    "b": 76
  },
  "hsl": {
    "h": 76.642,
    "s": 61.991,
    "l": 56.667
  },
  "oklch": {
    "l": 0.81929,
    "c": 0.16737,
    "h": 123.4
  },
  "luminance": 0.57224
}

Semantic roles & 50–950 ramp

primary
#AFD54C
secondary
#50388D
accent
#43E570
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #AFD54C

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

Preview Lab → · Contrast checker → · Palette generator →

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