#AFFA73#AFFA73

#AFFA73 is a very light, vivid yellow-green. Relative luminance 0.787; OKLCH L 90.8% C 0.183 H 133.1°. Best body text is #000000 at 16.74:1 contrast (WCAG AA passes).

Color values

HEX#AFFA73
RGBrgb(175, 250, 115)
HSLhsl(93, 93%, 72%)
HSVhsv(93, 54%, 98%)
CMYKcmyk(30%, 0%, 54%, 2%)
CIE-LABlab(91.11, -45.12, 56.71)
CIE-LCHlch(91.11, 72.47, 128.51°)
OKLaboklab(90.79% -0.1253 0.134)
OKLCHoklch(90.79% 0.183 133.1)
XYZxyz(54.9584, 78.7211, 28.5154)
Luminance0.7872 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFFA73 #BE73FA
analogous
#F3FA73 #AFFA73 #73FA7B
triadic
#AFFA73 #73AFFA #FA73AF
tetradic
#AFFA73 #73F3FA #BE73FA #FA7B73
square
#AFFA73 #73F3FA #BE73FA #FA7B73
split-complementary
#AFFA73 #7B73FA #FA73F3
monochromatic
#6DEA08 #8DF838 #AFFA73 #D1FCAE #EEFEE1

Accessibility & contrast

On white

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

On black

16.74
#AFFA73 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFFA73
16.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFFA73#FFFFFF#000000##000000
##AFFA731.001.2516.7416.74
#FFFFFF1.251.0021.0021.00
#00000016.7421.001.001.00
##00000016.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE966
Deuteranopia (green-blind)
#F8E37C
Tritanopia (blue-blind)
#B0F1DC
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #affa73;
/* rgb */ color: rgb(175, 250, 115);
/* oklch */ color: oklch(90.8% 0.183 133.1);
Tailwind
colors: {
  custom: {
    50: '#cafc9f',
    500: '#affa73',
    950: '#000000',
  },
}
SCSS
$custom: #affa73;
$custom-light: #cafc9f;
$custom-dark: #000000;
JSON
{
  "hex": "#affa73",
  "rgb": {
    "r": 175,
    "g": 250,
    "b": 115
  },
  "hsl": {
    "h": 93.333,
    "s": 93.103,
    "l": 71.569
  },
  "oklch": {
    "l": 0.90791,
    "c": 0.18349,
    "h": 133.1
  },
  "luminance": 0.78723
}

Semantic roles & 50–950 ramp

primary
#AFFA73
secondary
#913BD6
accent
#00E67F
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14170F
muted
#838580

Preview Lab

Preview with #AFFA73

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

Preview Lab → · Contrast checker → · Palette generator →

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