#AFC74E#AFC74E

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

Color values

HEX#AFC74E
RGBrgb(175, 199, 78)
HSLhsl(72, 52%, 54%)
HSVhsv(72, 61%, 78%)
CMYKcmyk(12.1%, 0%, 60.8%, 22%)
CIE-LABlab(76.38, -25.14, 56.27)
CIE-LCHlch(76.38, 61.63, 114.07°)
OKLaboklab(78.77% -0.073 0.1294)
OKLCHoklch(78.77% 0.149 119.4)
XYZxyz(39.4783, 50.5111, 14.8761)
Luminance0.5051 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC74E #664EC7
analogous
#C7A34E #AFC74E #73C74E
triadic
#AFC74E #4EAFC7 #C74EAF
tetradic
#AFC74E #4EC7A3 #664EC7 #C74E73
square
#AFC74E #4EC7A3 #664EC7 #C74E73
split-complementary
#AFC74E #4E73C7 #A34EC7
monochromatic
#667525 #8EA434 #AFC74E #C4D67C #D9E4AB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFC74E#FFFFFF#000000##000000
##AFC74E1.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)
#D3BC40
Deuteranopia (green-blind)
#D0BD56
Tritanopia (blue-blind)
#B8BDAD
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #afc74e;
/* rgb */ color: rgb(175, 199, 78);
/* oklch */ color: oklch(78.8% 0.149 119.4);
Tailwind
colors: {
  custom: {
    50: '#c9d884',
    500: '#afc74e',
    950: '#000000',
  },
}
SCSS
$custom: #afc74e;
$custom-light: #c9d884;
$custom-dark: #000000;
JSON
{
  "hex": "#afc74e",
  "rgb": {
    "r": 175,
    "g": 199,
    "b": 78
  },
  "hsl": {
    "h": 71.901,
    "s": 51.931,
    "l": 54.314
  },
  "oklch": {
    "l": 0.78774,
    "c": 0.14852,
    "h": 119.4
  },
  "luminance": 0.50511
}

Semantic roles & 50–950 ramp

primary
#AFC74E
secondary
#483B7E
accent
#4CDB69
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#13140B
muted
#83837E

Preview Lab

Preview with #AFC74E

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

Preview Lab → · Contrast checker → · Palette generator →

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