#AFFA5A#AFFA5A

#AFFA5A is a very light, highly saturated yellow-green. Relative luminance 0.782; OKLCH L 90.5% C 0.203 H 130.9°. Best body text is #000000 at 16.64:1 contrast (WCAG AA passes).

Color values

HEX#AFFA5A
RGBrgb(175, 250, 90)
HSLhsl(88, 94%, 67%)
HSVhsv(88, 64%, 98%)
CMYKcmyk(30%, 0%, 64%, 2%)
CIE-LABlab(90.88, -47.32, 67.03)
CIE-LCHlch(90.88, 82.05, 125.22°)
OKLaboklab(90.53% -0.1332 0.1536)
OKLCHoklch(90.53% 0.203 130.9)
XYZxyz(53.7098, 78.2217, 21.9393)
Luminance0.7822 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFFA5A #A55AFA
analogous
#FAF55A #AFFA5A #5FFA5A
triadic
#AFFA5A #5AAFFA #FA5AAF
tetradic
#AFFA5A #5AFAF5 #A55AFA #FA5A5F
square
#AFFA5A #5AFAF5 #A55AFA #FA5A5F
split-complementary
#AFFA5A #5A5FFA #F55AFA
monochromatic
#73D306 #92F81F #AFFA5A #CCFC95 #E9FED1

Accessibility & contrast

On white

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

On black

16.64
#AFFA5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFFA5A
16.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFFA5A#FFFFFF#000000##000000
##AFFA5A1.001.2616.6416.64
#FFFFFF1.261.0021.0021.00
#00000016.6421.001.001.00
##00000016.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE945
Deuteranopia (green-blind)
#FAE367
Tritanopia (blue-blind)
#B2F0D9
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #affa5a;
/* rgb */ color: rgb(175, 250, 90);
/* oklch */ color: oklch(90.5% 0.203 130.9);
Tailwind
colors: {
  custom: {
    50: '#cbfc8f',
    500: '#affa5a',
    950: '#000000',
  },
}
SCSS
$custom: #affa5a;
$custom-light: #cbfc8f;
$custom-dark: #000000;
JSON
{
  "hex": "#affa5a",
  "rgb": {
    "r": 175,
    "g": 250,
    "b": 90
  },
  "hsl": {
    "h": 88.125,
    "s": 94.118,
    "l": 66.667
  },
  "oklch": {
    "l": 0.90533,
    "c": 0.20332,
    "h": 130.9
  },
  "luminance": 0.78223
}

Semantic roles & 50–950 ramp

primary
#AFFA5A
secondary
#772ACE
accent
#00E66C
background
#FEFFFC
surface
#FBFFF4
border
#D4D7CE
text
#14170D
muted
#83857F

Preview Lab

Preview with #AFFA5A

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

Preview Lab → · Contrast checker → · Palette generator →

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