#AFD65C#AFD65C

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

Color values

HEX#AFD65C
RGBrgb(175, 214, 92)
HSLhsl(79, 60%, 60%)
HSVhsv(79, 57%, 84%)
CMYKcmyk(18.2%, 0%, 57%, 16.1%)
CIE-LABlab(80.73, -31.14, 54.98)
CIE-LCHlch(80.73, 63.19, 119.53°)
OKLaboklab(82.31% -0.0884 0.1282)
OKLCHoklch(82.31% 0.156 124.6)
XYZxyz(43.6577, 57.9794, 19.0143)
Luminance0.5798 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD65C #835CD6
analogous
#D6C05C #AFD65C #72D65C
triadic
#AFD65C #5CAFD6 #D65CAF
tetradic
#AFD65C #5CD6C0 #835CD6 #D65C72
square
#AFD65C #5CD6C0 #835CD6 #D65C72
split-complementary
#AFD65C #5C72D6 #C05CD6
monochromatic
#709325 #95C431 #AFD65C #C7E28D #DFEFBE

Accessibility & contrast

On white

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

On black

12.60
#AFD65C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD65C
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD65C#FFFFFF#000000##000000
##AFD65C1.001.6712.6012.60
#FFFFFF1.671.0021.0021.00
#00000012.6021.001.001.00
##00000012.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CA4F
Deuteranopia (green-blind)
#DBC864
Tritanopia (blue-blind)
#B6CDBB
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #afd65c;
/* rgb */ color: rgb(175, 214, 92);
/* oklch */ color: oklch(82.3% 0.156 124.6);
Tailwind
colors: {
  custom: {
    50: '#c9e28e',
    500: '#afd65c',
    950: '#000000',
  },
}
SCSS
$custom: #afd65c;
$custom-light: #c9e28e;
$custom-dark: #000000;
JSON
{
  "hex": "#afd65c",
  "rgb": {
    "r": 175,
    "g": 214,
    "b": 92
  },
  "hsl": {
    "h": 79.18,
    "s": 59.804,
    "l": 60
  },
  "oklch": {
    "l": 0.82314,
    "c": 0.15574,
    "h": 124.6
  },
  "luminance": 0.5798
}

Semantic roles & 50–950 ramp

primary
#AFD65C
secondary
#5B3E98
accent
#45E377
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#13150D
muted
#83847F

Preview Lab

Preview with #AFD65C

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

Preview Lab → · Contrast checker → · Palette generator →

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