#AFD74E#AFD74E

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

Color values

HEX#AFD74E
RGBrgb(175, 215, 78)
HSLhsl(78, 63%, 57%)
HSVhsv(78, 64%, 84%)
CMYKcmyk(18.6%, 0%, 63.7%, 15.7%)
CIE-LABlab(80.89, -32.72, 61.14)
CIE-LCHlch(80.89, 69.34, 118.16°)
OKLaboklab(82.4% -0.0941 0.1396)
OKLCHoklch(82.4% 0.168 124)
XYZxyz(43.3551, 58.2646, 16.1684)
Luminance0.5827 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD74E #764ED7
analogous
#D7BA4E #AFD74E #6BD74E
triadic
#AFD74E #4EAFD7 #D74EAF
tetradic
#AFD74E #4ED7BA #764ED7 #D74E6B
square
#AFD74E #4ED7BA #764ED7 #D74E6B
split-complementary
#AFD74E #4E6BD7 #BA4ED7
monochromatic
#6C8B1F #92BD2B #AFD74E #C6E280 #DCEEB2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFD74E#FFFFFF#000000##000000
##AFD74E1.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)
#E3CA3C
Deuteranopia (green-blind)
#DDC858
Tritanopia (blue-blind)
#B7CDBB
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #afd74e;
/* rgb */ color: rgb(175, 215, 78);
/* oklch */ color: oklch(82.4% 0.168 124.0);
Tailwind
colors: {
  custom: {
    50: '#cae386',
    500: '#afd74e',
    950: '#000000',
  },
}
SCSS
$custom: #afd74e;
$custom-light: #cae386;
$custom-dark: #000000;
JSON
{
  "hex": "#afd74e",
  "rgb": {
    "r": 175,
    "g": 215,
    "b": 78
  },
  "hsl": {
    "h": 77.518,
    "s": 63.134,
    "l": 57.451
  },
  "oklch": {
    "l": 0.82402,
    "c": 0.16836,
    "h": 124
  },
  "luminance": 0.58265
}

Semantic roles & 50–950 ramp

primary
#AFD74E
secondary
#523891
accent
#42E672
background
#FEFEFC
surface
#FBFCF3
border
#D4D5CD
text
#14150C
muted
#83847F

Preview Lab

Preview with #AFD74E

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

Preview Lab → · Contrast checker → · Palette generator →

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