#AFFA62#AFFA62

#AFFA62 is a very light, vivid yellow-green. Relative luminance 0.784; OKLCH L 90.6% C 0.197 H 131.5°. Best body text is #000000 at 16.67:1 contrast (WCAG AA passes).

Color values

HEX#AFFA62
RGBrgb(175, 250, 98)
HSLhsl(90, 94%, 68%)
HSVhsv(90, 61%, 98%)
CMYKcmyk(30%, 0%, 60.8%, 2%)
CIE-LABlab(90.95, -46.68, 63.86)
CIE-LCHlch(90.95, 79.11, 126.17°)
OKLaboklab(90.61% -0.1309 0.1478)
OKLCHoklch(90.61% 0.197 131.5)
XYZxyz(54.0688, 78.3653, 23.8302)
Luminance0.7837 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFFA62 #AD62FA
analogous
#FAF962 #AFFA62 #63FA62
triadic
#AFFA62 #62AFFA #FA62AF
tetradic
#AFFA62 #62FAF9 #AD62FA #FA6263
square
#AFFA62 #62FAF9 #AD62FA #FA6263
split-complementary
#AFFA62 #6263FA #F962FA
monochromatic
#72DB07 #91F827 #AFFA62 #CDFC9D #EBFED9

Accessibility & contrast

On white

1.26
#AFFA62 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.67
#AFFA62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFFA62
16.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFFA62#FFFFFF#000000##000000
##AFFA621.001.2616.6716.67
#FFFFFF1.261.0021.0021.00
#00000016.6721.001.001.00
##00000016.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE950
Deuteranopia (green-blind)
#FAE36D
Tritanopia (blue-blind)
#B2F0DA
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #affa62;
/* rgb */ color: rgb(175, 250, 98);
/* oklch */ color: oklch(90.6% 0.197 131.5);
Tailwind
colors: {
  custom: {
    50: '#cbfc94',
    500: '#affa62',
    950: '#000000',
  },
}
SCSS
$custom: #affa62;
$custom-light: #cbfc94;
$custom-dark: #000000;
JSON
{
  "hex": "#affa62",
  "rgb": {
    "r": 175,
    "g": 250,
    "b": 98
  },
  "hsl": {
    "h": 89.605,
    "s": 93.827,
    "l": 68.235
  },
  "oklch": {
    "l": 0.90607,
    "c": 0.1974,
    "h": 131.5
  },
  "luminance": 0.78367
}

Semantic roles & 50–950 ramp

primary
#AFFA62
secondary
#7F2DD3
accent
#00E671
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14170E
muted
#83857F

Preview Lab

Preview with #AFFA62

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

Preview Lab → · Contrast checker → · Palette generator →

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