#AFD07F#AFD07F

#AFD07F is a light, moderate yellow-green. Relative luminance 0.558; OKLCH L 81.4% C 0.112 H 126.8°. Best body text is #000000 at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#AFD07F
RGBrgb(175, 208, 127)
HSLhsl(84, 46%, 66%)
HSVhsv(84, 39%, 82%)
CMYKcmyk(15.9%, 0%, 38.9%, 18.4%)
CIE-LABlab(79.48, -24.55, 36.65)
CIE-LCHlch(79.48, 44.12, 123.81°)
OKLaboklab(81.45% -0.0674 0.09)
OKLCHoklch(81.45% 0.112 126.8)
XYZxyz(44.0654, 55.7576, 28.5153)
Luminance0.5576 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD07F #A07FD0
analogous
#D0C87F #AFD07F #86D07F
triadic
#AFD07F #7FAFD0 #D07FAF
tetradic
#AFD07F #7FD0C8 #A07FD0 #D07F86
square
#AFD07F #7FD0C8 #A07FD0 #D07F86
split-complementary
#AFD07F #7F86D0 #C87FD0
monochromatic
#739C39 #93C052 #AFD07F #CBE0AC #E7F1D9

Accessibility & contrast

On white

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

On black

12.15
#AFD07F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD07F
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD07F#FFFFFF#000000##000000
##AFD07F1.001.7312.1512.15
#FFFFFF1.731.0021.0021.00
#00000012.1521.001.001.00
##00000012.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afd07f;
/* rgb */ color: rgb(175, 208, 127);
/* oklch */ color: oklch(81.4% 0.112 126.8);
Tailwind
colors: {
  custom: {
    50: '#c8dea5',
    500: '#afd07f',
    950: '#000000',
  },
}
SCSS
$custom: #afd07f;
$custom-light: #c8dea5;
$custom-dark: #000000;
JSON
{
  "hex": "#afd07f",
  "rgb": {
    "r": 175,
    "g": 208,
    "b": 127
  },
  "hsl": {
    "h": 84.444,
    "s": 46.286,
    "l": 65.686
  },
  "oklch": {
    "l": 0.81446,
    "c": 0.11244,
    "h": 126.8
  },
  "luminance": 0.55758
}

Semantic roles & 50–950 ramp

primary
#AFD07F
secondary
#7252A1
accent
#2CBA66
background
#FDFEFC
surface
#F9FCF6
border
#D2D5D0
text
#13150F
muted
#828480

Preview Lab

Preview with #AFD07F

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

Preview Lab → · Contrast checker → · Palette generator →

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