#CFC541#CFC541

#CFC541 is a light, vivid yellow. Relative luminance 0.536; OKLCH L 80.8% C 0.149 H 105.0°. Best body text is #000000 at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#CFC541
RGBrgb(207, 197, 65)
HSLhsl(56, 60%, 53%)
HSVhsv(56, 69%, 81%)
CMYKcmyk(0%, 4.8%, 68.6%, 18.8%)
CIE-LABlab(78.22, -11.69, 64.25)
CIE-LCHlch(78.22, 65.31, 100.31°)
OKLaboklab(80.82% -0.0384 0.1435)
OKLCHoklch(80.82% 0.149 105)
XYZxyz(46.6544, 53.5813, 12.8847)
Luminance0.5358 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC541 #414BCF
analogous
#CF7E41 #CFC541 #92CF41
triadic
#CFC541 #41CFC5 #C541CF
tetradic
#CFC541 #41CF7E #414BCF #CF4192
square
#CFC541 #41CF7E #414BCF #CF4192
split-complementary
#CFC541 #4192CF #7E41CF
monochromatic
#77711E #A89F2B #CFC541 #DBD472 #E8E3A3

Accessibility & contrast

On white

1.79
#CFC541 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.72
#CFC541 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC541
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC541#FFFFFF#000000##000000
##CFC5411.001.7911.7211.72
#FFFFFF1.791.0021.0021.00
#00000011.7221.001.001.00
##00000011.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BE2D
Deuteranopia (green-blind)
#DAC44A
Tritanopia (blue-blind)
#DEB8AB
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cfc541;
/* rgb */ color: rgb(207, 197, 65);
/* oklch */ color: oklch(80.8% 0.149 105.0);
Tailwind
colors: {
  custom: {
    50: '#e1d67d',
    500: '#cfc541',
    950: '#000000',
  },
}
SCSS
$custom: #cfc541;
$custom-light: #e1d67d;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc541",
  "rgb": {
    "r": 207,
    "g": 197,
    "b": 65
  },
  "hsl": {
    "h": 55.775,
    "s": 59.664,
    "l": 53.333
  },
  "oklch": {
    "l": 0.8082,
    "c": 0.14853,
    "h": 105
  },
  "luminance": 0.5358
}

Semantic roles & 50–950 ramp

primary
#CFC541
secondary
#343A80
accent
#50E345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CFC541

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

Preview Lab → · Contrast checker → · Palette generator →

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