#AFD339#AFD339

#AFD339 is a light, vivid yellow-green. Relative luminance 0.560; OKLCH L 81.3% C 0.177 H 122.1°. Best body text is #000000 at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#AFD339
RGBrgb(175, 211, 57)
HSLhsl(74, 64%, 53%)
HSVhsv(74, 73%, 83%)
CMYKcmyk(17.1%, 0%, 73%, 17.3%)
CIE-LABlab(79.61, -32.16, 67.69)
CIE-LCHlch(79.61, 74.94, 115.41°)
OKLaboklab(81.33% -0.0943 0.1504)
OKLCHoklch(81.33% 0.177 122.1)
XYZxyz(41.7126, 55.9978, 12.4812)
Luminance0.5600 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD339 #5D39D3
analogous
#D3AA39 #AFD339 #62D339
triadic
#AFD339 #39AFD3 #D339AF
tetradic
#AFD339 #39D3AA #5D39D3 #D33962
square
#AFD339 #39D3AA #5D39D3 #D33962
split-complementary
#AFD339 #3962D3 #AA39D3
monochromatic
#61771A #8AA926 #AFD339 #C3DE6B #D7E99D

Accessibility & contrast

On white

1.72
#AFD339 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.20
#AFD339 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD339
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD339#FFFFFF#000000##000000
##AFD3391.001.7212.2012.20
#FFFFFF1.721.0021.0021.00
#00000012.2021.001.001.00
##00000012.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C61A
Deuteranopia (green-blind)
#DBC547
Tritanopia (blue-blind)
#B8C8B5
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #afd339;
/* rgb */ color: rgb(175, 211, 57);
/* oklch */ color: oklch(81.3% 0.177 122.1);
Tailwind
colors: {
  custom: {
    50: '#cbe07a',
    500: '#afd339',
    950: '#000000',
  },
}
SCSS
$custom: #afd339;
$custom-light: #cbe07a;
$custom-dark: #000000;
JSON
{
  "hex": "#afd339",
  "rgb": {
    "r": 175,
    "g": 211,
    "b": 57
  },
  "hsl": {
    "h": 74.026,
    "s": 63.636,
    "l": 52.549
  },
  "oklch": {
    "l": 0.81329,
    "c": 0.17749,
    "h": 122.1
  },
  "luminance": 0.55998
}

Semantic roles & 50–950 ramp

primary
#AFD339
secondary
#43317F
accent
#41E768
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #AFD339

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

Preview Lab → · Contrast checker → · Palette generator →

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