#AFC03F#AFC03F

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

Color values

HEX#AFC03F
RGBrgb(175, 192, 63)
HSLhsl(68, 51%, 50%)
HSVhsv(68, 67%, 75%)
CMYKcmyk(8.9%, 0%, 67.2%, 24.7%)
CIE-LABlab(74.30, -22.74, 60.24)
CIE-LCHlch(74.30, 64.39, 110.68°)
OKLaboklab(77.06% -0.0678 0.1356)
OKLCHoklch(77.06% 0.152 116.5)
XYZxyz(37.4269, 47.1726, 11.8353)
Luminance0.4717 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC03F #503FC0
analogous
#C0903F #AFC03F #6FC03F
triadic
#AFC03F #3FAFC0 #C03FAF
tetradic
#AFC03F #3FC090 #503FC0 #C03F6F
square
#AFC03F #3FC090 #503FC0 #C03F6F
split-complementary
#AFC03F #3F6FC0 #903FC0
monochromatic
#5B6421 #859230 #AFC03F #C2CF6D #D5DE9B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFC03F#FFFFFF#000000##000000
##AFC03F1.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)
#CDB62C
Deuteranopia (green-blind)
#CBB849
Tritanopia (blue-blind)
#BAB5A6
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #afc03f;
/* rgb */ color: rgb(175, 192, 63);
/* oklch */ color: oklch(77.1% 0.152 116.5);
Tailwind
colors: {
  custom: {
    50: '#cad27b',
    500: '#afc03f',
    950: '#000000',
  },
}
SCSS
$custom: #afc03f;
$custom-light: #cad27b;
$custom-dark: #000000;
JSON
{
  "hex": "#afc03f",
  "rgb": {
    "r": 175,
    "g": 192,
    "b": 63
  },
  "hsl": {
    "h": 67.907,
    "s": 50.588,
    "l": 50
  },
  "oklch": {
    "l": 0.77064,
    "c": 0.15161,
    "h": 116.5
  },
  "luminance": 0.47172
}

Semantic roles & 50–950 ramp

primary
#AFC03F
secondary
#9891CA
accent
#4EDA60
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14140A
muted
#82827C

Preview Lab

Preview with #AFC03F

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

Preview Lab → · Contrast checker → · Palette generator →

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