#AFCA3C#AFCA3C

#AFCA3C is a light, vivid yellow-green. Relative luminance 0.517; OKLCH L 79.3% C 0.165 H 119.7°. Best body text is #000000 at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#AFCA3C
RGBrgb(175, 202, 60)
HSLhsl(71, 57%, 51%)
HSVhsv(71, 70%, 79%)
CMYKcmyk(13.4%, 0%, 70.3%, 20.8%)
CIE-LABlab(77.09, -27.76, 64.18)
CIE-LCHlch(77.09, 69.93, 113.39°)
OKLaboklab(79.3% -0.082 0.1434)
OKLCHoklch(79.3% 0.165 119.7)
XYZxyz(39.6161, 51.6815, 12.1626)
Luminance0.5168 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCA3C #573CCA
analogous
#CA9E3C #AFCA3C #68CA3C
triadic
#AFCA3C #3CAFCA #CA3CAF
tetradic
#AFCA3C #3CCA9E #573CCA #CA3C68
square
#AFCA3C #3CCA9E #573CCA #CA3C68
split-complementary
#AFCA3C #3C68CA #9E3CCA
monochromatic
#5F6E1E #889E2B #AFCA3C #C3D76C #D6E49C

Accessibility & contrast

On white

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

On black

11.34
#AFCA3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCA3C
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCA3C#FFFFFF#000000##000000
##AFCA3C1.001.8511.3411.34
#FFFFFF1.851.0021.0021.00
#00000011.3421.001.001.00
##00000011.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF24
Deuteranopia (green-blind)
#D4BF48
Tritanopia (blue-blind)
#B9BFAE
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #afca3c;
/* rgb */ color: rgb(175, 202, 60);
/* oklch */ color: oklch(79.3% 0.165 119.7);
Tailwind
colors: {
  custom: {
    50: '#cada7b',
    500: '#afca3c',
    950: '#000000',
  },
}
SCSS
$custom: #afca3c;
$custom-light: #cada7b;
$custom-dark: #000000;
JSON
{
  "hex": "#afca3c",
  "rgb": {
    "r": 175,
    "g": 202,
    "b": 60
  },
  "hsl": {
    "h": 71.408,
    "s": 57.258,
    "l": 51.373
  },
  "oklch": {
    "l": 0.793,
    "c": 0.1652,
    "h": 119.7
  },
  "luminance": 0.51681
}

Semantic roles & 50–950 ramp

primary
#AFCA3C
secondary
#403377
accent
#47E164
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #AFCA3C

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

Preview Lab → · Contrast checker → · Palette generator →

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