#AFD439#AFD439

#AFD439 is a light, vivid yellow-green. Relative luminance 0.565; OKLCH L 81.6% C 0.179 H 122.4°. Best body text is #000000 at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#AFD439
RGBrgb(175, 212, 57)
HSLhsl(74, 64%, 53%)
HSVhsv(74, 73%, 83%)
CMYKcmyk(17.5%, 0%, 73.1%, 16.9%)
CIE-LABlab(79.90, -32.62, 67.97)
CIE-LCHlch(79.90, 75.39, 115.64°)
OKLaboklab(81.56% -0.0956 0.1509)
OKLCHoklch(81.56% 0.179 122.4)
XYZxyz(41.9618, 56.4962, 12.5643)
Luminance0.5650 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD439 #5E39D4
analogous
#D4AC39 #AFD439 #61D439
triadic
#AFD439 #39AFD4 #D439AF
tetradic
#AFD439 #39D4AC #5E39D4 #D43961
square
#AFD439 #39D4AC #5E39D4 #D43961
split-complementary
#AFD439 #3961D4 #AC39D4
monochromatic
#62781A #8BAB25 #AFD439 #C3DF6B #D8EA9E

Accessibility & contrast

On white

1.71
#AFD439 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.30
#AFD439 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD439
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD439#FFFFFF#000000##000000
##AFD4391.001.7112.3012.30
#FFFFFF1.711.0021.0021.00
#00000012.3021.001.001.00
##00000012.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C719
Deuteranopia (green-blind)
#DCC647
Tritanopia (blue-blind)
#B8C9B6
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #afd439;
/* rgb */ color: rgb(175, 212, 57);
/* oklch */ color: oklch(81.6% 0.179 122.4);
Tailwind
colors: {
  custom: {
    50: '#cbe17a',
    500: '#afd439',
    950: '#000000',
  },
}
SCSS
$custom: #afd439;
$custom-light: #cbe17a;
$custom-dark: #000000;
JSON
{
  "hex": "#afd439",
  "rgb": {
    "r": 175,
    "g": 212,
    "b": 57
  },
  "hsl": {
    "h": 74.323,
    "s": 64.315,
    "l": 52.745
  },
  "oklch": {
    "l": 0.81557,
    "c": 0.17866,
    "h": 122.4
  },
  "luminance": 0.56496
}

Semantic roles & 50–950 ramp

primary
#AFD439
secondary
#443180
accent
#40E768
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #AFD439

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

Preview Lab → · Contrast checker → · Palette generator →

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