#AFC33E#AFC33E

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

Color values

HEX#AFC33E
RGBrgb(175, 195, 62)
HSLhsl(69, 53%, 50%)
HSVhsv(69, 68%, 76%)
CMYKcmyk(10.3%, 0%, 68.2%, 23.5%)
CIE-LABlab(75.13, -24.27, 61.48)
CIE-LCHlch(75.13, 66.09, 111.54°)
OKLaboklab(77.73% -0.0721 0.1381)
OKLCHoklch(77.73% 0.156 117.6)
XYZxyz(38.0646, 48.4924, 11.9112)
Luminance0.4849 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC33E #523EC3
analogous
#C3953E #AFC33E #6CC33E
triadic
#AFC33E #3EAFC3 #C33EAF
tetradic
#AFC33E #3EC395 #523EC3 #C33E6C
square
#AFC33E #3EC395 #523EC3 #C33E6C
split-complementary
#AFC33E #3E6CC3 #953EC3
monochromatic
#5C6720 #86952E #AFC33E #C2D26D #D6E09B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFC33E#FFFFFF#000000##000000
##AFC33E1.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)
#D0B92A
Deuteranopia (green-blind)
#CEBA48
Tritanopia (blue-blind)
#B9B8A8
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #afc33e;
/* rgb */ color: rgb(175, 195, 62);
/* oklch */ color: oklch(77.7% 0.156 117.6);
Tailwind
colors: {
  custom: {
    50: '#cad57b',
    500: '#afc33e',
    950: '#000000',
  },
}
SCSS
$custom: #afc33e;
$custom-light: #cad57b;
$custom-dark: #000000;
JSON
{
  "hex": "#afc33e",
  "rgb": {
    "r": 175,
    "g": 195,
    "b": 62
  },
  "hsl": {
    "h": 69.023,
    "s": 52.569,
    "l": 50.392
  },
  "oklch": {
    "l": 0.77732,
    "c": 0.15576,
    "h": 117.6
  },
  "luminance": 0.48492
}

Semantic roles & 50–950 ramp

primary
#AFC33E
secondary
#9A91CC
accent
#4CDC61
background
#FCFDF7
surface
#F9FAEE
border
#D2D3C9
text
#14140A
muted
#82837C

Preview Lab

Preview with #AFC33E

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

Preview Lab → · Contrast checker → · Palette generator →

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