#AFC74B#AFC74B

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

Color values

HEX#AFC74B
RGBrgb(175, 199, 75)
HSLhsl(72, 53%, 54%)
HSVhsv(72, 62%, 78%)
CMYKcmyk(12.1%, 0%, 62.3%, 22%)
CIE-LABlab(76.36, -25.36, 57.52)
CIE-LCHlch(76.36, 62.86, 113.79°)
OKLaboklab(78.75% -0.0739 0.1316)
OKLCHoklch(78.75% 0.151 119.3)
XYZxyz(39.3732, 50.4690, 14.3225)
Luminance0.5047 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC74B #634BC7
analogous
#C7A14B #AFC74B #71C74B
triadic
#AFC74B #4BAFC7 #C74BAF
tetradic
#AFC74B #4BC7A1 #634BC7 #C74B71
square
#AFC74B #4BC7A1 #634BC7 #C74B71
split-complementary
#AFC74B #4B71C7 #A14BC7
monochromatic
#647424 #8DA232 #AFC74B #C4D67A #D8E4A8

Accessibility & contrast

On white

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

On black

11.09
#AFC74B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC74B
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC74B#FFFFFF#000000##000000
##AFC74B1.001.8911.0911.09
#FFFFFF1.891.0021.0021.00
#00000011.0921.001.001.00
##00000011.0921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afc74b;
/* rgb */ color: rgb(175, 199, 75);
/* oklch */ color: oklch(78.7% 0.151 119.3);
Tailwind
colors: {
  custom: {
    50: '#cad883',
    500: '#afc74b',
    950: '#000000',
  },
}
SCSS
$custom: #afc74b;
$custom-light: #cad883;
$custom-dark: #000000;
JSON
{
  "hex": "#afc74b",
  "rgb": {
    "r": 175,
    "g": 199,
    "b": 75
  },
  "hsl": {
    "h": 71.613,
    "s": 52.542,
    "l": 53.725
  },
  "oklch": {
    "l": 0.78745,
    "c": 0.15093,
    "h": 119.3
  },
  "luminance": 0.50469
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFC74B

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

Preview Lab → · Contrast checker → · Palette generator →

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