#AFD452#AFD452

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

Color values

HEX#AFD452
RGBrgb(175, 212, 82)
HSLhsl(77, 60%, 58%)
HSVhsv(77, 61%, 83%)
CMYKcmyk(17.5%, 0%, 61.3%, 16.9%)
CIE-LABlab(80.07, -31.03, 58.60)
CIE-LCHlch(80.07, 66.30, 117.90°)
OKLaboklab(81.76% -0.089 0.1348)
OKLCHoklch(81.76% 0.162 123.4)
XYZxyz(42.7460, 56.8099, 16.6944)
Luminance0.5681 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD452 #7752D4
analogous
#D4B852 #AFD452 #6ED452
triadic
#AFD452 #52AFD4 #D452AF
tetradic
#AFD452 #52D4B8 #7752D4 #D4526E
square
#AFD452 #52D4B8 #7752D4 #D4526E
split-complementary
#AFD452 #526ED4 #B852D4
monochromatic
#6C8922 #93BA2E #AFD452 #C6E083 #DCECB4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFD452#FFFFFF#000000##000000
##AFD4521.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)
#DFC843
Deuteranopia (green-blind)
#DBC65B
Tritanopia (blue-blind)
#B7CAB9
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #afd452;
/* rgb */ color: rgb(175, 212, 82);
/* oklch */ color: oklch(81.8% 0.162 123.4);
Tailwind
colors: {
  custom: {
    50: '#cae188',
    500: '#afd452',
    950: '#000000',
  },
}
SCSS
$custom: #afd452;
$custom-light: #cae188;
$custom-dark: #000000;
JSON
{
  "hex": "#afd452",
  "rgb": {
    "r": 175,
    "g": 212,
    "b": 82
  },
  "hsl": {
    "h": 77.077,
    "s": 60.185,
    "l": 57.647
  },
  "oklch": {
    "l": 0.81757,
    "c": 0.16151,
    "h": 123.4
  },
  "luminance": 0.5681
}

Semantic roles & 50–950 ramp

primary
#AFD452
secondary
#533B90
accent
#44E372
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14150C
muted
#83847F

Preview Lab

Preview with #AFD452

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

Preview Lab → · Contrast checker → · Palette generator →

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