#AFCA45#AFCA45

#AFCA45 is a light, vivid yellow-green. Relative luminance 0.518; OKLCH L 79.4% C 0.159 H 120.0°. Best body text is #000000 at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#AFCA45
RGBrgb(175, 202, 69)
HSLhsl(72, 56%, 53%)
HSVhsv(72, 66%, 79%)
CMYKcmyk(13.4%, 0%, 65.8%, 20.8%)
CIE-LABlab(77.15, -27.21, 60.82)
CIE-LCHlch(77.15, 66.63, 114.11°)
OKLaboklab(79.37% -0.0796 0.1377)
OKLCHoklch(79.37% 0.159 120)
XYZxyz(39.8745, 51.7848, 13.5239)
Luminance0.5179 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCA45 #6045CA
analogous
#CAA245 #AFCA45 #6CCA45
triadic
#AFCA45 #45AFCA #CA45AF
tetradic
#AFCA45 #45CAA2 #6045CA #CA456C
square
#AFCA45 #45CAA2 #6045CA #CA456C
split-complementary
#AFCA45 #456CCA #A245CA
monochromatic
#637421 #8CA32F #AFCA45 #C3D875 #D8E5A4

Accessibility & contrast

On white

1.85
#AFCA45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.36
#AFCA45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCA45
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCA45#FFFFFF#000000##000000
##AFCA451.001.8511.3611.36
#FFFFFF1.851.0021.0021.00
#00000011.3621.001.001.00
##00000011.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF33
Deuteranopia (green-blind)
#D3BF4F
Tritanopia (blue-blind)
#B9C0AF
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #afca45;
/* rgb */ color: rgb(175, 202, 69);
/* oklch */ color: oklch(79.4% 0.159 120.0);
Tailwind
colors: {
  custom: {
    50: '#cada7f',
    500: '#afca45',
    950: '#000000',
  },
}
SCSS
$custom: #afca45;
$custom-light: #cada7f;
$custom-dark: #000000;
JSON
{
  "hex": "#afca45",
  "rgb": {
    "r": 175,
    "g": 202,
    "b": 69
  },
  "hsl": {
    "h": 72.18,
    "s": 55.649,
    "l": 53.137
  },
  "oklch": {
    "l": 0.7937,
    "c": 0.1591,
    "h": 120
  },
  "luminance": 0.51785
}

Semantic roles & 50–950 ramp

primary
#AFCA45
secondary
#45377D
accent
#49DF67
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E

Preview Lab

Preview with #AFCA45

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

Preview Lab → · Contrast checker → · Palette generator →

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