#AFC83A#AFC83A

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

Color values

HEX#AFC83A
RGBrgb(175, 200, 58)
HSLhsl(71, 56%, 51%)
HSVhsv(71, 71%, 78%)
CMYKcmyk(12.5%, 0%, 71%, 21.6%)
CIE-LABlab(76.51, -26.91, 64.33)
CIE-LCHlch(76.51, 69.73, 112.70°)
OKLaboklab(78.83% -0.0798 0.1434)
OKLCHoklch(78.83% 0.164 119.1)
XYZxyz(39.0980, 50.7283, 11.7340)
Luminance0.5073 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC83A #533AC8
analogous
#C89A3A #AFC83A #68C83A
triadic
#AFC83A #3AAFC8 #C83AAF
tetradic
#AFC83A #3AC89A #533AC8 #C83A68
square
#AFC83A #3AC89A #533AC8 #C83A68
split-complementary
#AFC83A #3A68C8 #9A3AC8
monochromatic
#5D6A1E #869A2B #AFC83A #C2D56A #D6E39A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFC83A#FFFFFF#000000##000000
##AFC83A1.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)
#D5BD21
Deuteranopia (green-blind)
#D2BD46
Tritanopia (blue-blind)
#B9BDAC
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #afc83a;
/* rgb */ color: rgb(175, 200, 58);
/* oklch */ color: oklch(78.8% 0.164 119.1);
Tailwind
colors: {
  custom: {
    50: '#cad879',
    500: '#afc83a',
    950: '#000000',
  },
}
SCSS
$custom: #afc83a;
$custom-light: #cad879;
$custom-dark: #000000;
JSON
{
  "hex": "#afc83a",
  "rgb": {
    "r": 175,
    "g": 200,
    "b": 58
  },
  "hsl": {
    "h": 70.563,
    "s": 56.349,
    "l": 50.588
  },
  "oklch": {
    "l": 0.78833,
    "c": 0.16414,
    "h": 119.1
  },
  "luminance": 0.50728
}

Semantic roles & 50–950 ramp

primary
#AFC83A
secondary
#3E3274
accent
#48E063
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #AFC83A

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

Preview Lab → · Contrast checker → · Palette generator →

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