#CFC547#CFC547

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

Color values

HEX#CFC547
RGBrgb(207, 197, 71)
HSLhsl(56, 59%, 55%)
HSVhsv(56, 66%, 81%)
CMYKcmyk(0%, 4.8%, 65.7%, 18.8%)
CIE-LABlab(78.26, -11.36, 61.94)
CIE-LCHlch(78.26, 62.97, 100.39°)
OKLaboklab(80.87% -0.0368 0.1396)
OKLCHoklch(80.87% 0.144 104.8)
XYZxyz(46.8375, 53.6546, 13.8492)
Luminance0.5365 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC547 #4751CF
analogous
#CF8147 #CFC547 #95CF47
triadic
#CFC547 #47CFC5 #C547CF
tetradic
#CFC547 #47CF81 #4751CF #CF4795
square
#CFC547 #47CF81 #4751CF #CF4795
split-complementary
#CFC547 #4795CF #8147CF
monochromatic
#7B7520 #ACA32D #CFC547 #DCD478 #E8E4A8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFC547#FFFFFF#000000##000000
##CFC5471.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)
#D6BE36
Deuteranopia (green-blind)
#D9C44F
Tritanopia (blue-blind)
#DEB8AB
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cfc547;
/* rgb */ color: rgb(207, 197, 71);
/* oklch */ color: oklch(80.9% 0.144 104.8);
Tailwind
colors: {
  custom: {
    50: '#e1d681',
    500: '#cfc547',
    950: '#000000',
  },
}
SCSS
$custom: #cfc547;
$custom-light: #e1d681;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc547",
  "rgb": {
    "r": 207,
    "g": 197,
    "b": 71
  },
  "hsl": {
    "h": 55.588,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.80868,
    "c": 0.14435,
    "h": 104.8
  },
  "luminance": 0.53653
}

Semantic roles & 50–950 ramp

primary
#CFC547
secondary
#373D83
accent
#51E246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CFC547

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

Preview Lab → · Contrast checker → · Palette generator →

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