#AFD437#AFD437

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

Color values

HEX#AFD437
RGBrgb(175, 212, 55)
HSLhsl(74, 65%, 52%)
HSVhsv(74, 74%, 83%)
CMYKcmyk(17.5%, 0%, 74.1%, 16.9%)
CIE-LABlab(79.88, -32.72, 68.62)
CIE-LCHlch(79.88, 76.02, 115.49°)
OKLaboklab(81.55% -0.096 0.152)
OKLCHoklch(81.55% 0.18 122.3)
XYZxyz(41.9129, 56.4766, 12.3067)
Luminance0.5648 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD437 #5C37D4
analogous
#D4AA37 #AFD437 #61D437
triadic
#AFD437 #37AFD4 #D437AF
tetradic
#AFD437 #37D4AA #5C37D4 #D43761
square
#AFD437 #37D4AA #5C37D4 #D43761
split-complementary
#AFD437 #3761D4 #AA37D4
monochromatic
#61771A #8AA924 #AFD437 #C3DF69 #D7EA9C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFD437#FFFFFF#000000##000000
##AFD4371.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)
#E1C714
Deuteranopia (green-blind)
#DCC645
Tritanopia (blue-blind)
#B8C9B6
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #afd437;
/* rgb */ color: rgb(175, 212, 55);
/* oklch */ color: oklch(81.5% 0.180 122.3);
Tailwind
colors: {
  custom: {
    50: '#cbe179',
    500: '#afd437',
    950: '#000000',
  },
}
SCSS
$custom: #afd437;
$custom-light: #cbe179;
$custom-dark: #000000;
JSON
{
  "hex": "#afd437",
  "rgb": {
    "r": 175,
    "g": 212,
    "b": 55
  },
  "hsl": {
    "h": 74.14,
    "s": 64.609,
    "l": 52.353
  },
  "oklch": {
    "l": 0.81545,
    "c": 0.17977,
    "h": 122.3
  },
  "luminance": 0.56477
}

Semantic roles & 50–950 ramp

primary
#AFD437
secondary
#43307F
accent
#40E868
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #AFD437

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

Preview Lab → · Contrast checker → · Palette generator →

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