#AFD74D#AFD74D

#AFD74D is a very light, vivid yellow-green. Relative luminance 0.583; OKLCH L 82.4% C 0.169 H 123.9°. Best body text is #000000 at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#AFD74D
RGBrgb(175, 215, 77)
HSLhsl(77, 63%, 57%)
HSVhsv(77, 64%, 84%)
CMYKcmyk(18.6%, 0%, 64.2%, 15.7%)
CIE-LABlab(80.88, -32.79, 61.53)
CIE-LCHlch(80.88, 69.72, 118.05°)
OKLaboklab(82.39% -0.0943 0.1404)
OKLCHoklch(82.39% 0.169 123.9)
XYZxyz(43.3195, 58.2504, 15.9810)
Luminance0.5825 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD74D #754DD7
analogous
#D7BA4D #AFD74D #6AD74D
triadic
#AFD74D #4DAFD7 #D74DAF
tetradic
#AFD74D #4DD7BA #754DD7 #D74D6A
square
#AFD74D #4DD7BA #754DD7 #D74D6A
split-complementary
#AFD74D #4D6AD7 #BA4DD7
monochromatic
#6B8A1F #92BC2A #AFD74D #C5E27F #DCEDB1

Accessibility & contrast

On white

1.66
#AFD74D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.65
#AFD74D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD74D
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD74D#FFFFFF#000000##000000
##AFD74D1.001.6612.6512.65
#FFFFFF1.661.0021.0021.00
#00000012.6521.001.001.00
##00000012.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CA3B
Deuteranopia (green-blind)
#DDC857
Tritanopia (blue-blind)
#B7CDBB
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #afd74d;
/* rgb */ color: rgb(175, 215, 77);
/* oklch */ color: oklch(82.4% 0.169 123.9);
Tailwind
colors: {
  custom: {
    50: '#cae385',
    500: '#afd74d',
    950: '#000000',
  },
}
SCSS
$custom: #afd74d;
$custom-light: #cae385;
$custom-dark: #000000;
JSON
{
  "hex": "#afd74d",
  "rgb": {
    "r": 175,
    "g": 215,
    "b": 77
  },
  "hsl": {
    "h": 77.391,
    "s": 63.303,
    "l": 57.255
  },
  "oklch": {
    "l": 0.82393,
    "c": 0.16912,
    "h": 123.9
  },
  "luminance": 0.58251
}

Semantic roles & 50–950 ramp

primary
#AFD74D
secondary
#513890
accent
#41E671
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #AFD74D

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

Preview Lab → · Contrast checker → · Palette generator →

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