#AFC033#AFC033

#AFC033 is a light, vivid yellow. Relative luminance 0.471; OKLCH L 77.0% C 0.159 H 116.3°. Best body text is #000000 at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#AFC033
RGBrgb(175, 192, 51)
HSLhsl(67, 58%, 48%)
HSVhsv(67, 73%, 75%)
CMYKcmyk(8.9%, 0%, 73.4%, 24.7%)
CIE-LABlab(74.22, -23.39, 64.55)
CIE-LCHlch(74.22, 68.66, 109.92°)
OKLaboklab(76.98% -0.0707 0.1427)
OKLCHoklch(76.98% 0.159 116.3)
XYZxyz(37.1273, 47.0528, 10.2576)
Luminance0.4705 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC033 #4433C0
analogous
#C08A33 #AFC033 #68C033
triadic
#AFC033 #33AFC0 #C033AF
tetradic
#AFC033 #33C08A #4433C0 #C03368
square
#AFC033 #33C08A #4433C0 #C03368
split-complementary
#AFC033 #3368C0 #8A33C0
monochromatic
#575F19 #839026 #AFC033 #C5D45C #D7E18D

Accessibility & contrast

On white

2.02
#AFC033 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.41
#AFC033 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC033
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC033#FFFFFF#000000##000000
##AFC0331.002.0210.4110.41
#FFFFFF2.021.0021.0021.00
#00000010.4121.001.001.00
##00000010.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB616
Deuteranopia (green-blind)
#CCB73F
Tritanopia (blue-blind)
#BAB5A5
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #afc033;
/* rgb */ color: rgb(175, 192, 51);
/* oklch */ color: oklch(77.0% 0.159 116.3);
Tailwind
colors: {
  custom: {
    50: '#cad275',
    500: '#afc033',
    950: '#000000',
  },
}
SCSS
$custom: #afc033;
$custom-light: #cad275;
$custom-dark: #000000;
JSON
{
  "hex": "#afc033",
  "rgb": {
    "r": 175,
    "g": 192,
    "b": 51
  },
  "hsl": {
    "h": 67.234,
    "s": 58.025,
    "l": 47.647
  },
  "oklch": {
    "l": 0.76978,
    "c": 0.15929,
    "h": 116.3
  },
  "luminance": 0.47052
}

Semantic roles & 50–950 ramp

primary
#AFC033
secondary
#8C84CB
accent
#47E159
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141409
muted
#82827B

Preview Lab

Preview with #AFC033

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

Preview Lab → · Contrast checker → · Palette generator →

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