#AFBC32#AFBC32

#AFBC32 is a light, vivid yellow. Relative luminance 0.453; OKLCH L 76.1% C 0.155 H 114.9°. Best body text is #000000 at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#AFBC32
RGBrgb(175, 188, 50)
HSLhsl(66, 58%, 47%)
HSVhsv(66, 73%, 74%)
CMYKcmyk(6.9%, 0%, 73.4%, 26.3%)
CIE-LABlab(73.10, -21.47, 63.82)
CIE-LCHlch(73.10, 67.34, 108.60°)
OKLaboklab(76.07% -0.0654 0.141)
OKLCHoklch(76.07% 0.155 114.9)
XYZxyz(36.2392, 45.3113, 9.8539)
Luminance0.4531 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBC32 #3F32BC
analogous
#BC8432 #AFBC32 #6ABC32
triadic
#AFBC32 #32AFBC #BC32AF
tetradic
#AFBC32 #32BC84 #3F32BC #BC326A
square
#AFBC32 #32BC84 #3F32BC #BC326A
split-complementary
#AFBC32 #326ABC #8432BC
monochromatic
#555B18 #828C25 #AFBC32 #C7D358 #D7E089

Accessibility & contrast

On white

2.09
#AFBC32 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.06
#AFBC32 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBC32
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBC32#FFFFFF#000000##000000
##AFBC321.002.0910.0610.06
#FFFFFF2.091.0021.0021.00
#00000010.0621.001.001.00
##00000010.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB215
Deuteranopia (green-blind)
#C9B53E
Tritanopia (blue-blind)
#BAB1A2
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #afbc32;
/* rgb */ color: rgb(175, 188, 50);
/* oklch */ color: oklch(76.1% 0.155 114.9);
Tailwind
colors: {
  custom: {
    50: '#cad074',
    500: '#afbc32',
    950: '#000000',
  },
}
SCSS
$custom: #afbc32;
$custom-light: #cad074;
$custom-dark: #000000;
JSON
{
  "hex": "#afbc32",
  "rgb": {
    "r": 175,
    "g": 188,
    "b": 50
  },
  "hsl": {
    "h": 65.652,
    "s": 57.983,
    "l": 46.667
  },
  "oklch": {
    "l": 0.76071,
    "c": 0.15547,
    "h": 114.9
  },
  "luminance": 0.45311
}

Semantic roles & 50–950 ramp

primary
#AFBC32
secondary
#8780C9
accent
#47E155
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141309
muted
#82827B

Preview Lab

Preview with #AFBC32

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

Preview Lab → · Contrast checker → · Palette generator →

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