#AFD337#AFD337

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

Color values

HEX#AFD337
RGBrgb(175, 211, 55)
HSLhsl(74, 64%, 52%)
HSVhsv(74, 74%, 83%)
CMYKcmyk(17.1%, 0%, 73.9%, 17.3%)
CIE-LABlab(79.60, -32.26, 68.35)
CIE-LCHlch(79.60, 75.58, 115.26°)
OKLaboklab(81.32% -0.0948 0.1514)
OKLCHoklch(81.32% 0.179 122)
XYZxyz(41.6637, 55.9782, 12.2236)
Luminance0.5598 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD337 #5B37D3
analogous
#D3A937 #AFD337 #61D337
triadic
#AFD337 #37AFD3 #D337AF
tetradic
#AFD337 #37D3A9 #5B37D3 #D33761
square
#AFD337 #37D3A9 #5B37D3 #D33761
split-complementary
#AFD337 #3761D3 #A937D3
monochromatic
#61761A #8AA825 #AFD337 #C3DE69 #D7E99B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFD337#FFFFFF#000000##000000
##AFD3371.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)
#E0C614
Deuteranopia (green-blind)
#DBC545
Tritanopia (blue-blind)
#B8C8B5
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #afd337;
/* rgb */ color: rgb(175, 211, 55);
/* oklch */ color: oklch(81.3% 0.179 122.0);
Tailwind
colors: {
  custom: {
    50: '#cbe079',
    500: '#afd337',
    950: '#000000',
  },
}
SCSS
$custom: #afd337;
$custom-light: #cbe079;
$custom-dark: #000000;
JSON
{
  "hex": "#afd337",
  "rgb": {
    "r": 175,
    "g": 211,
    "b": 55
  },
  "hsl": {
    "h": 73.846,
    "s": 63.934,
    "l": 52.157
  },
  "oklch": {
    "l": 0.81316,
    "c": 0.17862,
    "h": 122
  },
  "luminance": 0.55978
}

Semantic roles & 50–950 ramp

primary
#AFD337
secondary
#42307E
accent
#41E767
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #AFD337

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

Preview Lab → · Contrast checker → · Palette generator →

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