#AFD039#AFD039

#AFD039 is a light, vivid yellow-green. Relative luminance 0.545; OKLCH L 80.6% C 0.174 H 121.3°. Best body text is #000000 at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#AFD039
RGBrgb(175, 208, 57)
HSLhsl(73, 62%, 52%)
HSVhsv(73, 73%, 82%)
CMYKcmyk(15.9%, 0%, 72.6%, 18.4%)
CIE-LABlab(78.76, -30.76, 66.88)
CIE-LCHlch(78.76, 73.61, 114.70°)
OKLaboklab(80.64% -0.0905 0.1486)
OKLCHoklch(80.64% 0.174 121.3)
XYZxyz(40.9742, 54.5211, 12.2351)
Luminance0.5452 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD039 #5A39D0
analogous
#D0A639 #AFD039 #63D039
triadic
#AFD039 #39AFD0 #D039AF
tetradic
#AFD039 #39D0A6 #5A39D0 #D03963
square
#AFD039 #39D0A6 #5A39D0 #D03963
split-complementary
#AFD039 #3963D0 #A639D0
monochromatic
#60731B #89A527 #AFD039 #C3DC6A #D7E79C

Accessibility & contrast

On white

1.76
#AFD039 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.90
#AFD039 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD039
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD039#FFFFFF#000000##000000
##AFD0391.001.7611.9011.90
#FFFFFF1.761.0021.0021.00
#00000011.9021.001.001.00
##00000011.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC41B
Deuteranopia (green-blind)
#D9C346
Tritanopia (blue-blind)
#B9C5B3
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #afd039;
/* rgb */ color: rgb(175, 208, 57);
/* oklch */ color: oklch(80.6% 0.174 121.3);
Tailwind
colors: {
  custom: {
    50: '#cade7a',
    500: '#afd039',
    950: '#000000',
  },
}
SCSS
$custom: #afd039;
$custom-light: #cade7a;
$custom-dark: #000000;
JSON
{
  "hex": "#afd039",
  "rgb": {
    "r": 175,
    "g": 208,
    "b": 57
  },
  "hsl": {
    "h": 73.113,
    "s": 61.633,
    "l": 51.961
  },
  "oklch": {
    "l": 0.80644,
    "c": 0.17401,
    "h": 121.3
  },
  "luminance": 0.54521
}

Semantic roles & 50–950 ramp

primary
#AFD039
secondary
#42317C
accent
#43E566
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #AFD039

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

Preview Lab → · Contrast checker → · Palette generator →

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