#AFC83E#AFC83E

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

Color values

HEX#AFC83E
RGBrgb(175, 200, 62)
HSLhsl(71, 56%, 51%)
HSVhsv(71, 69%, 78%)
CMYKcmyk(12.5%, 0%, 69%, 21.6%)
CIE-LABlab(76.54, -26.69, 62.89)
CIE-LCHlch(76.54, 68.32, 112.99°)
OKLaboklab(78.86% -0.0788 0.1411)
OKLCHoklch(78.86% 0.162 119.2)
XYZxyz(39.2037, 50.7706, 12.2909)
Luminance0.5077 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC83E #573EC8
analogous
#C89C3E #AFC83E #6AC83E
triadic
#AFC83E #3EAFC8 #C83EAF
tetradic
#AFC83E #3EC89C #573EC8 #C83E6A
square
#AFC83E #3EC89C #573EC8 #C83E6A
split-complementary
#AFC83E #3E6AC8 #9C3EC8
monochromatic
#5F6D1F #889C2D #AFC83E #C3D66E #D6E39D

Accessibility & contrast

On white

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

On black

11.15
#AFC83E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC83E
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC83E#FFFFFF#000000##000000
##AFC83E1.001.8811.1511.15
#FFFFFF1.881.0021.0021.00
#00000011.1521.001.001.00
##00000011.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afc83e;
/* rgb */ color: rgb(175, 200, 62);
/* oklch */ color: oklch(78.9% 0.162 119.2);
Tailwind
colors: {
  custom: {
    50: '#cad87b',
    500: '#afc83e',
    950: '#000000',
  },
}
SCSS
$custom: #afc83e;
$custom-light: #cad87b;
$custom-dark: #000000;
JSON
{
  "hex": "#afc83e",
  "rgb": {
    "r": 175,
    "g": 200,
    "b": 62
  },
  "hsl": {
    "h": 70.87,
    "s": 55.645,
    "l": 51.373
  },
  "oklch": {
    "l": 0.78862,
    "c": 0.16157,
    "h": 119.2
  },
  "luminance": 0.5077
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFC83E

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

Preview Lab → · Contrast checker → · Palette generator →

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