#AFC932#AFC932

#AFC932 is a light, vivid yellow-green. Relative luminance 0.511; OKLCH L 79.0% C 0.170 H 119.2°. Best body text is #000000 at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#AFC932
RGBrgb(175, 201, 50)
HSLhsl(70, 60%, 49%)
HSVhsv(70, 75%, 79%)
CMYKcmyk(12.9%, 0%, 75.1%, 21.2%)
CIE-LABlab(76.75, -27.79, 67.27)
CIE-LCHlch(76.75, 72.79, 112.44°)
OKLaboklab(79.01% -0.0829 0.1483)
OKLCHoklch(79.01% 0.17 119.2)
XYZxyz(39.1424, 51.1178, 10.8217)
Luminance0.5112 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC932 #4C32C9
analogous
#C99832 #AFC932 #64C932
triadic
#AFC932 #32AFC9 #C932AF
tetradic
#AFC932 #32C998 #4C32C9 #C93264
square
#AFC932 #32C998 #4C32C9 #C93264
split-complementary
#AFC932 #3264C9 #9832C9
monochromatic
#5A671A #849826 #AFC932 #C3D861 #D6E492

Accessibility & contrast

On white

1.87
#AFC932 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.22
#AFC932 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC932
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC932#FFFFFF#000000##000000
##AFC9321.001.8711.2211.22
#FFFFFF1.871.0021.0021.00
#00000011.2221.001.001.00
##00000011.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BD0C
Deuteranopia (green-blind)
#D3BE40
Tritanopia (blue-blind)
#B9BEAD
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #afc932;
/* rgb */ color: rgb(175, 201, 50);
/* oklch */ color: oklch(79.0% 0.170 119.2);
Tailwind
colors: {
  custom: {
    50: '#cbd976',
    500: '#afc932',
    950: '#000000',
  },
}
SCSS
$custom: #afc932;
$custom-light: #cbd976;
$custom-dark: #000000;
JSON
{
  "hex": "#afc932",
  "rgb": {
    "r": 175,
    "g": 201,
    "b": 50
  },
  "hsl": {
    "h": 70.331,
    "s": 60.159,
    "l": 49.216
  },
  "oklch": {
    "l": 0.79008,
    "c": 0.16991,
    "h": 119.2
  },
  "luminance": 0.51118
}

Semantic roles & 50–950 ramp

primary
#AFC932
secondary
#3A2E71
accent
#44E360
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #AFC932

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

Preview Lab → · Contrast checker → · Palette generator →

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