#AFD74C#AFD74C

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

Color values

HEX#AFD74C
RGBrgb(175, 215, 76)
HSLhsl(77, 63%, 57%)
HSVhsv(77, 65%, 84%)
CMYKcmyk(18.6%, 0%, 64.7%, 15.7%)
CIE-LABlab(80.87, -32.86, 61.93)
CIE-LCHlch(80.87, 70.11, 117.95°)
OKLaboklab(82.39% -0.0946 0.141)
OKLCHoklch(82.39% 0.17 123.9)
XYZxyz(43.2845, 58.2363, 15.7965)
Luminance0.5824 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD74C #744CD7
analogous
#D7B94C #AFD74C #6AD74C
triadic
#AFD74C #4CAFD7 #D74CAF
tetradic
#AFD74C #4CD7B9 #744CD7 #D74C6A
square
#AFD74C #4CD7B9 #744CD7 #D74C6A
split-complementary
#AFD74C #4C6AD7 #B94CD7
monochromatic
#6B8A1F #92BC2A #AFD74C #C5E27E #DCEDB0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFD74C#FFFFFF#000000##000000
##AFD74C1.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)
#E3CA3A
Deuteranopia (green-blind)
#DDC856
Tritanopia (blue-blind)
#B7CDBA
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #afd74c;
/* rgb */ color: rgb(175, 215, 76);
/* oklch */ color: oklch(82.4% 0.170 123.9);
Tailwind
colors: {
  custom: {
    50: '#cae385',
    500: '#afd74c',
    950: '#000000',
  },
}
SCSS
$custom: #afd74c;
$custom-light: #cae385;
$custom-dark: #000000;
JSON
{
  "hex": "#afd74c",
  "rgb": {
    "r": 175,
    "g": 215,
    "b": 76
  },
  "hsl": {
    "h": 77.266,
    "s": 63.47,
    "l": 57.059
  },
  "oklch": {
    "l": 0.82385,
    "c": 0.16984,
    "h": 123.9
  },
  "luminance": 0.58237
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFD74C

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

Preview Lab → · Contrast checker → · Palette generator →

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