#AFD65F#AFD65F

#AFD65F is a very light, vivid yellow-green. Relative luminance 0.580; OKLCH L 82.3% C 0.153 H 124.8°. Best body text is #000000 at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#AFD65F
RGBrgb(175, 214, 95)
HSLhsl(80, 59%, 61%)
HSVhsv(80, 56%, 84%)
CMYKcmyk(18.2%, 0%, 55.6%, 16.1%)
CIE-LABlab(80.76, -30.88, 53.67)
CIE-LCHlch(80.76, 61.92, 119.91°)
OKLaboklab(82.35% -0.0874 0.1257)
OKLCHoklch(82.35% 0.153 124.8)
XYZxyz(43.7914, 58.0329, 19.7187)
Luminance0.5803 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD65F #865FD6
analogous
#D6C15F #AFD65F #73D65F
triadic
#AFD65F #5FAFD6 #D65FAF
tetradic
#AFD65F #5FD6C1 #865FD6 #D65F73
square
#AFD65F #5FD6C1 #865FD6 #D65F73
split-complementary
#AFD65F #5F73D6 #C15FD6
monochromatic
#709526 #95C533 #AFD65F #C7E290 #E0EFC0

Accessibility & contrast

On white

1.67
#AFD65F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.61
#AFD65F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD65F
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD65F#FFFFFF#000000##000000
##AFD65F1.001.6712.6112.61
#FFFFFF1.671.0021.0021.00
#00000012.6121.001.001.00
##00000012.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CA53
Deuteranopia (green-blind)
#DBC867
Tritanopia (blue-blind)
#B6CDBC
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #afd65f;
/* rgb */ color: rgb(175, 214, 95);
/* oklch */ color: oklch(82.3% 0.153 124.8);
Tailwind
colors: {
  custom: {
    50: '#c9e290',
    500: '#afd65f',
    950: '#000000',
  },
}
SCSS
$custom: #afd65f;
$custom-light: #c9e290;
$custom-dark: #000000;
JSON
{
  "hex": "#afd65f",
  "rgb": {
    "r": 175,
    "g": 214,
    "b": 95
  },
  "hsl": {
    "h": 79.664,
    "s": 59.204,
    "l": 60.588
  },
  "oklch": {
    "l": 0.82348,
    "c": 0.1531,
    "h": 124.8
  },
  "luminance": 0.58033
}

Semantic roles & 50–950 ramp

primary
#AFD65F
secondary
#5D409A
accent
#1FC756
background
#FEFEFC
surface
#FAFCF4
border
#D3D5CE
text
#13150D
muted
#83847F

Preview Lab

Preview with #AFD65F

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

Preview Lab → · Contrast checker → · Palette generator →

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