#AFFB62#AFFB62

#AFFB62 is a very light, vivid yellow-green. Relative luminance 0.790; OKLCH L 90.8% C 0.199 H 131.7°. Best body text is #000000 at 16.80:1 contrast (WCAG AA passes).

Color values

HEX#AFFB62
RGBrgb(175, 251, 98)
HSLhsl(90, 95%, 68%)
HSVhsv(90, 61%, 98%)
CMYKcmyk(30.3%, 0%, 61%, 1.6%)
CIE-LABlab(91.23, -47.11, 64.18)
CIE-LCHlch(91.23, 79.61, 126.28°)
OKLaboklab(90.84% -0.132 0.1485)
OKLCHoklch(90.84% 0.199 131.7)
XYZxyz(54.3803, 78.9884, 23.9340)
Luminance0.7899 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFFB62 #AE62FB
analogous
#FBFB62 #AFFB62 #62FB62
triadic
#AFFB62 #62AFFB #FB62AF
tetradic
#AFFB62 #62FBFB #AE62FB #FB6262
square
#AFFB62 #62FBFB #AE62FB #FB6262
split-complementary
#AFFB62 #6262FB #FB62FB
monochromatic
#72DD06 #91F926 #AFFB62 #CDFD9E #ECFED9

Accessibility & contrast

On white

1.25
#AFFB62 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.80
#AFFB62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFFB62
16.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFFB62#FFFFFF#000000##000000
##AFFB621.001.2516.8016.80
#FFFFFF1.251.0021.0021.00
#00000016.8021.001.001.00
##00000016.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA50
Deuteranopia (green-blind)
#FAE46E
Tritanopia (blue-blind)
#B1F1DB
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #affb62;
/* rgb */ color: rgb(175, 251, 98);
/* oklch */ color: oklch(90.8% 0.199 131.7);
Tailwind
colors: {
  custom: {
    50: '#cbfd94',
    500: '#affb62',
    950: '#000000',
  },
}
SCSS
$custom: #affb62;
$custom-light: #cbfd94;
$custom-dark: #000000;
JSON
{
  "hex": "#affb62",
  "rgb": {
    "r": 175,
    "g": 251,
    "b": 98
  },
  "hsl": {
    "h": 89.804,
    "s": 95.031,
    "l": 68.431
  },
  "oklch": {
    "l": 0.90837,
    "c": 0.19868,
    "h": 131.7
  },
  "luminance": 0.7899
}

Semantic roles & 50–950 ramp

primary
#AFFB62
secondary
#802DD5
accent
#00E672
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14170E
muted
#83857F

Preview Lab

Preview with #AFFB62

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

Preview Lab → · Contrast checker → · Palette generator →

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