#AFC24E#AFC24E

#AFC24E is a light, vivid yellow. Relative luminance 0.482; OKLCH L 77.6% C 0.142 H 117.7°. Best body text is #000000 at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#AFC24E
RGBrgb(175, 194, 78)
HSLhsl(70, 49%, 53%)
HSVhsv(70, 60%, 76%)
CMYKcmyk(9.8%, 0%, 59.8%, 23.9%)
CIE-LABlab(74.98, -22.70, 54.73)
CIE-LCHlch(74.98, 59.25, 112.53°)
OKLaboklab(77.65% -0.0661 0.1261)
OKLCHoklch(77.65% 0.142 117.7)
XYZxyz(38.3468, 48.2479, 14.4989)
Luminance0.4825 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC24E #614EC2
analogous
#C29B4E #AFC24E #75C24E
triadic
#AFC24E #4EAFC2 #C24EAF
tetradic
#AFC24E #4EC29B #614EC2 #C24E75
square
#AFC24E #4EC29B #614EC2 #C24E75
split-complementary
#AFC24E #4E75C2 #9B4EC2
monochromatic
#636F26 #8C9D36 #AFC24E #C4D27C #D8E1A9

Accessibility & contrast

On white

1.97
#AFC24E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.65
#AFC24E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC24E
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC24E#FFFFFF#000000##000000
##AFC24E1.001.9710.6510.65
#FFFFFF1.971.0021.0021.00
#00000010.6521.001.001.00
##00000010.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB841
Deuteranopia (green-blind)
#CCB955
Tritanopia (blue-blind)
#B9B8A9
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #afc24e;
/* rgb */ color: rgb(175, 194, 78);
/* oklch */ color: oklch(77.6% 0.142 117.7);
Tailwind
colors: {
  custom: {
    50: '#c9d484',
    500: '#afc24e',
    950: '#000000',
  },
}
SCSS
$custom: #afc24e;
$custom-light: #c9d484;
$custom-dark: #000000;
JSON
{
  "hex": "#afc24e",
  "rgb": {
    "r": 175,
    "g": 194,
    "b": 78
  },
  "hsl": {
    "h": 69.828,
    "s": 48.739,
    "l": 53.333
  },
  "oklch": {
    "l": 0.77649,
    "c": 0.14239,
    "h": 117.7
  },
  "luminance": 0.48248
}

Semantic roles & 50–950 ramp

primary
#AFC24E
secondary
#A59DCF
accent
#50D866
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#13140B
muted
#82827C

Preview Lab

Preview with #AFC24E

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

Preview Lab → · Contrast checker → · Palette generator →

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