#AFC03E#AFC03E

#AFC03E 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#AFC03E
RGBrgb(175, 192, 62)
HSLhsl(68, 51%, 50%)
HSVhsv(68, 68%, 75%)
CMYKcmyk(8.9%, 0%, 67.7%, 24.7%)
CIE-LABlab(74.29, -22.80, 60.62)
CIE-LCHlch(74.29, 64.77, 110.61°)
OKLaboklab(77.06% -0.068 0.1363)
OKLCHoklch(77.06% 0.152 116.5)
XYZxyz(37.3992, 47.1615, 11.6894)
Luminance0.4716 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC03E #4F3EC0
analogous
#C0903E #AFC03E #6EC03E
triadic
#AFC03E #3EAFC0 #C03EAF
tetradic
#AFC03E #3EC090 #4F3EC0 #C03E6E
square
#AFC03E #3EC090 #4F3EC0 #C03E6E
split-complementary
#AFC03E #3E6EC0 #903EC0
monochromatic
#5B6320 #85922F #AFC03E #C2CF6C #D5DE9A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFC03E#FFFFFF#000000##000000
##AFC03E1.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)
#CDB62A
Deuteranopia (green-blind)
#CBB848
Tritanopia (blue-blind)
#BAB5A6
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #afc03e;
/* rgb */ color: rgb(175, 192, 62);
/* oklch */ color: oklch(77.1% 0.152 116.5);
Tailwind
colors: {
  custom: {
    50: '#cad27b',
    500: '#afc03e',
    950: '#000000',
  },
}
SCSS
$custom: #afc03e;
$custom-light: #cad27b;
$custom-dark: #000000;
JSON
{
  "hex": "#afc03e",
  "rgb": {
    "r": 175,
    "g": 192,
    "b": 62
  },
  "hsl": {
    "h": 67.846,
    "s": 51.181,
    "l": 49.804
  },
  "oklch": {
    "l": 0.77056,
    "c": 0.15231,
    "h": 116.5
  },
  "luminance": 0.47161
}

Semantic roles & 50–950 ramp

primary
#AFC03E
secondary
#978FCA
accent
#4DDB60
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14140A
muted
#82827C

Preview Lab

Preview with #AFC03E

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

Preview Lab → · Contrast checker → · Palette generator →

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