#AFD05A#AFD05A

#AFD05A is a light, vivid yellow-green. Relative luminance 0.550; OKLCH L 80.9% C 0.150 H 122.8°. Best body text is #000000 at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#AFD05A
RGBrgb(175, 208, 90)
HSLhsl(77, 56%, 58%)
HSVhsv(77, 57%, 82%)
CMYKcmyk(15.9%, 0%, 56.7%, 18.4%)
CIE-LABlab(79.02, -28.49, 53.93)
CIE-LCHlch(79.02, 61.00, 117.84°)
OKLaboklab(80.93% -0.0812 0.1258)
OKLCHoklch(80.93% 0.15 122.8)
XYZxyz(42.0808, 54.9638, 18.0630)
Luminance0.5496 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD05A #7B5AD0
analogous
#D0B65A #AFD05A #74D05A
triadic
#AFD05A #5AAFD0 #D05AAF
tetradic
#AFD05A #5AD0B6 #7B5AD0 #D05A74
square
#AFD05A #5AD0B6 #7B5AD0 #D05A74
split-complementary
#AFD05A #5A74D0 #B65AD0
monochromatic
#6D8927 #93B834 #AFD05A #C6DE8A #DDEBB9

Accessibility & contrast

On white

1.75
#AFD05A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.99
#AFD05A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD05A
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD05A#FFFFFF#000000##000000
##AFD05A1.001.7511.9911.99
#FFFFFF1.751.0021.0021.00
#00000011.9921.001.001.00
##00000011.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC54E
Deuteranopia (green-blind)
#D7C462
Tritanopia (blue-blind)
#B7C7B6
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #afd05a;
/* rgb */ color: rgb(175, 208, 90);
/* oklch */ color: oklch(80.9% 0.150 122.8);
Tailwind
colors: {
  custom: {
    50: '#c9de8c',
    500: '#afd05a',
    950: '#000000',
  },
}
SCSS
$custom: #afd05a;
$custom-light: #c9de8c;
$custom-dark: #000000;
JSON
{
  "hex": "#afd05a",
  "rgb": {
    "r": 175,
    "g": 208,
    "b": 90
  },
  "hsl": {
    "h": 76.78,
    "s": 55.66,
    "l": 58.431
  },
  "oklch": {
    "l": 0.80933,
    "c": 0.14968,
    "h": 122.8
  },
  "luminance": 0.54964
}

Semantic roles & 50–950 ramp

primary
#AFD05A
secondary
#553F8F
accent
#49DF73
background
#FEFEFC
surface
#FAFCF4
border
#D3D5CE
text
#13150C
muted
#83847F

Preview Lab

Preview with #AFD05A

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

Preview Lab → · Contrast checker → · Palette generator →

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