#AFC83C#AFC83C

#AFC83C is a light, vivid yellow-green. Relative luminance 0.507; OKLCH L 78.8% C 0.163 H 119.1°. Best body text is #000000 at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#AFC83C
RGBrgb(175, 200, 60)
HSLhsl(71, 56%, 51%)
HSVhsv(71, 70%, 78%)
CMYKcmyk(12.5%, 0%, 70%, 21.6%)
CIE-LABlab(76.53, -26.80, 63.62)
CIE-LCHlch(76.53, 69.04, 112.84°)
OKLaboklab(78.85% -0.0793 0.1423)
OKLCHoklch(78.85% 0.163 119.1)
XYZxyz(39.1498, 50.7490, 12.0072)
Luminance0.5075 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC83C #553CC8
analogous
#C89B3C #AFC83C #69C83C
triadic
#AFC83C #3CAFC8 #C83CAF
tetradic
#AFC83C #3CC89B #553CC8 #C83C69
square
#AFC83C #3CC89B #553CC8 #C83C69
split-complementary
#AFC83C #3C69C8 #9B3CC8
monochromatic
#5E6B1E #879B2C #AFC83C #C3D56C #D6E39B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFC83C#FFFFFF#000000##000000
##AFC83C1.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)
#D5BD25
Deuteranopia (green-blind)
#D2BD47
Tritanopia (blue-blind)
#B9BDAC
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #afc83c;
/* rgb */ color: rgb(175, 200, 60);
/* oklch */ color: oklch(78.8% 0.163 119.1);
Tailwind
colors: {
  custom: {
    50: '#cad87a',
    500: '#afc83c',
    950: '#000000',
  },
}
SCSS
$custom: #afc83c;
$custom-light: #cad87a;
$custom-dark: #000000;
JSON
{
  "hex": "#afc83c",
  "rgb": {
    "r": 175,
    "g": 200,
    "b": 60
  },
  "hsl": {
    "h": 70.714,
    "s": 56,
    "l": 50.98
  },
  "oklch": {
    "l": 0.78847,
    "c": 0.16287,
    "h": 119.1
  },
  "luminance": 0.50749
}

Semantic roles & 50–950 ramp

primary
#AFC83C
secondary
#3F3375
accent
#49DF63
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #AFC83C

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

Preview Lab → · Contrast checker → · Palette generator →

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