#AFD454#AFD454

#AFD454 is a light, vivid yellow-green. Relative luminance 0.568; OKLCH L 81.8% C 0.160 H 123.6°. Best body text is #000000 at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#AFD454
RGBrgb(175, 212, 84)
HSLhsl(77, 60%, 58%)
HSVhsv(77, 60%, 83%)
CMYKcmyk(17.5%, 0%, 60.4%, 16.9%)
CIE-LABlab(80.09, -30.87, 57.76)
CIE-LCHlch(80.09, 65.50, 118.12°)
OKLaboklab(81.78% -0.0884 0.1333)
OKLCHoklch(81.78% 0.16 123.6)
XYZxyz(42.8232, 56.8408, 17.1011)
Luminance0.5684 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD454 #7954D4
analogous
#D4B954 #AFD454 #6FD454
triadic
#AFD454 #54AFD4 #D454AF
tetradic
#AFD454 #54D4B9 #7954D4 #D4546F
square
#AFD454 #54D4B9 #7954D4 #D4546F
split-complementary
#AFD454 #546FD4 #B954D4
monochromatic
#6D8B23 #93BC2F #AFD454 #C6E085 #DDEDB6

Accessibility & contrast

On white

1.70
#AFD454 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.37
#AFD454 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD454
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD454#FFFFFF#000000##000000
##AFD4541.001.7012.3712.37
#FFFFFF1.701.0021.0021.00
#00000012.3721.001.001.00
##00000012.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC845
Deuteranopia (green-blind)
#DAC65D
Tritanopia (blue-blind)
#B7CAB9
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #afd454;
/* rgb */ color: rgb(175, 212, 84);
/* oklch */ color: oklch(81.8% 0.160 123.6);
Tailwind
colors: {
  custom: {
    50: '#cae189',
    500: '#afd454',
    950: '#000000',
  },
}
SCSS
$custom: #afd454;
$custom-light: #cae189;
$custom-dark: #000000;
JSON
{
  "hex": "#afd454",
  "rgb": {
    "r": 175,
    "g": 212,
    "b": 84
  },
  "hsl": {
    "h": 77.344,
    "s": 59.813,
    "l": 58.039
  },
  "oklch": {
    "l": 0.81776,
    "c": 0.1599,
    "h": 123.6
  },
  "luminance": 0.56841
}

Semantic roles & 50–950 ramp

primary
#AFD454
secondary
#543B91
accent
#45E373
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#13150C
muted
#83847F

Preview Lab

Preview with #AFD454

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

Preview Lab → · Contrast checker → · Palette generator →

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