#AFCE3A#AFCE3A

#AFCE3A is a light, vivid yellow-green. Relative luminance 0.536; OKLCH L 80.2% C 0.171 H 120.8°. Best body text is #000000 at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#AFCE3A
RGBrgb(175, 206, 58)
HSLhsl(73, 60%, 52%)
HSVhsv(73, 72%, 81%)
CMYKcmyk(15%, 0%, 71.8%, 19.2%)
CIE-LABlab(78.21, -29.76, 65.99)
CIE-LCHlch(78.21, 72.39, 114.28°)
OKLaboklab(80.2% -0.0877 0.1469)
OKLCHoklch(80.2% 0.171 120.8)
XYZxyz(40.5149, 53.5621, 12.2063)
Luminance0.5356 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCE3A #593ACE
analogous
#CEA33A #AFCE3A #65CE3A
triadic
#AFCE3A #3AAFCE #CE3AAF
tetradic
#AFCE3A #3ACEA3 #593ACE #CE3A65
square
#AFCE3A #3ACEA3 #593ACE #CE3A65
split-complementary
#AFCE3A #3A65CE #A33ACE
monochromatic
#60711C #89A228 #AFCE3A #C3DA6B #D7E69C

Accessibility & contrast

On white

1.79
#AFCE3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.71
#AFCE3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCE3A
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCE3A#FFFFFF#000000##000000
##AFCE3A1.001.7911.7111.71
#FFFFFF1.791.0021.0021.00
#00000011.7121.001.001.00
##00000011.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC21E
Deuteranopia (green-blind)
#D7C247
Tritanopia (blue-blind)
#B9C3B1
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #afce3a;
/* rgb */ color: rgb(175, 206, 58);
/* oklch */ color: oklch(80.2% 0.171 120.8);
Tailwind
colors: {
  custom: {
    50: '#cadd7a',
    500: '#afce3a',
    950: '#000000',
  },
}
SCSS
$custom: #afce3a;
$custom-light: #cadd7a;
$custom-dark: #000000;
JSON
{
  "hex": "#afce3a",
  "rgb": {
    "r": 175,
    "g": 206,
    "b": 58
  },
  "hsl": {
    "h": 72.568,
    "s": 60.163,
    "l": 51.765
  },
  "oklch": {
    "l": 0.80196,
    "c": 0.17109,
    "h": 120.8
  },
  "luminance": 0.53562
}

Semantic roles & 50–950 ramp

primary
#AFCE3A
secondary
#41327A
accent
#44E366
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #AFCE3A

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

Preview Lab → · Contrast checker → · Palette generator →

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