#AFC75A#AFC75A

#AFC75A is a light, vivid yellow-green. Relative luminance 0.507; OKLCH L 78.9% C 0.138 H 120.0°. Best body text is #000000 at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#AFC75A
RGBrgb(175, 199, 90)
HSLhsl(73, 49%, 57%)
HSVhsv(73, 55%, 78%)
CMYKcmyk(12.1%, 0%, 54.8%, 22%)
CIE-LABlab(76.50, -24.16, 51.04)
CIE-LCHlch(76.50, 56.47, 115.33°)
OKLaboklab(78.9% -0.0691 0.1195)
OKLCHoklch(78.9% 0.138 120)
XYZxyz(39.9485, 50.6991, 17.3523)
Luminance0.5070 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC75A #725AC7
analogous
#C7A95A #AFC75A #79C75A
triadic
#AFC75A #5AAFC7 #C75AAF
tetradic
#AFC75A #5AC7A9 #725AC7 #C75A79
square
#AFC75A #5AC7A9 #725AC7 #C75A79
split-complementary
#AFC75A #5A79C7 #A95AC7
monochromatic
#6A7C2A #91AA3A #AFC75A #C5D788 #DBE6B5

Accessibility & contrast

On white

1.89
#AFC75A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.14
#AFC75A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC75A
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC75A#FFFFFF#000000##000000
##AFC75A1.001.8911.1411.14
#FFFFFF1.891.0021.0021.00
#00000011.1421.001.001.00
##00000011.1421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afc75a;
/* rgb */ color: rgb(175, 199, 90);
/* oklch */ color: oklch(78.9% 0.138 120.0);
Tailwind
colors: {
  custom: {
    50: '#c9d88c',
    500: '#afc75a',
    950: '#000000',
  },
}
SCSS
$custom: #afc75a;
$custom-light: #c9d88c;
$custom-dark: #000000;
JSON
{
  "hex": "#afc75a",
  "rgb": {
    "r": 175,
    "g": 199,
    "b": 90
  },
  "hsl": {
    "h": 73.211,
    "s": 49.321,
    "l": 56.667
  },
  "oklch": {
    "l": 0.78903,
    "c": 0.13805,
    "h": 120
  },
  "luminance": 0.50699
}

Semantic roles & 50–950 ramp

primary
#AFC75A
secondary
#504185
accent
#4FD96D
background
#FEFEFC
surface
#FAFBF4
border
#D3D4CE
text
#13140C
muted
#83837F

Preview Lab

Preview with #AFC75A

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

Preview Lab → · Contrast checker → · Palette generator →

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