#AFC24F#AFC24F

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

Color values

HEX#AFC24F
RGBrgb(175, 194, 79)
HSLhsl(70, 49%, 54%)
HSVhsv(70, 59%, 76%)
CMYKcmyk(9.8%, 0%, 59.3%, 23.9%)
CIE-LABlab(74.99, -22.62, 54.30)
CIE-LCHlch(74.99, 58.83, 112.62°)
OKLaboklab(77.66% -0.0658 0.1253)
OKLCHoklch(77.66% 0.142 117.7)
XYZxyz(38.3829, 48.2624, 14.6892)
Luminance0.4826 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC24F #624FC2
analogous
#C29B4F #AFC24F #75C24F
triadic
#AFC24F #4FAFC2 #C24FAF
tetradic
#AFC24F #4FC29B #624FC2 #C24F75
square
#AFC24F #4FC29B #624FC2 #C24F75
split-complementary
#AFC24F #4F75C2 #9B4FC2
monochromatic
#647027 #8C9D37 #AFC24F #C4D27C #D8E2AA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFC24F#FFFFFF#000000##000000
##AFC24F1.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)
#CEB842
Deuteranopia (green-blind)
#CCB956
Tritanopia (blue-blind)
#B9B8A9
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #afc24f;
/* rgb */ color: rgb(175, 194, 79);
/* oklch */ color: oklch(77.7% 0.142 117.7);
Tailwind
colors: {
  custom: {
    50: '#c9d485',
    500: '#afc24f',
    950: '#000000',
  },
}
SCSS
$custom: #afc24f;
$custom-light: #c9d485;
$custom-dark: #000000;
JSON
{
  "hex": "#afc24f",
  "rgb": {
    "r": 175,
    "g": 194,
    "b": 79
  },
  "hsl": {
    "h": 69.913,
    "s": 48.523,
    "l": 53.529
  },
  "oklch": {
    "l": 0.77659,
    "c": 0.14154,
    "h": 117.7
  },
  "luminance": 0.48262
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFC24F

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

Preview Lab → · Contrast checker → · Palette generator →

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