#AFC75F#AFC75F

#AFC75F is a light, vivid yellow-green. Relative luminance 0.508; OKLCH L 79.0% C 0.133 H 120.3°. Best body text is #000000 at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#AFC75F
RGBrgb(175, 199, 95)
HSLhsl(74, 48%, 58%)
HSVhsv(74, 52%, 78%)
CMYKcmyk(12.1%, 0%, 52.3%, 22%)
CIE-LABlab(76.55, -23.70, 48.77)
CIE-LCHlch(76.55, 54.23, 115.92°)
OKLaboklab(78.96% -0.0673 0.1151)
OKLCHoklch(78.96% 0.133 120.3)
XYZxyz(40.1685, 50.7871, 18.5110)
Luminance0.5079 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC75F #775FC7
analogous
#C7AB5F #AFC75F #7BC75F
triadic
#AFC75F #5FAFC7 #C75FAF
tetradic
#AFC75F #5FC7AB #775FC7 #C75F7B
square
#AFC75F #5FC7AB #775FC7 #C75F7B
split-complementary
#AFC75F #5F7BC7 #AB5FC7
monochromatic
#6C7F2C #93AC3C #AFC75F #C6D78C #DCE7BA

Accessibility & contrast

On white

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

On black

11.16
#AFC75F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC75F
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC75F#FFFFFF#000000##000000
##AFC75F1.001.8811.1611.16
#FFFFFF1.881.0021.0021.00
#00000011.1621.001.001.00
##00000011.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BD55
Deuteranopia (green-blind)
#CFBD65
Tritanopia (blue-blind)
#B7BEB0
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #afc75f;
/* rgb */ color: rgb(175, 199, 95);
/* oklch */ color: oklch(79.0% 0.133 120.3);
Tailwind
colors: {
  custom: {
    50: '#c9d88f',
    500: '#afc75f',
    950: '#000000',
  },
}
SCSS
$custom: #afc75f;
$custom-light: #c9d88f;
$custom-dark: #000000;
JSON
{
  "hex": "#afc75f",
  "rgb": {
    "r": 175,
    "g": 199,
    "b": 95
  },
  "hsl": {
    "h": 73.846,
    "s": 48.148,
    "l": 57.647
  },
  "oklch": {
    "l": 0.78963,
    "c": 0.13334,
    "h": 120.3
  },
  "luminance": 0.50787
}

Semantic roles & 50–950 ramp

primary
#AFC75F
secondary
#534387
accent
#50D86F
background
#FEFEFC
surface
#FAFBF4
border
#D3D4CE
text
#13140D
muted
#83837F

Preview Lab

Preview with #AFC75F

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

Preview Lab → · Contrast checker → · Palette generator →

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