#AFC83F#AFC83F

#AFC83F is a light, vivid yellow-green. Relative luminance 0.508; OKLCH L 78.9% C 0.161 H 119.2°. Best body text is #000000 at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#AFC83F
RGBrgb(175, 200, 63)
HSLhsl(71, 55%, 52%)
HSVhsv(71, 69%, 78%)
CMYKcmyk(12.5%, 0%, 68.5%, 21.6%)
CIE-LABlab(76.55, -26.63, 62.52)
CIE-LCHlch(76.55, 67.96, 113.07°)
OKLaboklab(78.87% -0.0786 0.1404)
OKLCHoklch(78.87% 0.161 119.2)
XYZxyz(39.2314, 50.7816, 12.4368)
Luminance0.5078 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC83F #583FC8
analogous
#C89D3F #AFC83F #6BC83F
triadic
#AFC83F #3FAFC8 #C83FAF
tetradic
#AFC83F #3FC89D #583FC8 #C83F6B
square
#AFC83F #3FC89D #583FC8 #C83F6B
split-complementary
#AFC83F #3F6BC8 #9D3FC8
monochromatic
#5F6D1F #889D2D #AFC83F #C3D66F #D7E39E

Accessibility & contrast

On white

1.88
#AFC83F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.16
#AFC83F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC83F
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC83F#FFFFFF#000000##000000
##AFC83F1.001.8811.1611.16
#FFFFFF1.881.0021.0021.00
#00000011.1621.001.001.00
##00000011.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD2A
Deuteranopia (green-blind)
#D2BD4A
Tritanopia (blue-blind)
#B9BDAD
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #afc83f;
/* rgb */ color: rgb(175, 200, 63);
/* oklch */ color: oklch(78.9% 0.161 119.2);
Tailwind
colors: {
  custom: {
    50: '#cad87c',
    500: '#afc83f',
    950: '#000000',
  },
}
SCSS
$custom: #afc83f;
$custom-light: #cad87c;
$custom-dark: #000000;
JSON
{
  "hex": "#afc83f",
  "rgb": {
    "r": 175,
    "g": 200,
    "b": 63
  },
  "hsl": {
    "h": 70.949,
    "s": 55.466,
    "l": 51.569
  },
  "oklch": {
    "l": 0.78869,
    "c": 0.16091,
    "h": 119.2
  },
  "luminance": 0.50781
}

Semantic roles & 50–950 ramp

primary
#AFC83F
secondary
#403477
accent
#49DF64
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #AFC83F

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

Preview Lab → · Contrast checker → · Palette generator →

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