#AFD045#AFD045

#AFD045 is a light, vivid yellow-green. Relative luminance 0.547; OKLCH L 80.7% C 0.166 H 121.8°. Best body text is #000000 at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#AFD045
RGBrgb(175, 208, 69)
HSLhsl(74, 60%, 54%)
HSVhsv(74, 67%, 82%)
CMYKcmyk(15.9%, 0%, 66.8%, 18.4%)
CIE-LABlab(78.84, -30.06, 62.57)
CIE-LCHlch(78.84, 69.42, 115.66°)
OKLaboklab(80.73% -0.0875 0.1414)
OKLCHoklch(80.73% 0.166 121.8)
XYZxyz(41.3098, 54.6553, 14.0023)
Luminance0.5465 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD045 #6645D0
analogous
#D0AC45 #AFD045 #69D045
triadic
#AFD045 #45AFD0 #D045AF
tetradic
#AFD045 #45D0AC #6645D0 #D04569
square
#AFD045 #45D0AC #6645D0 #D04569
split-complementary
#AFD045 #4569D0 #AC45D0
monochromatic
#667B1F #8EAC2C #AFD045 #C4DC76 #D9E9A7

Accessibility & contrast

On white

1.76
#AFD045 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.93
#AFD045 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD045
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD045#FFFFFF#000000##000000
##AFD0451.001.7611.9311.93
#FFFFFF1.761.0021.0021.00
#00000011.9321.001.001.00
##00000011.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC431
Deuteranopia (green-blind)
#D8C350
Tritanopia (blue-blind)
#B8C6B4
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #afd045;
/* rgb */ color: rgb(175, 208, 69);
/* oklch */ color: oklch(80.7% 0.166 121.8);
Tailwind
colors: {
  custom: {
    50: '#cade80',
    500: '#afd045',
    950: '#000000',
  },
}
SCSS
$custom: #afd045;
$custom-light: #cade80;
$custom-dark: #000000;
JSON
{
  "hex": "#afd045",
  "rgb": {
    "r": 175,
    "g": 208,
    "b": 69
  },
  "hsl": {
    "h": 74.245,
    "s": 59.657,
    "l": 54.314
  },
  "oklch": {
    "l": 0.80732,
    "c": 0.16631,
    "h": 121.8
  },
  "luminance": 0.54655
}

Semantic roles & 50–950 ramp

primary
#AFD045
secondary
#483683
accent
#45E36A
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #AFD045

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

Preview Lab → · Contrast checker → · Palette generator →

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