#AFC83B#AFC83B

#AFC83B 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#AFC83B
RGBrgb(175, 200, 59)
HSLhsl(71, 56%, 51%)
HSVhsv(71, 71%, 78%)
CMYKcmyk(12.5%, 0%, 70.5%, 21.6%)
CIE-LABlab(76.52, -26.86, 63.98)
CIE-LCHlch(76.52, 69.39, 112.77°)
OKLaboklab(78.84% -0.0795 0.1429)
OKLCHoklch(78.84% 0.164 119.1)
XYZxyz(39.1237, 50.7385, 11.8693)
Luminance0.5074 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC83B #543BC8
analogous
#C89A3B #AFC83B #68C83B
triadic
#AFC83B #3BAFC8 #C83BAF
tetradic
#AFC83B #3BC89A #543BC8 #C83B68
square
#AFC83B #3BC89A #543BC8 #C83B68
split-complementary
#AFC83B #3B68C8 #9A3BC8
monochromatic
#5D6B1E #879A2B #AFC83B #C3D56B #D6E39B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #afc83b;
/* rgb */ color: rgb(175, 200, 59);
/* oklch */ color: oklch(78.8% 0.164 119.1);
Tailwind
colors: {
  custom: {
    50: '#cad87a',
    500: '#afc83b',
    950: '#000000',
  },
}
SCSS
$custom: #afc83b;
$custom-light: #cad87a;
$custom-dark: #000000;
JSON
{
  "hex": "#afc83b",
  "rgb": {
    "r": 175,
    "g": 200,
    "b": 59
  },
  "hsl": {
    "h": 70.638,
    "s": 56.175,
    "l": 50.784
  },
  "oklch": {
    "l": 0.7884,
    "c": 0.16352,
    "h": 119.1
  },
  "luminance": 0.50738
}

Semantic roles & 50–950 ramp

primary
#AFC83B
secondary
#3E3374
accent
#48DF63
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #AFC83B

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

Preview Lab → · Contrast checker → · Palette generator →

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