#AFC73F#AFC73F

#AFC73F is a light, vivid yellow-green. Relative luminance 0.503; OKLCH L 78.6% C 0.160 H 118.9°. Best body text is #000000 at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#AFC73F
RGBrgb(175, 199, 63)
HSLhsl(71, 55%, 51%)
HSVhsv(71, 68%, 78%)
CMYKcmyk(12.1%, 0%, 68.3%, 22%)
CIE-LABlab(76.27, -26.15, 62.24)
CIE-LCHlch(76.27, 67.51, 112.79°)
OKLaboklab(78.64% -0.0772 0.1398)
OKLCHoklch(78.64% 0.16 118.9)
XYZxyz(39.0006, 50.3200, 12.3598)
Luminance0.5032 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC73F #573FC7
analogous
#C79B3F #AFC73F #6BC73F
triadic
#AFC73F #3FAFC7 #C73FAF
tetradic
#AFC73F #3FC79B #573FC7 #C73F6B
square
#AFC73F #3FC79B #573FC7 #C73F6B
split-complementary
#AFC73F #3F6BC7 #9B3FC7
monochromatic
#5F6C20 #889B2D #AFC73F #C3D56E #D6E39E

Accessibility & contrast

On white

1.90
#AFC73F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.06
#AFC73F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC73F
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC73F#FFFFFF#000000##000000
##AFC73F1.001.9011.0611.06
#FFFFFF1.901.0021.0021.00
#00000011.0621.001.001.00
##00000011.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BC2A
Deuteranopia (green-blind)
#D1BD4A
Tritanopia (blue-blind)
#B9BCAC
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #afc73f;
/* rgb */ color: rgb(175, 199, 63);
/* oklch */ color: oklch(78.6% 0.160 118.9);
Tailwind
colors: {
  custom: {
    50: '#cad87c',
    500: '#afc73f',
    950: '#000000',
  },
}
SCSS
$custom: #afc73f;
$custom-light: #cad87c;
$custom-dark: #000000;
JSON
{
  "hex": "#afc73f",
  "rgb": {
    "r": 175,
    "g": 199,
    "b": 63
  },
  "hsl": {
    "h": 70.588,
    "s": 54.839,
    "l": 51.373
  },
  "oklch": {
    "l": 0.78643,
    "c": 0.15974,
    "h": 118.9
  },
  "luminance": 0.5032
}

Semantic roles & 50–950 ramp

primary
#AFC73F
secondary
#403476
accent
#4ADE64
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #AFC73F

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

Preview Lab → · Contrast checker → · Palette generator →

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