#AFD07D#AFD07D

#AFD07D is a light, moderate yellow-green. Relative luminance 0.557; OKLCH L 81.4% C 0.115 H 126.5°. Best body text is #000000 at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#AFD07D
RGBrgb(175, 208, 125)
HSLhsl(84, 47%, 65%)
HSVhsv(84, 40%, 82%)
CMYKcmyk(15.9%, 0%, 39.9%, 18.4%)
CIE-LABlab(79.45, -24.80, 37.63)
CIE-LCHlch(79.45, 45.07, 123.39°)
OKLaboklab(81.41% -0.0682 0.0922)
OKLCHoklch(81.41% 0.115 126.5)
XYZxyz(43.9364, 55.7060, 27.8357)
Luminance0.5571 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD07D #9E7DD0
analogous
#D0C77D #AFD07D #85D07D
triadic
#AFD07D #7DAFD0 #D07DAF
tetradic
#AFD07D #7DD0C7 #9E7DD0 #D07D85
square
#AFD07D #7DD0C7 #9E7DD0 #D07D85
split-complementary
#AFD07D #7D85D0 #C77DD0
monochromatic
#739B38 #93C050 #AFD07D #CBE0AA #E6F1D7

Accessibility & contrast

On white

1.73
#AFD07D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.14
#AFD07D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD07D
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD07D#FFFFFF#000000##000000
##AFD07D1.001.7312.1412.14
#FFFFFF1.731.0021.0021.00
#00000012.1421.001.001.00
##00000012.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C677
Deuteranopia (green-blind)
#D3C481
Tritanopia (blue-blind)
#B3C9BC
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #afd07d;
/* rgb */ color: rgb(175, 208, 125);
/* oklch */ color: oklch(81.4% 0.115 126.5);
Tailwind
colors: {
  custom: {
    50: '#c8dea4',
    500: '#afd07d',
    950: '#000000',
  },
}
SCSS
$custom: #afd07d;
$custom-light: #c8dea4;
$custom-dark: #000000;
JSON
{
  "hex": "#afd07d",
  "rgb": {
    "r": 175,
    "g": 208,
    "b": 125
  },
  "hsl": {
    "h": 83.855,
    "s": 46.893,
    "l": 65.294
  },
  "oklch": {
    "l": 0.81413,
    "c": 0.11465,
    "h": 126.5
  },
  "luminance": 0.55706
}

Semantic roles & 50–950 ramp

primary
#AFD07D
secondary
#7051A0
accent
#2BBA64
background
#FDFEFC
surface
#F9FCF6
border
#D2D5D0
text
#13150F
muted
#828480

Preview Lab

Preview with #AFD07D

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

Preview Lab → · Contrast checker → · Palette generator →

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