#AFC33F#AFC33F

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

Color values

HEX#AFC33F
RGBrgb(175, 195, 63)
HSLhsl(69, 52%, 51%)
HSVhsv(69, 68%, 76%)
CMYKcmyk(10.3%, 0%, 67.7%, 23.5%)
CIE-LABlab(75.14, -24.21, 61.10)
CIE-LCHlch(75.14, 65.72, 111.62°)
OKLaboklab(77.74% -0.0718 0.1374)
OKLCHoklch(77.74% 0.155 117.6)
XYZxyz(38.0923, 48.5034, 12.0571)
Luminance0.4850 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC33F #533FC3
analogous
#C3953F #AFC33F #6DC33F
triadic
#AFC33F #3FAFC3 #C33FAF
tetradic
#AFC33F #3FC395 #533FC3 #C33F6D
square
#AFC33F #3FC395 #533FC3 #C33F6D
split-complementary
#AFC33F #3F6DC3 #953FC3
monochromatic
#5D6720 #86962F #AFC33F #C2D26E #D6E09C

Accessibility & contrast

On white

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

On black

10.70
#AFC33F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC33F
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC33F#FFFFFF#000000##000000
##AFC33F1.001.9610.7010.70
#FFFFFF1.961.0021.0021.00
#00000010.7021.001.001.00
##00000010.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B92B
Deuteranopia (green-blind)
#CEBA49
Tritanopia (blue-blind)
#B9B8A9
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #afc33f;
/* rgb */ color: rgb(175, 195, 63);
/* oklch */ color: oklch(77.7% 0.155 117.6);
Tailwind
colors: {
  custom: {
    50: '#cad57b',
    500: '#afc33f',
    950: '#000000',
  },
}
SCSS
$custom: #afc33f;
$custom-light: #cad57b;
$custom-dark: #000000;
JSON
{
  "hex": "#afc33f",
  "rgb": {
    "r": 175,
    "g": 195,
    "b": 63
  },
  "hsl": {
    "h": 69.091,
    "s": 52.381,
    "l": 50.588
  },
  "oklch": {
    "l": 0.77739,
    "c": 0.15507,
    "h": 117.6
  },
  "luminance": 0.48503
}

Semantic roles & 50–950 ramp

primary
#AFC33F
secondary
#9A92CC
accent
#4CDC62
background
#FCFDF7
surface
#F9FAEE
border
#D2D3C9
text
#14140A
muted
#82837C

Preview Lab

Preview with #AFC33F

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

Preview Lab → · Contrast checker → · Palette generator →

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