#AFC03B#AFC03B

#AFC03B 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#AFC03B
RGBrgb(175, 192, 59)
HSLhsl(68, 53%, 49%)
HSVhsv(68, 69%, 75%)
CMYKcmyk(8.9%, 0%, 69.3%, 24.7%)
CIE-LABlab(74.27, -22.98, 61.74)
CIE-LCHlch(74.27, 65.88, 110.41°)
OKLaboklab(77.03% -0.0688 0.1382)
OKLCHoklch(77.03% 0.154 116.5)
XYZxyz(37.3191, 47.1295, 11.2678)
Luminance0.4713 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC03B #4C3BC0
analogous
#C08F3B #AFC03B #6DC03B
triadic
#AFC03B #3BAFC0 #C03BAF
tetradic
#AFC03B #3BC08F #4C3BC0 #C03B6D
square
#AFC03B #3BC08F #4C3BC0 #C03B6D
split-complementary
#AFC03B #3B6DC0 #8F3BC0
monochromatic
#5A621E #84912D #AFC03B #C3D168 #D6DF97

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFC03B#FFFFFF#000000##000000
##AFC03B1.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)
#CDB626
Deuteranopia (green-blind)
#CCB845
Tritanopia (blue-blind)
#BAB5A6
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #afc03b;
/* rgb */ color: rgb(175, 192, 59);
/* oklch */ color: oklch(77.0% 0.154 116.5);
Tailwind
colors: {
  custom: {
    50: '#cad279',
    500: '#afc03b',
    950: '#000000',
  },
}
SCSS
$custom: #afc03b;
$custom-light: #cad279;
$custom-dark: #000000;
JSON
{
  "hex": "#afc03b",
  "rgb": {
    "r": 175,
    "g": 192,
    "b": 59
  },
  "hsl": {
    "h": 67.669,
    "s": 52.988,
    "l": 49.216
  },
  "oklch": {
    "l": 0.77033,
    "c": 0.15434,
    "h": 116.5
  },
  "luminance": 0.47129
}

Semantic roles & 50–950 ramp

primary
#AFC03B
secondary
#948CCA
accent
#4BDC5E
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14140A
muted
#82827C

Preview Lab

Preview with #AFC03B

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

Preview Lab → · Contrast checker → · Palette generator →

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