#AFD46B#AFD46B

#AFD46B is a very light, vivid yellow-green. Relative luminance 0.573; OKLCH L 82.0% C 0.139 H 125.4°. Best body text is #000000 at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#AFD46B
RGBrgb(175, 212, 107)
HSLhsl(81, 55%, 63%)
HSVhsv(81, 50%, 83%)
CMYKcmyk(17.5%, 0%, 49.5%, 16.9%)
CIE-LABlab(80.33, -28.77, 47.58)
CIE-LCHlch(80.33, 55.60, 121.16°)
OKLaboklab(82.04% -0.0805 0.1135)
OKLCHoklch(82.04% 0.139 125.4)
XYZxyz(43.8764, 57.2621, 22.6482)
Luminance0.5726 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD46B #906BD4
analogous
#D4C56B #AFD46B #7AD46B
triadic
#AFD46B #6BAFD4 #D46BAF
tetradic
#AFD46B #6BD4C5 #906BD4 #D46B7A
square
#AFD46B #6BD4C5 #906BD4 #D46B7A
split-complementary
#AFD46B #6B7AD4 #C56BD4
monochromatic
#72982C #95C63C #AFD46B #C9E29A #E2F0CA

Accessibility & contrast

On white

1.69
#AFD46B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.45
#AFD46B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD46B
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD46B#FFFFFF#000000##000000
##AFD46B1.001.6912.4512.45
#FFFFFF1.691.0021.0021.00
#00000012.4521.001.001.00
##00000012.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC962
Deuteranopia (green-blind)
#D9C771
Tritanopia (blue-blind)
#B5CCBC
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #afd46b;
/* rgb */ color: rgb(175, 212, 107);
/* oklch */ color: oklch(82.0% 0.139 125.4);
Tailwind
colors: {
  custom: {
    50: '#c9e198',
    500: '#afd46b',
    950: '#000000',
  },
}
SCSS
$custom: #afd46b;
$custom-light: #c9e198;
$custom-dark: #000000;
JSON
{
  "hex": "#afd46b",
  "rgb": {
    "r": 175,
    "g": 212,
    "b": 107
  },
  "hsl": {
    "h": 81.143,
    "s": 54.974,
    "l": 62.549
  },
  "oklch": {
    "l": 0.82044,
    "c": 0.13914,
    "h": 125.4
  },
  "luminance": 0.57262
}

Semantic roles & 50–950 ramp

primary
#AFD46B
secondary
#65469D
accent
#23C25B
background
#FEFEFC
surface
#FAFCF5
border
#D3D5CF
text
#13150E
muted
#83847F

Preview Lab

Preview with #AFD46B

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

Preview Lab → · Contrast checker → · Palette generator →

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