#AFD286#AFD286

#AFD286 is a very light, moderate yellow-green. Relative luminance 0.569; OKLCH L 82.0% C 0.108 H 128.7°. Best body text is #000000 at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#AFD286
RGBrgb(175, 210, 134)
HSLhsl(88, 46%, 67%)
HSVhsv(88, 36%, 82%)
CMYKcmyk(16.7%, 0%, 36.2%, 17.6%)
CIE-LABlab(80.14, -24.61, 33.95)
CIE-LCHlch(80.14, 41.93, 125.94°)
OKLaboklab(82.01% -0.0672 0.084)
OKLCHoklch(82.01% 0.108 128.7)
XYZxyz(45.0283, 56.9278, 31.1655)
Luminance0.5693 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD286 #A986D2
analogous
#D2CF86 #AFD286 #89D286
triadic
#AFD286 #86AFD2 #D286AF
tetradic
#AFD286 #86D2CF #A986D2 #D28689
square
#AFD286 #86D2CF #A986D2 #D28689
split-complementary
#AFD286 #8689D2 #CF86D2
monochromatic
#73A23C #92C159 #AFD286 #CCE3B3 #EAF3DF

Accessibility & contrast

On white

1.70
#AFD286 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.39
#AFD286 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD286
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD286#FFFFFF#000000##000000
##AFD2861.001.7012.3912.39
#FFFFFF1.701.0021.0021.00
#00000012.3921.001.001.00
##00000012.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C881
Deuteranopia (green-blind)
#D4C68A
Tritanopia (blue-blind)
#B2CCBF
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #afd286;
/* rgb */ color: rgb(175, 210, 134);
/* oklch */ color: oklch(82.0% 0.108 128.7);
Tailwind
colors: {
  custom: {
    50: '#c8e0aa',
    500: '#afd286',
    950: '#000000',
  },
}
SCSS
$custom: #afd286;
$custom-light: #c8e0aa;
$custom-dark: #000000;
JSON
{
  "hex": "#afd286",
  "rgb": {
    "r": 175,
    "g": 210,
    "b": 134
  },
  "hsl": {
    "h": 87.632,
    "s": 45.783,
    "l": 67.451
  },
  "oklch": {
    "l": 0.82013,
    "c": 0.1076,
    "h": 128.7
  },
  "luminance": 0.56928
}

Semantic roles & 50–950 ramp

primary
#AFD286
secondary
#7B56A7
accent
#2DB96D
background
#FDFEFD
surface
#F9FCF7
border
#D2D5D0
text
#131510
muted
#828481

Preview Lab

Preview with #AFD286

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

Preview Lab → · Contrast checker → · Palette generator →

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