#AFC03A#AFC03A

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

Color values

HEX#AFC03A
RGBrgb(175, 192, 58)
HSLhsl(68, 54%, 49%)
HSVhsv(68, 70%, 75%)
CMYKcmyk(8.9%, 0%, 69.8%, 24.7%)
CIE-LABlab(74.27, -23.03, 62.11)
CIE-LCHlch(74.27, 66.24, 110.35°)
OKLaboklab(77.03% -0.069 0.1388)
OKLCHoklch(77.03% 0.155 116.5)
XYZxyz(37.2934, 47.1192, 11.1325)
Luminance0.4712 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC03A #4B3AC0
analogous
#C08E3A #AFC03A #6CC03A
triadic
#AFC03A #3AAFC0 #C03AAF
tetradic
#AFC03A #3AC08E #4B3AC0 #C03A6C
square
#AFC03A #3AC08E #4B3AC0 #C03A6C
split-complementary
#AFC03A #3A6CC0 #8E3AC0
monochromatic
#59621E #84912C #AFC03A #C3D166 #D6DF95

Accessibility & contrast

On white

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

On black

10.42
#AFC03A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC03A
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC03A#FFFFFF#000000##000000
##AFC03A1.002.0110.4210.42
#FFFFFF2.011.0021.0021.00
#00000010.4221.001.001.00
##00000010.4221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afc03a;
/* rgb */ color: rgb(175, 192, 58);
/* oklch */ color: oklch(77.0% 0.155 116.5);
Tailwind
colors: {
  custom: {
    50: '#cad279',
    500: '#afc03a',
    950: '#000000',
  },
}
SCSS
$custom: #afc03a;
$custom-light: #cad279;
$custom-dark: #000000;
JSON
{
  "hex": "#afc03a",
  "rgb": {
    "r": 175,
    "g": 192,
    "b": 58
  },
  "hsl": {
    "h": 67.612,
    "s": 53.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.77025,
    "c": 0.155,
    "h": 116.5
  },
  "luminance": 0.47119
}

Semantic roles & 50–950 ramp

primary
#AFC03A
secondary
#938BCA
accent
#4BDD5D
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#141409
muted
#82827B

Preview Lab

Preview with #AFC03A

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

Preview Lab → · Contrast checker → · Palette generator →

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