#AFD34B#AFD34B

#AFD34B is a light, vivid yellow-green. Relative luminance 0.562; OKLCH L 81.5% C 0.166 H 122.8°. Best body text is #000000 at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#AFD34B
RGBrgb(175, 211, 75)
HSLhsl(76, 61%, 56%)
HSVhsv(76, 64%, 83%)
CMYKcmyk(17.1%, 0%, 64.5%, 17.3%)
CIE-LABlab(79.73, -31.07, 61.13)
CIE-LCHlch(79.73, 68.57, 116.94°)
OKLaboklab(81.47% -0.0898 0.1392)
OKLCHoklch(81.47% 0.166 122.8)
XYZxyz(42.2439, 56.2103, 15.2794)
Luminance0.5621 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD34B #6F4BD3
analogous
#D3B34B #AFD34B #6BD34B
triadic
#AFD34B #4BAFD3 #D34BAF
tetradic
#AFD34B #4BD3B3 #6F4BD3 #D34B6B
square
#AFD34B #4BD3B3 #6F4BD3 #D34B6B
split-complementary
#AFD34B #4B6BD3 #B34BD3
monochromatic
#698320 #91B52C #AFD34B #C5DF7C #DBEBAD

Accessibility & contrast

On white

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

On black

12.24
#AFD34B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD34B
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD34B#FFFFFF#000000##000000
##AFD34B1.001.7212.2412.24
#FFFFFF1.721.0021.0021.00
#00000012.2421.001.001.00
##00000012.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC739
Deuteranopia (green-blind)
#DAC555
Tritanopia (blue-blind)
#B7C9B7
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #afd34b;
/* rgb */ color: rgb(175, 211, 75);
/* oklch */ color: oklch(81.5% 0.166 122.8);
Tailwind
colors: {
  custom: {
    50: '#cae084',
    500: '#afd34b',
    950: '#000000',
  },
}
SCSS
$custom: #afd34b;
$custom-light: #cae084;
$custom-dark: #000000;
JSON
{
  "hex": "#afd34b",
  "rgb": {
    "r": 175,
    "g": 211,
    "b": 75
  },
  "hsl": {
    "h": 75.882,
    "s": 60.714,
    "l": 56.078
  },
  "oklch": {
    "l": 0.81465,
    "c": 0.16565,
    "h": 122.8
  },
  "luminance": 0.5621
}

Semantic roles & 50–950 ramp

primary
#AFD34B
secondary
#4E388A
accent
#44E46E
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #AFD34B

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

Preview Lab → · Contrast checker → · Palette generator →

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