#AFC333#AFC333

#AFC333 is a light, vivid yellow. Relative luminance 0.484; OKLCH L 77.7% C 0.163 H 117.3°. Best body text is #000000 at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#AFC333
RGBrgb(175, 195, 51)
HSLhsl(68, 59%, 48%)
HSVhsv(68, 74%, 76%)
CMYKcmyk(10.3%, 0%, 73.8%, 23.5%)
CIE-LABlab(75.07, -24.86, 65.36)
CIE-LCHlch(75.07, 69.92, 110.82°)
OKLaboklab(77.66% -0.0747 0.1444)
OKLCHoklch(77.66% 0.163 117.3)
XYZxyz(37.7928, 48.3836, 10.4794)
Luminance0.4838 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC333 #4733C3
analogous
#C38F33 #AFC333 #67C333
triadic
#AFC333 #33AFC3 #C333AF
tetradic
#AFC333 #33C38F #4733C3 #C33367
square
#AFC333 #33C38F #4733C3 #C33367
split-complementary
#AFC333 #3367C3 #8F33C3
monochromatic
#58621A #839226 #AFC333 #C4D55E #D6E28F

Accessibility & contrast

On white

1.97
#AFC333 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.68
#AFC333 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC333
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC333#FFFFFF#000000##000000
##AFC3331.001.9710.6810.68
#FFFFFF1.971.0021.0021.00
#00000010.6821.001.001.00
##00000010.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B814
Deuteranopia (green-blind)
#CEBA3F
Tritanopia (blue-blind)
#BAB8A8
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #afc333;
/* rgb */ color: rgb(175, 195, 51);
/* oklch */ color: oklch(77.7% 0.163 117.3);
Tailwind
colors: {
  custom: {
    50: '#cad575',
    500: '#afc333',
    950: '#000000',
  },
}
SCSS
$custom: #afc333;
$custom-light: #cad575;
$custom-dark: #000000;
JSON
{
  "hex": "#afc333",
  "rgb": {
    "r": 175,
    "g": 195,
    "b": 51
  },
  "hsl": {
    "h": 68.333,
    "s": 58.537,
    "l": 48.235
  },
  "oklch": {
    "l": 0.77655,
    "c": 0.16262,
    "h": 117.3
  },
  "luminance": 0.48383
}

Semantic roles & 50–950 ramp

primary
#AFC333
secondary
#8F86CC
accent
#46E25C
background
#FCFDF7
surface
#F9FAED
border
#D2D3C8
text
#141409
muted
#82837B

Preview Lab

Preview with #AFC333

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

Preview Lab → · Contrast checker → · Palette generator →

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