#AFCF46#AFCF46

#AFCF46 is a light, vivid yellow-green. Relative luminance 0.542; OKLCH L 80.5% C 0.164 H 121.5°. Best body text is #000000 at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#AFCF46
RGBrgb(175, 207, 70)
HSLhsl(74, 59%, 54%)
HSVhsv(74, 66%, 81%)
CMYKcmyk(15.5%, 0%, 66.2%, 18.8%)
CIE-LABlab(78.57, -29.53, 61.90)
CIE-LCHlch(78.57, 68.58, 115.50°)
OKLaboklab(80.51% -0.0859 0.1402)
OKLCHoklch(80.51% 0.164 121.5)
XYZxyz(41.0981, 54.1818, 14.0862)
Luminance0.5418 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCF46 #6646CF
analogous
#CFAB46 #AFCF46 #6BCF46
triadic
#AFCF46 #46AFCF #CF46AF
tetradic
#AFCF46 #46CFAB #6646CF #CF466B
square
#AFCF46 #46CFAB #6646CF #CF466B
split-complementary
#AFCF46 #466BCF #AB46CF
monochromatic
#667B20 #8EAB2C #AFCF46 #C4DC77 #D9E8A7

Accessibility & contrast

On white

1.77
#AFCF46 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.84
#AFCF46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCF46
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCF46#FFFFFF#000000##000000
##AFCF461.001.7711.8411.84
#FFFFFF1.771.0021.0021.00
#00000011.8421.001.001.00
##00000011.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afcf46;
/* rgb */ color: rgb(175, 207, 70);
/* oklch */ color: oklch(80.5% 0.164 121.5);
Tailwind
colors: {
  custom: {
    50: '#cadd80',
    500: '#afcf46',
    950: '#000000',
  },
}
SCSS
$custom: #afcf46;
$custom-light: #cadd80;
$custom-dark: #000000;
JSON
{
  "hex": "#afcf46",
  "rgb": {
    "r": 175,
    "g": 207,
    "b": 70
  },
  "hsl": {
    "h": 74.015,
    "s": 58.798,
    "l": 54.314
  },
  "oklch": {
    "l": 0.80513,
    "c": 0.16441,
    "h": 121.5
  },
  "luminance": 0.54182
}

Semantic roles & 50–950 ramp

primary
#AFCF46
secondary
#483683
accent
#46E26A
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #AFCF46

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

Preview Lab → · Contrast checker → · Palette generator →

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