#AFD362#AFD362

#AFD362 is a light, vivid yellow-green. Relative luminance 0.566; OKLCH L 81.7% C 0.146 H 124.3°. Best body text is #000000 at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#AFD362
RGBrgb(175, 211, 98)
HSLhsl(79, 56%, 61%)
HSVhsv(79, 54%, 83%)
CMYKcmyk(17.1%, 0%, 53.6%, 17.3%)
CIE-LABlab(79.94, -29.19, 51.36)
CIE-LCHlch(79.94, 59.07, 119.61°)
OKLaboklab(81.7% -0.0824 0.121)
OKLCHoklch(81.7% 0.146 124.3)
XYZxyz(43.1782, 56.5840, 20.2000)
Luminance0.5658 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD362 #8662D3
analogous
#D3BE62 #AFD362 #76D362
triadic
#AFD362 #62AFD3 #D362AF
tetradic
#AFD362 #62D3BE #8662D3 #D36276
square
#AFD362 #62D3BE #8662D3 #D36276
split-complementary
#AFD362 #6276D3 #BE62D3
monochromatic
#709229 #95C236 #AFD362 #C7E092 #E0EEC2

Accessibility & contrast

On white

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

On black

12.32
#AFD362 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD362
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD362#FFFFFF#000000##000000
##AFD3621.001.7012.3212.32
#FFFFFF1.701.0021.0021.00
#00000012.3221.001.001.00
##00000012.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC757
Deuteranopia (green-blind)
#D8C669
Tritanopia (blue-blind)
#B6CABA
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #afd362;
/* rgb */ color: rgb(175, 211, 98);
/* oklch */ color: oklch(81.7% 0.146 124.3);
Tailwind
colors: {
  custom: {
    50: '#c9e092',
    500: '#afd362',
    950: '#000000',
  },
}
SCSS
$custom: #afd362;
$custom-light: #c9e092;
$custom-dark: #000000;
JSON
{
  "hex": "#afd362",
  "rgb": {
    "r": 175,
    "g": 211,
    "b": 98
  },
  "hsl": {
    "h": 79.115,
    "s": 56.219,
    "l": 60.588
  },
  "oklch": {
    "l": 0.81704,
    "c": 0.14638,
    "h": 124.3
  },
  "luminance": 0.56584
}

Semantic roles & 50–950 ramp

primary
#AFD362
secondary
#5D4297
accent
#22C455
background
#FEFEFC
surface
#FAFCF4
border
#D3D5CE
text
#13150D
muted
#83847F

Preview Lab

Preview with #AFD362

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

Preview Lab → · Contrast checker → · Palette generator →

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