#AFC74C#AFC74C

#AFC74C is a light, vivid yellow-green. Relative luminance 0.505; OKLCH L 78.8% C 0.150 H 119.3°. Best body text is #000000 at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#AFC74C
RGBrgb(175, 199, 76)
HSLhsl(72, 52%, 54%)
HSVhsv(72, 62%, 78%)
CMYKcmyk(12.1%, 0%, 61.8%, 22%)
CIE-LABlab(76.36, -25.29, 57.11)
CIE-LCHlch(76.36, 62.45, 113.88°)
OKLaboklab(78.76% -0.0736 0.1309)
OKLCHoklch(78.76% 0.15 119.3)
XYZxyz(39.4077, 50.4828, 14.5042)
Luminance0.5048 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC74C #644CC7
analogous
#C7A24C #AFC74C #72C74C
triadic
#AFC74C #4CAFC7 #C74CAF
tetradic
#AFC74C #4CC7A2 #644CC7 #C74C72
square
#AFC74C #4CC7A2 #644CC7 #C74C72
split-complementary
#AFC74C #4C72C7 #A24CC7
monochromatic
#657424 #8DA333 #AFC74C #C4D67B #D9E4A9

Accessibility & contrast

On white

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

On black

11.10
#AFC74C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC74C
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC74C#FFFFFF#000000##000000
##AFC74C1.001.8911.1011.10
#FFFFFF1.891.0021.0021.00
#00000011.1021.001.001.00
##00000011.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC3D
Deuteranopia (green-blind)
#D0BD54
Tritanopia (blue-blind)
#B8BDAD
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #afc74c;
/* rgb */ color: rgb(175, 199, 76);
/* oklch */ color: oklch(78.8% 0.150 119.3);
Tailwind
colors: {
  custom: {
    50: '#cad883',
    500: '#afc74c',
    950: '#000000',
  },
}
SCSS
$custom: #afc74c;
$custom-light: #cad883;
$custom-dark: #000000;
JSON
{
  "hex": "#afc74c",
  "rgb": {
    "r": 175,
    "g": 199,
    "b": 76
  },
  "hsl": {
    "h": 71.707,
    "s": 52.34,
    "l": 53.922
  },
  "oklch": {
    "l": 0.78755,
    "c": 0.15014,
    "h": 119.3
  },
  "luminance": 0.50483
}

Semantic roles & 50–950 ramp

primary
#AFC74C
secondary
#473A7D
accent
#4CDC68
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E

Preview Lab

Preview with #AFC74C

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

Preview Lab → · Contrast checker → · Palette generator →

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