#AFCE3B#AFCE3B

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

Color values

HEX#AFCE3B
RGBrgb(175, 206, 59)
HSLhsl(73, 60%, 52%)
HSVhsv(73, 71%, 81%)
CMYKcmyk(15%, 0%, 71.4%, 19.2%)
CIE-LABlab(78.21, -29.71, 65.64)
CIE-LCHlch(78.21, 72.05, 114.35°)
OKLaboklab(80.2% -0.0874 0.1464)
OKLCHoklch(80.2% 0.17 120.9)
XYZxyz(40.5406, 53.5724, 12.3416)
Luminance0.5357 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCE3B #5A3BCE
analogous
#CEA43B #AFCE3B #66CE3B
triadic
#AFCE3B #3BAFCE #CE3BAF
tetradic
#AFCE3B #3BCEA4 #5A3BCE #CE3B66
square
#AFCE3B #3BCEA4 #5A3BCE #CE3B66
split-complementary
#AFCE3B #3B66CE #A43BCE
monochromatic
#60721D #89A329 #AFCE3B #C3DA6C #D7E69D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFCE3B#FFFFFF#000000##000000
##AFCE3B1.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)
#DBC220
Deuteranopia (green-blind)
#D7C247
Tritanopia (blue-blind)
#B9C3B1
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #afce3b;
/* rgb */ color: rgb(175, 206, 59);
/* oklch */ color: oklch(80.2% 0.170 120.9);
Tailwind
colors: {
  custom: {
    50: '#cadd7a',
    500: '#afce3b',
    950: '#000000',
  },
}
SCSS
$custom: #afce3b;
$custom-light: #cadd7a;
$custom-dark: #000000;
JSON
{
  "hex": "#afce3b",
  "rgb": {
    "r": 175,
    "g": 206,
    "b": 59
  },
  "hsl": {
    "h": 72.653,
    "s": 60,
    "l": 51.961
  },
  "oklch": {
    "l": 0.80202,
    "c": 0.17049,
    "h": 120.9
  },
  "luminance": 0.53572
}

Semantic roles & 50–950 ramp

primary
#AFCE3B
secondary
#42327B
accent
#45E366
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #AFCE3B

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

Preview Lab → · Contrast checker → · Palette generator →

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