#AFC132#AFC132

#AFC132 is a light, vivid yellow. Relative luminance 0.475; OKLCH L 77.2% C 0.161 H 116.7°. Best body text is #000000 at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#AFC132
RGBrgb(175, 193, 50)
HSLhsl(68, 59%, 48%)
HSVhsv(68, 74%, 76%)
CMYKcmyk(9.3%, 0%, 74.1%, 24.3%)
CIE-LABlab(74.50, -23.93, 65.15)
CIE-LCHlch(74.50, 69.41, 110.17°)
OKLaboklab(77.2% -0.0722 0.1438)
OKLCHoklch(77.2% 0.161 116.7)
XYZxyz(37.3258, 47.4847, 10.2161)
Luminance0.4748 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC132 #4432C1
analogous
#C18B32 #AFC132 #68C132
triadic
#AFC132 #32AFC1 #C132AF
tetradic
#AFC132 #32C18B #4432C1 #C13268
square
#AFC132 #32C18B #4432C1 #C13268
split-complementary
#AFC132 #3268C1 #8B32C1
monochromatic
#576019 #839025 #AFC132 #C5D55C #D7E18C

Accessibility & contrast

On white

2.00
#AFC132 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.50
#AFC132 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC132
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC132#FFFFFF#000000##000000
##AFC1321.002.0010.5010.50
#FFFFFF2.001.0021.0021.00
#00000010.5021.001.001.00
##00000010.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB712
Deuteranopia (green-blind)
#CDB83E
Tritanopia (blue-blind)
#BAB6A6
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #afc132;
/* rgb */ color: rgb(175, 193, 50);
/* oklch */ color: oklch(77.2% 0.161 116.7);
Tailwind
colors: {
  custom: {
    50: '#cad375',
    500: '#afc132',
    950: '#000000',
  },
}
SCSS
$custom: #afc132;
$custom-light: #cad375;
$custom-dark: #000000;
JSON
{
  "hex": "#afc132",
  "rgb": {
    "r": 175,
    "g": 193,
    "b": 50
  },
  "hsl": {
    "h": 67.552,
    "s": 58.848,
    "l": 47.647
  },
  "oklch": {
    "l": 0.77197,
    "c": 0.16096,
    "h": 116.7
  },
  "luminance": 0.47484
}

Semantic roles & 50–950 ramp

primary
#AFC132
secondary
#8C83CB
accent
#46E259
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141409
muted
#82827B

Preview Lab

Preview with #AFC132

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

Preview Lab → · Contrast checker → · Palette generator →

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