#AFC041#AFC041

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

Color values

HEX#AFC041
RGBrgb(175, 192, 65)
HSLhsl(68, 50%, 50%)
HSVhsv(68, 66%, 75%)
CMYKcmyk(8.9%, 0%, 66.1%, 24.7%)
CIE-LABlab(74.31, -22.62, 59.47)
CIE-LCHlch(74.31, 63.62, 110.83°)
OKLaboklab(77.08% -0.0672 0.1343)
OKLCHoklch(77.08% 0.15 116.6)
XYZxyz(37.4838, 47.1954, 12.1350)
Luminance0.4719 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC041 #5241C0
analogous
#C09141 #AFC041 #70C041
triadic
#AFC041 #41AFC0 #C041AF
tetradic
#AFC041 #41C091 #5241C0 #C04170
square
#AFC041 #41C091 #5241C0 #C04170
split-complementary
#AFC041 #4170C0 #9141C0
monochromatic
#5C6522 #869331 #AFC041 #C2CF6F #D6DE9D

Accessibility & contrast

On white

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

On black

10.44
#AFC041 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC041
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC041#FFFFFF#000000##000000
##AFC0411.002.0110.4410.44
#FFFFFF2.011.0021.0021.00
#00000010.4421.001.001.00
##00000010.4421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afc041;
/* rgb */ color: rgb(175, 192, 65);
/* oklch */ color: oklch(77.1% 0.150 116.6);
Tailwind
colors: {
  custom: {
    50: '#cad27c',
    500: '#afc041',
    950: '#000000',
  },
}
SCSS
$custom: #afc041;
$custom-light: #cad27c;
$custom-dark: #000000;
JSON
{
  "hex": "#afc041",
  "rgb": {
    "r": 175,
    "g": 192,
    "b": 65
  },
  "hsl": {
    "h": 68.031,
    "s": 50.198,
    "l": 50.392
  },
  "oklch": {
    "l": 0.7708,
    "c": 0.15018,
    "h": 116.6
  },
  "luminance": 0.47195
}

Semantic roles & 50–950 ramp

primary
#AFC041
secondary
#9A92CB
accent
#4EDA61
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14140A
muted
#82827C

Preview Lab

Preview with #AFC041

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

Preview Lab → · Contrast checker → · Palette generator →

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