#AFC43A#AFC43A

#AFC43A is a light, vivid yellow. Relative luminance 0.489; OKLCH L 77.9% C 0.160 H 117.8°. Best body text is #000000 at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#AFC43A
RGBrgb(175, 196, 58)
HSLhsl(69, 54%, 50%)
HSVhsv(69, 70%, 77%)
CMYKcmyk(10.7%, 0%, 70.4%, 23.1%)
CIE-LABlab(75.39, -24.98, 63.22)
CIE-LCHlch(75.39, 67.98, 111.56°)
OKLaboklab(77.93% -0.0744 0.1411)
OKLCHoklch(77.93% 0.16 117.8)
XYZxyz(38.1837, 48.8997, 11.4292)
Luminance0.4890 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC43A #4F3AC4
analogous
#C4943A #AFC43A #6AC43A
triadic
#AFC43A #3AAFC4 #C43AAF
tetradic
#AFC43A #3AC494 #4F3AC4 #C43A6A
square
#AFC43A #3AC494 #4F3AC4 #C43A6A
split-complementary
#AFC43A #3A6AC4 #943AC4
monochromatic
#5B661E #85952C #AFC43A #C2D369 #D5E098

Accessibility & contrast

On white

1.95
#AFC43A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.78
#AFC43A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC43A
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC43A#FFFFFF#000000##000000
##AFC43A1.001.9510.7810.78
#FFFFFF1.951.0021.0021.00
#00000010.7821.001.001.00
##00000010.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B922
Deuteranopia (green-blind)
#CFBA45
Tritanopia (blue-blind)
#BAB9A9
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #afc43a;
/* rgb */ color: rgb(175, 196, 58);
/* oklch */ color: oklch(77.9% 0.160 117.8);
Tailwind
colors: {
  custom: {
    50: '#cad579',
    500: '#afc43a',
    950: '#000000',
  },
}
SCSS
$custom: #afc43a;
$custom-light: #cad579;
$custom-dark: #000000;
JSON
{
  "hex": "#afc43a",
  "rgb": {
    "r": 175,
    "g": 196,
    "b": 58
  },
  "hsl": {
    "h": 69.13,
    "s": 54.331,
    "l": 49.804
  },
  "oklch": {
    "l": 0.77928,
    "c": 0.15955,
    "h": 117.8
  },
  "luminance": 0.48899
}

Semantic roles & 50–950 ramp

primary
#AFC43A
secondary
#978ECC
accent
#4ADE61
background
#FCFDF7
surface
#F9FAEE
border
#D2D3C9
text
#14140A
muted
#82837C

Preview Lab

Preview with #AFC43A

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

Preview Lab → · Contrast checker → · Palette generator →

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