#AFCF43#AFCF43

#AFCF43 is a light, vivid yellow-green. Relative luminance 0.541; OKLCH L 80.5% C 0.167 H 121.4°. Best body text is #000000 at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#AFCF43
RGBrgb(175, 207, 67)
HSLhsl(74, 59%, 54%)
HSVhsv(74, 68%, 81%)
CMYKcmyk(15.5%, 0%, 67.6%, 18.8%)
CIE-LABlab(78.55, -29.72, 63.04)
CIE-LCHlch(78.55, 69.69, 115.24°)
OKLaboklab(80.49% -0.0867 0.1421)
OKLCHoklch(80.49% 0.167 121.4)
XYZxyz(41.0057, 54.1449, 13.5998)
Luminance0.5414 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCF43 #6343CF
analogous
#CFA943 #AFCF43 #69CF43
triadic
#AFCF43 #43AFCF #CF43AF
tetradic
#AFCF43 #43CFA9 #6343CF #CF4369
square
#AFCF43 #43CFA9 #6343CF #CF4369
split-complementary
#AFCF43 #4369CF #A943CF
monochromatic
#64791F #8DAA2B #AFCF43 #C4DB74 #D8E8A5

Accessibility & contrast

On white

1.78
#AFCF43 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.83
#AFCF43 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCF43
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCF43#FFFFFF#000000##000000
##AFCF431.001.7811.8311.83
#FFFFFF1.781.0021.0021.00
#00000011.8321.001.001.00
##00000011.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC32E
Deuteranopia (green-blind)
#D7C24E
Tritanopia (blue-blind)
#B8C5B3
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #afcf43;
/* rgb */ color: rgb(175, 207, 67);
/* oklch */ color: oklch(80.5% 0.167 121.4);
Tailwind
colors: {
  custom: {
    50: '#cadd7f',
    500: '#afcf43',
    950: '#000000',
  },
}
SCSS
$custom: #afcf43;
$custom-light: #cadd7f;
$custom-dark: #000000;
JSON
{
  "hex": "#afcf43",
  "rgb": {
    "r": 175,
    "g": 207,
    "b": 67
  },
  "hsl": {
    "h": 73.714,
    "s": 59.322,
    "l": 53.725
  },
  "oklch": {
    "l": 0.80489,
    "c": 0.1665,
    "h": 121.4
  },
  "luminance": 0.54145
}

Semantic roles & 50–950 ramp

primary
#AFCF43
secondary
#473581
accent
#45E369
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #AFCF43

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

Preview Lab → · Contrast checker → · Palette generator →

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