#AFC33C#AFC33C

#AFC33C is a light, vivid yellow. Relative luminance 0.485; OKLCH L 77.7% C 0.157 H 117.5°. Best body text is #000000 at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#AFC33C
RGBrgb(175, 195, 60)
HSLhsl(69, 53%, 50%)
HSVhsv(69, 69%, 76%)
CMYKcmyk(10.3%, 0%, 69.2%, 23.5%)
CIE-LABlab(75.12, -24.39, 62.22)
CIE-LCHlch(75.12, 66.83, 111.40°)
OKLaboklab(77.72% -0.0726 0.1393)
OKLCHoklch(77.72% 0.157 117.5)
XYZxyz(38.0107, 48.4708, 11.6275)
Luminance0.4847 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC33C #503CC3
analogous
#C3943C #AFC33C #6BC33C
triadic
#AFC33C #3CAFC3 #C33CAF
tetradic
#AFC33C #3CC394 #503CC3 #C33C6B
square
#AFC33C #3CC394 #503CC3 #C33C6B
split-complementary
#AFC33C #3C6BC3 #943CC3
monochromatic
#5B651F #85942E #AFC33C #C2D16B #D5E09A

Accessibility & contrast

On white

1.96
#AFC33C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.69
#AFC33C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC33C
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC33C#FFFFFF#000000##000000
##AFC33C1.001.9610.6910.69
#FFFFFF1.961.0021.0021.00
#00000010.6921.001.001.00
##00000010.6921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afc33c;
/* rgb */ color: rgb(175, 195, 60);
/* oklch */ color: oklch(77.7% 0.157 117.5);
Tailwind
colors: {
  custom: {
    50: '#cad57a',
    500: '#afc33c',
    950: '#000000',
  },
}
SCSS
$custom: #afc33c;
$custom-light: #cad57a;
$custom-dark: #000000;
JSON
{
  "hex": "#afc33c",
  "rgb": {
    "r": 175,
    "g": 195,
    "b": 60
  },
  "hsl": {
    "h": 68.889,
    "s": 52.941,
    "l": 50
  },
  "oklch": {
    "l": 0.77716,
    "c": 0.15711,
    "h": 117.5
  },
  "luminance": 0.4847
}

Semantic roles & 50–950 ramp

primary
#AFC33C
secondary
#988FCC
accent
#4BDC61
background
#FCFDF7
surface
#F9FAEE
border
#D2D3C9
text
#14140A
muted
#82837C

Preview Lab

Preview with #AFC33C

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

Preview Lab → · Contrast checker → · Palette generator →

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