#AFD367#AFD367

#AFD367 is a light, vivid yellow-green. Relative luminance 0.567; OKLCH L 81.8% C 0.142 H 124.7°. Best body text is #000000 at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#AFD367
RGBrgb(175, 211, 103)
HSLhsl(80, 55%, 62%)
HSVhsv(80, 51%, 83%)
CMYKcmyk(17.1%, 0%, 51.2%, 17.3%)
CIE-LABlab(80.00, -28.71, 49.09)
CIE-LCHlch(80.00, 56.86, 120.32°)
OKLaboklab(81.77% -0.0807 0.1165)
OKLCHoklch(81.77% 0.142 124.7)
XYZxyz(43.4217, 56.6814, 21.4824)
Luminance0.5668 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD367 #8B67D3
analogous
#D3C167 #AFD367 #79D367
triadic
#AFD367 #67AFD3 #D367AF
tetradic
#AFD367 #67D3C1 #8B67D3 #D36779
square
#AFD367 #67D3C1 #8B67D3 #D36779
split-complementary
#AFD367 #6779D3 #C167D3
monochromatic
#71952B #96C439 #AFD367 #C8E196 #E1EEC6

Accessibility & contrast

On white

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

On black

12.34
#AFD367 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD367
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD367#FFFFFF#000000##000000
##AFD3671.001.7012.3412.34
#FFFFFF1.701.0021.0021.00
#00000012.3421.001.001.00
##00000012.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC85D
Deuteranopia (green-blind)
#D8C66D
Tritanopia (blue-blind)
#B5CABA
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #afd367;
/* rgb */ color: rgb(175, 211, 103);
/* oklch */ color: oklch(81.8% 0.142 124.7);
Tailwind
colors: {
  custom: {
    50: '#c9e095',
    500: '#afd367',
    950: '#000000',
  },
}
SCSS
$custom: #afd367;
$custom-light: #c9e095;
$custom-dark: #000000;
JSON
{
  "hex": "#afd367",
  "rgb": {
    "r": 175,
    "g": 211,
    "b": 103
  },
  "hsl": {
    "h": 80,
    "s": 55.102,
    "l": 61.569
  },
  "oklch": {
    "l": 0.81766,
    "c": 0.14166,
    "h": 124.7
  },
  "luminance": 0.56682
}

Semantic roles & 50–950 ramp

primary
#AFD367
secondary
#61449A
accent
#23C358
background
#FEFEFC
surface
#FAFCF4
border
#D3D5CE
text
#13150D
muted
#83847F

Preview Lab

Preview with #AFD367

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

Preview Lab → · Contrast checker → · Palette generator →

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