#AFD737#AFD737

#AFD737 is a very light, vivid yellow-green. Relative luminance 0.580; OKLCH L 82.2% C 0.183 H 123.0°. Best body text is #000000 at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#AFD737
RGBrgb(175, 215, 55)
HSLhsl(75, 67%, 53%)
HSVhsv(75, 74%, 84%)
CMYKcmyk(18.6%, 0%, 74.4%, 15.7%)
CIE-LABlab(80.73, -34.10, 69.43)
CIE-LCHlch(80.73, 77.35, 116.16°)
OKLaboklab(82.23% -0.0998 0.1537)
OKLCHoklch(82.23% 0.183 123)
XYZxyz(42.6698, 57.9905, 12.5590)
Luminance0.5799 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD737 #5F37D7
analogous
#D7AF37 #AFD737 #5FD737
triadic
#AFD737 #37AFD7 #D737AF
tetradic
#AFD737 #37D7AF #5F37D7 #D7375F
square
#AFD737 #37D7AF #5F37D7 #D7375F
split-complementary
#AFD737 #375FD7 #AF37D7
monochromatic
#627B19 #8BAE23 #AFD737 #C3E16A #D8EB9D

Accessibility & contrast

On white

1.67
#AFD737 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.60
#AFD737 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD737
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD737#FFFFFF#000000##000000
##AFD7371.001.6712.6012.60
#FFFFFF1.671.0021.0021.00
#00000012.6021.001.001.00
##00000012.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4C912
Deuteranopia (green-blind)
#DEC846
Tritanopia (blue-blind)
#B8CCB9
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #afd737;
/* rgb */ color: rgb(175, 215, 55);
/* oklch */ color: oklch(82.2% 0.183 123.0);
Tailwind
colors: {
  custom: {
    50: '#cbe379',
    500: '#afd737',
    950: '#000000',
  },
}
SCSS
$custom: #afd737;
$custom-light: #cbe379;
$custom-dark: #000000;
JSON
{
  "hex": "#afd737",
  "rgb": {
    "r": 175,
    "g": 215,
    "b": 55
  },
  "hsl": {
    "h": 75,
    "s": 66.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.82231,
    "c": 0.18326,
    "h": 123
  },
  "luminance": 0.57991
}

Semantic roles & 50–950 ramp

primary
#AFD737
secondary
#443083
accent
#3EEA69
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #AFD737

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

Preview Lab → · Contrast checker → · Palette generator →

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