#AFDF74#AFDF74

#AFDF74 is a very light, vivid yellow-green. Relative luminance 0.631; OKLCH L 84.7% C 0.146 H 129.0°. Best body text is #000000 at 13.63:1 contrast (WCAG AA passes).

Color values

HEX#AFDF74
RGBrgb(175, 223, 116)
HSLhsl(87, 63%, 66%)
HSVhsv(87, 48%, 87%)
CMYKcmyk(21.5%, 0%, 48%, 12.5%)
CIE-LABlab(83.52, -32.97, 47.16)
CIE-LCHlch(83.52, 57.54, 124.96°)
OKLaboklab(84.65% -0.0916 0.1132)
OKLCHoklch(84.65% 0.146 129)
XYZxyz(47.2188, 63.1494, 26.2209)
Luminance0.6315 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDF74 #A474DF
analogous
#DFDA74 #AFDF74 #7ADF74
triadic
#AFDF74 #74AFDF #DF74AF
tetradic
#AFDF74 #74DFDA #A474DF #DF747A
square
#AFDF74 #74DFDA #A474DF #DF747A
split-complementary
#AFDF74 #747ADF #DA74DF
monochromatic
#73B029 #92D442 #AFDF74 #CCEAA6 #E8F6D7

Accessibility & contrast

On white

1.54
#AFDF74 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.63
#AFDF74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFDF74
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFDF74#FFFFFF#000000##000000
##AFDF741.001.5413.6313.63
#FFFFFF1.541.0021.0021.00
#00000013.6321.001.001.00
##00000013.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D26B
Deuteranopia (green-blind)
#E1CF7A
Tritanopia (blue-blind)
#B3D7C6
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #afdf74;
/* rgb */ color: rgb(175, 223, 116);
/* oklch */ color: oklch(84.7% 0.146 129.0);
Tailwind
colors: {
  custom: {
    50: '#c9e99e',
    500: '#afdf74',
    950: '#000000',
  },
}
SCSS
$custom: #afdf74;
$custom-light: #c9e99e;
$custom-dark: #000000;
JSON
{
  "hex": "#afdf74",
  "rgb": {
    "r": 175,
    "g": 223,
    "b": 116
  },
  "hsl": {
    "h": 86.916,
    "s": 62.573,
    "l": 66.471
  },
  "oklch": {
    "l": 0.84653,
    "c": 0.14557,
    "h": 129
  },
  "luminance": 0.6315
}

Semantic roles & 50–950 ramp

primary
#AFDF74
secondary
#7645B2
accent
#1BCA6A
background
#FEFEFC
surface
#FAFDF5
border
#D3D5CF
text
#13160E
muted
#83847F

Preview Lab

Preview with #AFDF74

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

Preview Lab → · Contrast checker → · Palette generator →

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