#AFC03C#AFC03C

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

Color values

HEX#AFC03C
RGBrgb(175, 192, 60)
HSLhsl(68, 52%, 49%)
HSVhsv(68, 69%, 75%)
CMYKcmyk(8.9%, 0%, 68.7%, 24.7%)
CIE-LABlab(74.28, -22.92, 61.37)
CIE-LCHlch(74.28, 65.51, 110.48°)
OKLaboklab(77.04% -0.0685 0.1375)
OKLCHoklch(77.04% 0.154 116.5)
XYZxyz(37.3453, 47.1400, 11.4057)
Luminance0.4714 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC03C #4D3CC0
analogous
#C08F3C #AFC03C #6DC03C
triadic
#AFC03C #3CAFC0 #C03CAF
tetradic
#AFC03C #3CC08F #4D3CC0 #C03C6D
square
#AFC03C #3CC08F #4D3CC0 #C03C6D
split-complementary
#AFC03C #3C6DC0 #8F3CC0
monochromatic
#5A631F #85912D #AFC03C #C3D069 #D6DF98

Accessibility & contrast

On white

2.01
#AFC03C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.43
#AFC03C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC03C
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC03C#FFFFFF#000000##000000
##AFC03C1.002.0110.4310.43
#FFFFFF2.011.0021.0021.00
#00000010.4321.001.001.00
##00000010.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB627
Deuteranopia (green-blind)
#CCB846
Tritanopia (blue-blind)
#BAB5A6
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #afc03c;
/* rgb */ color: rgb(175, 192, 60);
/* oklch */ color: oklch(77.0% 0.154 116.5);
Tailwind
colors: {
  custom: {
    50: '#cad27a',
    500: '#afc03c',
    950: '#000000',
  },
}
SCSS
$custom: #afc03c;
$custom-light: #cad27a;
$custom-dark: #000000;
JSON
{
  "hex": "#afc03c",
  "rgb": {
    "r": 175,
    "g": 192,
    "b": 60
  },
  "hsl": {
    "h": 67.727,
    "s": 52.381,
    "l": 49.412
  },
  "oklch": {
    "l": 0.7704,
    "c": 0.15367,
    "h": 116.5
  },
  "luminance": 0.47139
}

Semantic roles & 50–950 ramp

primary
#AFC03C
secondary
#958DCA
accent
#4CDC5F
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14140A
muted
#82827C

Preview Lab

Preview with #AFC03C

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

Preview Lab → · Contrast checker → · Palette generator →

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