#AFC03D#AFC03D

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

Color values

HEX#AFC03D
RGBrgb(175, 192, 61)
HSLhsl(68, 52%, 50%)
HSVhsv(68, 68%, 75%)
CMYKcmyk(8.9%, 0%, 68.2%, 24.7%)
CIE-LABlab(74.29, -22.86, 61.00)
CIE-LCHlch(74.29, 65.14, 110.55°)
OKLaboklab(77.05% -0.0683 0.1369)
OKLCHoklch(77.05% 0.153 116.5)
XYZxyz(37.3720, 47.1506, 11.5462)
Luminance0.4715 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC03D #4E3DC0
analogous
#C08F3D #AFC03D #6EC03D
triadic
#AFC03D #3DAFC0 #C03DAF
tetradic
#AFC03D #3DC08F #4E3DC0 #C03D6E
square
#AFC03D #3DC08F #4E3DC0 #C03D6E
split-complementary
#AFC03D #3D6EC0 #8F3DC0
monochromatic
#5A631F #85922E #AFC03D #C3D06A #D6DF99

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFC03D#FFFFFF#000000##000000
##AFC03D1.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)
#CDB629
Deuteranopia (green-blind)
#CBB847
Tritanopia (blue-blind)
#BAB5A6
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #afc03d;
/* rgb */ color: rgb(175, 192, 61);
/* oklch */ color: oklch(77.0% 0.153 116.5);
Tailwind
colors: {
  custom: {
    50: '#cad27a',
    500: '#afc03d',
    950: '#000000',
  },
}
SCSS
$custom: #afc03d;
$custom-light: #cad27a;
$custom-dark: #000000;
JSON
{
  "hex": "#afc03d",
  "rgb": {
    "r": 175,
    "g": 192,
    "b": 61
  },
  "hsl": {
    "h": 67.786,
    "s": 51.779,
    "l": 49.608
  },
  "oklch": {
    "l": 0.77048,
    "c": 0.15299,
    "h": 116.5
  },
  "luminance": 0.4715
}

Semantic roles & 50–950 ramp

primary
#AFC03D
secondary
#968ECA
accent
#4DDB5F
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14140A
muted
#82827C

Preview Lab

Preview with #AFC03D

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

Preview Lab → · Contrast checker → · Palette generator →

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