#AFD265#AFD265

#AFD265 is a light, vivid yellow-green. Relative luminance 0.561; OKLCH L 81.5% C 0.142 H 124.2°. Best body text is #000000 at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#AFD265
RGBrgb(175, 210, 101)
HSLhsl(79, 55%, 61%)
HSVhsv(79, 52%, 82%)
CMYKcmyk(16.7%, 0%, 51.9%, 17.6%)
CIE-LABlab(79.70, -28.43, 49.67)
CIE-LCHlch(79.70, 57.23, 119.79°)
OKLaboklab(81.52% -0.08 0.1176)
OKLCHoklch(81.52% 0.142 124.2)
XYZxyz(43.0748, 56.1465, 20.8774)
Luminance0.5615 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD265 #8865D2
analogous
#D2BE65 #AFD265 #78D265
triadic
#AFD265 #65AFD2 #D265AF
tetradic
#AFD265 #65D2BE #8865D2 #D26578
square
#AFD265 #65D2BE #8865D2 #D26578
split-complementary
#AFD265 #6578D2 #BE65D2
monochromatic
#71922B #95C138 #AFD265 #C8E094 #E0EEC4

Accessibility & contrast

On white

1.72
#AFD265 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.23
#AFD265 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD265
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD265#FFFFFF#000000##000000
##AFD2651.001.7212.2312.23
#FFFFFF1.721.0021.0021.00
#00000012.2321.001.001.00
##00000012.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC75B
Deuteranopia (green-blind)
#D7C56C
Tritanopia (blue-blind)
#B6C9B9
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #afd265;
/* rgb */ color: rgb(175, 210, 101);
/* oklch */ color: oklch(81.5% 0.142 124.2);
Tailwind
colors: {
  custom: {
    50: '#c9e094',
    500: '#afd265',
    950: '#000000',
  },
}
SCSS
$custom: #afd265;
$custom-light: #c9e094;
$custom-dark: #000000;
JSON
{
  "hex": "#afd265",
  "rgb": {
    "r": 175,
    "g": 210,
    "b": 101
  },
  "hsl": {
    "h": 79.266,
    "s": 54.774,
    "l": 60.98
  },
  "oklch": {
    "l": 0.81515,
    "c": 0.14223,
    "h": 124.2
  },
  "luminance": 0.56147
}

Semantic roles & 50–950 ramp

primary
#AFD265
secondary
#5F4498
accent
#23C256
background
#FEFEFC
surface
#FAFCF4
border
#D3D5CE
text
#13150D
muted
#83847F

Preview Lab

Preview with #AFD265

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

Preview Lab → · Contrast checker → · Palette generator →

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