#CFC041#CFC041

#CFC041 is a light, vivid yellow. Relative luminance 0.513; OKLCH L 79.8% C 0.144 H 102.5°. Best body text is #000000 at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#CFC041
RGBrgb(207, 192, 65)
HSLhsl(54, 60%, 53%)
HSVhsv(54, 69%, 81%)
CMYKcmyk(0%, 7.2%, 68.6%, 18.8%)
CIE-LABlab(76.89, -9.14, 62.92)
CIE-LCHlch(76.89, 63.58, 98.27°)
OKLaboklab(79.76% -0.0312 0.1407)
OKLCHoklch(79.76% 0.144 102.5)
XYZxyz(45.5378, 51.3482, 12.5125)
Luminance0.5135 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC041 #4150CF
analogous
#CF7941 #CFC041 #97CF41
triadic
#CFC041 #41CFC0 #C041CF
tetradic
#CFC041 #41CF79 #4150CF #CF4197
square
#CFC041 #41CF79 #4150CF #CF4197
split-complementary
#CFC041 #4197CF #7941CF
monochromatic
#776E1E #A89B2B #CFC041 #DBD072 #E8E0A3

Accessibility & contrast

On white

1.86
#CFC041 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.27
#CFC041 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC041
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC041#FFFFFF#000000##000000
##CFC0411.001.8611.2711.27
#FFFFFF1.861.0021.0021.00
#00000011.2721.001.001.00
##00000011.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BA2E
Deuteranopia (green-blind)
#D6C149
Tritanopia (blue-blind)
#DEB3A6
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cfc041;
/* rgb */ color: rgb(207, 192, 65);
/* oklch */ color: oklch(79.8% 0.144 102.5);
Tailwind
colors: {
  custom: {
    50: '#e1d27d',
    500: '#cfc041',
    950: '#000000',
  },
}
SCSS
$custom: #cfc041;
$custom-light: #e1d27d;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc041",
  "rgb": {
    "r": 207,
    "g": 192,
    "b": 65
  },
  "hsl": {
    "h": 53.662,
    "s": 59.664,
    "l": 53.333
  },
  "oklch": {
    "l": 0.79764,
    "c": 0.14408,
    "h": 102.5
  },
  "luminance": 0.51346
}

Semantic roles & 50–950 ramp

primary
#CFC041
secondary
#343C80
accent
#56E345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CFC041

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

Preview Lab → · Contrast checker → · Palette generator →

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