#AFD75A#AFD75A

#AFD75A is a very light, vivid yellow-green. Relative luminance 0.585; OKLCH L 82.5% C 0.159 H 124.7°. Best body text is #000000 at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#AFD75A
RGBrgb(175, 215, 90)
HSLhsl(79, 61%, 60%)
HSVhsv(79, 58%, 84%)
CMYKcmyk(18.6%, 0%, 58.1%, 15.7%)
CIE-LABlab(80.99, -31.78, 56.16)
CIE-LCHlch(80.99, 64.53, 119.51°)
OKLaboklab(82.52% -0.0904 0.1305)
OKLCHoklch(82.52% 0.159 124.7)
XYZxyz(43.8253, 58.4526, 18.6445)
Luminance0.5845 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD75A #825AD7
analogous
#D7C15A #AFD75A #71D75A
triadic
#AFD75A #5AAFD7 #D75AAF
tetradic
#AFD75A #5AD7C1 #825AD7 #D75A71
square
#AFD75A #5AD7C1 #825AD7 #D75A71
split-complementary
#AFD75A #5A71D7 #C15AD7
monochromatic
#6F9324 #95C430 #AFD75A #C7E38B #DFEFBD

Accessibility & contrast

On white

1.65
#AFD75A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.69
#AFD75A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD75A
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD75A#FFFFFF#000000##000000
##AFD75A1.001.6512.6912.69
#FFFFFF1.651.0021.0021.00
#00000012.6921.001.001.00
##00000012.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CA4C
Deuteranopia (green-blind)
#DCC962
Tritanopia (blue-blind)
#B6CEBC
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #afd75a;
/* rgb */ color: rgb(175, 215, 90);
/* oklch */ color: oklch(82.5% 0.159 124.7);
Tailwind
colors: {
  custom: {
    50: '#c9e38d',
    500: '#afd75a',
    950: '#000000',
  },
}
SCSS
$custom: #afd75a;
$custom-light: #c9e38d;
$custom-dark: #000000;
JSON
{
  "hex": "#afd75a",
  "rgb": {
    "r": 175,
    "g": 215,
    "b": 90
  },
  "hsl": {
    "h": 79.2,
    "s": 60.976,
    "l": 59.804
  },
  "oklch": {
    "l": 0.8252,
    "c": 0.15875,
    "h": 124.7
  },
  "luminance": 0.58453
}

Semantic roles & 50–950 ramp

primary
#AFD75A
secondary
#5A3D98
accent
#44E477
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#13150C
muted
#83847F

Preview Lab

Preview with #AFD75A

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

Preview Lab → · Contrast checker → · Palette generator →

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