#CFC545#CFC545

#CFC545 is a light, vivid yellow. Relative luminance 0.536; OKLCH L 80.9% C 0.146 H 104.8°. Best body text is #000000 at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#CFC545
RGBrgb(207, 197, 69)
HSLhsl(56, 59%, 54%)
HSVhsv(56, 67%, 81%)
CMYKcmyk(0%, 4.8%, 66.7%, 18.8%)
CIE-LABlab(78.25, -11.47, 62.72)
CIE-LCHlch(78.25, 63.76, 100.37°)
OKLaboklab(80.85% -0.0373 0.1409)
OKLCHoklch(80.85% 0.146 104.8)
XYZxyz(46.7744, 53.6293, 13.5167)
Luminance0.5363 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC545 #454FCF
analogous
#CF8045 #CFC545 #94CF45
triadic
#CFC545 #45CFC5 #C545CF
tetradic
#CFC545 #45CF80 #454FCF #CF4594
square
#CFC545 #45CF80 #454FCF #CF4594
split-complementary
#CFC545 #4594CF #8045CF
monochromatic
#7A7420 #ABA22C #CFC545 #DCD476 #E8E3A6

Accessibility & contrast

On white

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

On black

11.73
#CFC545 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC545
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC545#FFFFFF#000000##000000
##CFC5451.001.7911.7311.73
#FFFFFF1.791.0021.0021.00
#00000011.7321.001.001.00
##00000011.7321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfc545;
/* rgb */ color: rgb(207, 197, 69);
/* oklch */ color: oklch(80.9% 0.146 104.8);
Tailwind
colors: {
  custom: {
    50: '#e1d67f',
    500: '#cfc545',
    950: '#000000',
  },
}
SCSS
$custom: #cfc545;
$custom-light: #e1d67f;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc545",
  "rgb": {
    "r": 207,
    "g": 197,
    "b": 69
  },
  "hsl": {
    "h": 55.652,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.80852,
    "c": 0.14579,
    "h": 104.8
  },
  "luminance": 0.53628
}

Semantic roles & 50–950 ramp

primary
#CFC545
secondary
#363C82
accent
#51E246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CFC545

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

Preview Lab → · Contrast checker → · Palette generator →

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