#AFD450#AFD450

#AFD450 is a light, vivid yellow-green. Relative luminance 0.568; OKLCH L 81.7% C 0.163 H 123.3°. Best body text is #000000 at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#AFD450
RGBrgb(175, 212, 80)
HSLhsl(77, 61%, 57%)
HSVhsv(77, 62%, 83%)
CMYKcmyk(17.5%, 0%, 62.3%, 16.9%)
CIE-LABlab(80.06, -31.18, 59.42)
CIE-LCHlch(80.06, 67.10, 117.69°)
OKLaboklab(81.74% -0.0896 0.1363)
OKLCHoklch(81.74% 0.163 123.3)
XYZxyz(42.6710, 56.7799, 16.2994)
Luminance0.5678 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD450 #7550D4
analogous
#D4B750 #AFD450 #6DD450
triadic
#AFD450 #50AFD4 #D450AF
tetradic
#AFD450 #50D4B7 #7550D4 #D4506D
square
#AFD450 #50D4B7 #7550D4 #D4506D
split-complementary
#AFD450 #506DD4 #B750D4
monochromatic
#6B8821 #92B92E #AFD450 #C5E081 #DCECB2

Accessibility & contrast

On white

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

On black

12.36
#AFD450 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD450
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD450#FFFFFF#000000##000000
##AFD4501.001.7012.3612.36
#FFFFFF1.701.0021.0021.00
#00000012.3621.001.001.00
##00000012.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C840
Deuteranopia (green-blind)
#DBC659
Tritanopia (blue-blind)
#B7CAB8
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #afd450;
/* rgb */ color: rgb(175, 212, 80);
/* oklch */ color: oklch(81.7% 0.163 123.3);
Tailwind
colors: {
  custom: {
    50: '#cae187',
    500: '#afd450',
    950: '#000000',
  },
}
SCSS
$custom: #afd450;
$custom-light: #cae187;
$custom-dark: #000000;
JSON
{
  "hex": "#afd450",
  "rgb": {
    "r": 175,
    "g": 212,
    "b": 80
  },
  "hsl": {
    "h": 76.818,
    "s": 60.55,
    "l": 57.255
  },
  "oklch": {
    "l": 0.81738,
    "c": 0.16309,
    "h": 123.3
  },
  "luminance": 0.5678
}

Semantic roles & 50–950 ramp

primary
#AFD450
secondary
#513A8F
accent
#44E471
background
#FEFEFC
surface
#FBFCF3
border
#D4D5CD
text
#14150C
muted
#83847F

Preview Lab

Preview with #AFD450

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

Preview Lab → · Contrast checker → · Palette generator →

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