#CFCA41#CFCA41

#CFCA41 is a light, vivid yellow. Relative luminance 0.559; OKLCH L 81.9% C 0.153 H 107.3°. Best body text is #000000 at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#CFCA41
RGBrgb(207, 202, 65)
HSLhsl(58, 60%, 53%)
HSVhsv(58, 69%, 81%)
CMYKcmyk(0%, 2.4%, 68.6%, 18.8%)
CIE-LABlab(79.55, -14.22, 65.59)
CIE-LCHlch(79.55, 67.11, 102.23°)
OKLaboklab(81.88% -0.0455 0.1463)
OKLCHoklch(81.88% 0.153 107.3)
XYZxyz(47.8086, 55.8897, 13.2694)
Luminance0.5589 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCA41 #4146CF
analogous
#CF8341 #CFCA41 #8DCF41
triadic
#CFCA41 #41CFCA #CA41CF
tetradic
#CFCA41 #41CF83 #4146CF #CF418D
square
#CFCA41 #41CF83 #4146CF #CF418D
split-complementary
#CFCA41 #418DCF #8341CF
monochromatic
#77741E #A8A42B #CFCA41 #DBD872 #E8E5A3

Accessibility & contrast

On white

1.72
#CFCA41 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.18
#CFCA41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCA41
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCA41#FFFFFF#000000##000000
##CFCA411.001.7212.1812.18
#FFFFFF1.721.0021.0021.00
#00000012.1821.001.001.00
##00000012.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC22C
Deuteranopia (green-blind)
#DDC84A
Tritanopia (blue-blind)
#DEBDAF
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cfca41;
/* rgb */ color: rgb(207, 202, 65);
/* oklch */ color: oklch(81.9% 0.153 107.3);
Tailwind
colors: {
  custom: {
    50: '#e1d97e',
    500: '#cfca41',
    950: '#000000',
  },
}
SCSS
$custom: #cfca41;
$custom-light: #e1d97e;
$custom-dark: #000000;
JSON
{
  "hex": "#cfca41",
  "rgb": {
    "r": 207,
    "g": 202,
    "b": 65
  },
  "hsl": {
    "h": 57.887,
    "s": 59.664,
    "l": 53.333
  },
  "oklch": {
    "l": 0.81883,
    "c": 0.15321,
    "h": 107.3
  },
  "luminance": 0.55888
}

Semantic roles & 50–950 ramp

primary
#CFCA41
secondary
#343780
accent
#4BE345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CFCA41

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

Preview Lab → · Contrast checker → · Palette generator →

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