#AFBC33#AFBC33

#AFBC33 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#AFBC33
RGBrgb(175, 188, 51)
HSLhsl(66, 57%, 47%)
HSVhsv(66, 73%, 74%)
CMYKcmyk(6.9%, 0%, 72.9%, 26.3%)
CIE-LABlab(73.10, -21.43, 63.48)
CIE-LCHlch(73.10, 67.00, 108.65°)
OKLaboklab(76.08% -0.0652 0.1405)
OKLCHoklch(76.08% 0.155 114.9)
XYZxyz(36.2610, 45.3201, 9.9688)
Luminance0.4532 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBC33 #4033BC
analogous
#BC8433 #AFBC33 #6BBC33
triadic
#AFBC33 #33AFBC #BC33AF
tetradic
#AFBC33 #33BC84 #4033BC #BC336B
square
#AFBC33 #33BC84 #4033BC #BC336B
split-complementary
#AFBC33 #336BBC #8433BC
monochromatic
#555C19 #828C26 #AFBC33 #C7D25A #D7DF8A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFBC33#FFFFFF#000000##000000
##AFBC331.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)
#CAB218
Deuteranopia (green-blind)
#C9B53E
Tritanopia (blue-blind)
#BAB1A2
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #afbc33;
/* rgb */ color: rgb(175, 188, 51);
/* oklch */ color: oklch(76.1% 0.155 114.9);
Tailwind
colors: {
  custom: {
    50: '#cad075',
    500: '#afbc33',
    950: '#000000',
  },
}
SCSS
$custom: #afbc33;
$custom-light: #cad075;
$custom-dark: #000000;
JSON
{
  "hex": "#afbc33",
  "rgb": {
    "r": 175,
    "g": 188,
    "b": 51
  },
  "hsl": {
    "h": 65.693,
    "s": 57.322,
    "l": 46.863
  },
  "oklch": {
    "l": 0.76078,
    "c": 0.15489,
    "h": 114.9
  },
  "luminance": 0.45319
}

Semantic roles & 50–950 ramp

primary
#AFBC33
secondary
#8881C9
accent
#47E156
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141309
muted
#82827B

Preview Lab

Preview with #AFBC33

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

Preview Lab → · Contrast checker → · Palette generator →

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