#AFC832#AFC832

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

Color values

HEX#AFC832
RGBrgb(175, 200, 50)
HSLhsl(70, 60%, 49%)
HSVhsv(70, 75%, 78%)
CMYKcmyk(12.5%, 0%, 75%, 21.6%)
CIE-LABlab(76.47, -27.31, 67.01)
CIE-LCHlch(76.47, 72.36, 112.17°)
OKLaboklab(78.78% -0.0816 0.1478)
OKLCHoklch(78.78% 0.169 118.9)
XYZxyz(38.9100, 50.6531, 10.7442)
Luminance0.5065 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC832 #4B32C8
analogous
#C89632 #AFC832 #64C832
triadic
#AFC832 #32AFC8 #C832AF
tetradic
#AFC832 #32C896 #4B32C8 #C83264
square
#AFC832 #32C896 #4B32C8 #C83264
split-complementary
#AFC832 #3264C8 #9632C8
monochromatic
#59661A #849726 #AFC832 #C3D760 #D6E391

Accessibility & contrast

On white

1.89
#AFC832 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.13
#AFC832 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC832
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC832#FFFFFF#000000##000000
##AFC8321.001.8911.1311.13
#FFFFFF1.891.0021.0021.00
#00000011.1321.001.001.00
##00000011.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD0D
Deuteranopia (green-blind)
#D2BD40
Tritanopia (blue-blind)
#BABDAC
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #afc832;
/* rgb */ color: rgb(175, 200, 50);
/* oklch */ color: oklch(78.8% 0.169 118.9);
Tailwind
colors: {
  custom: {
    50: '#cbd875',
    500: '#afc832',
    950: '#000000',
  },
}
SCSS
$custom: #afc832;
$custom-light: #cbd875;
$custom-dark: #000000;
JSON
{
  "hex": "#afc832",
  "rgb": {
    "r": 175,
    "g": 200,
    "b": 50
  },
  "hsl": {
    "h": 70,
    "s": 60,
    "l": 49.02
  },
  "oklch": {
    "l": 0.78781,
    "c": 0.16878,
    "h": 118.9
  },
  "luminance": 0.50653
}

Semantic roles & 50–950 ramp

primary
#AFC832
secondary
#392E70
accent
#45E35F
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #AFC832

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

Preview Lab → · Contrast checker → · Palette generator →

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