#AFC75D#AFC75D

#AFC75D is a light, vivid yellow-green. Relative luminance 0.508; OKLCH L 78.9% C 0.135 H 120.2°. Best body text is #000000 at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#AFC75D
RGBrgb(175, 199, 93)
HSLhsl(74, 49%, 57%)
HSVhsv(74, 53%, 78%)
CMYKcmyk(12.1%, 0%, 53.3%, 22%)
CIE-LABlab(76.53, -23.89, 49.69)
CIE-LCHlch(76.53, 55.13, 115.68°)
OKLaboklab(78.94% -0.068 0.1169)
OKLCHoklch(78.94% 0.135 120.2)
XYZxyz(40.0788, 50.7512, 18.0384)
Luminance0.5075 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC75D #755DC7
analogous
#C7AA5D #AFC75D #7AC75D
triadic
#AFC75D #5DAFC7 #C75DAF
tetradic
#AFC75D #5DC7AA #755DC7 #C75D7A
square
#AFC75D #5DC7AA #755DC7 #C75D7A
split-complementary
#AFC75D #5D7AC7 #AA5DC7
monochromatic
#6B7E2C #92AC3B #AFC75D #C5D78A #DCE6B8

Accessibility & contrast

On white

1.88
#AFC75D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.15
#AFC75D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC75D
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC75D#FFFFFF#000000##000000
##AFC75D1.001.8811.1511.15
#FFFFFF1.881.0021.0021.00
#00000011.1521.001.001.00
##00000011.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BD53
Deuteranopia (green-blind)
#CFBD63
Tritanopia (blue-blind)
#B7BEAF
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #afc75d;
/* rgb */ color: rgb(175, 199, 93);
/* oklch */ color: oklch(78.9% 0.135 120.2);
Tailwind
colors: {
  custom: {
    50: '#c9d88e',
    500: '#afc75d',
    950: '#000000',
  },
}
SCSS
$custom: #afc75d;
$custom-light: #c9d88e;
$custom-dark: #000000;
JSON
{
  "hex": "#afc75d",
  "rgb": {
    "r": 175,
    "g": 199,
    "b": 93
  },
  "hsl": {
    "h": 73.585,
    "s": 48.624,
    "l": 57.255
  },
  "oklch": {
    "l": 0.78939,
    "c": 0.13525,
    "h": 120.2
  },
  "luminance": 0.50751
}

Semantic roles & 50–950 ramp

primary
#AFC75D
secondary
#514286
accent
#50D86F
background
#FEFEFC
surface
#FAFBF4
border
#D3D4CE
text
#13140C
muted
#83837F

Preview Lab

Preview with #AFC75D

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

Preview Lab → · Contrast checker → · Palette generator →

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