#CFC543#CFC543

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

Color values

HEX#CFC543
RGBrgb(207, 197, 67)
HSLhsl(56, 59%, 54%)
HSVhsv(56, 68%, 81%)
CMYKcmyk(0%, 4.8%, 67.6%, 18.8%)
CIE-LABlab(78.23, -11.59, 63.49)
CIE-LCHlch(78.23, 64.54, 100.34°)
OKLaboklab(80.84% -0.0379 0.1422)
OKLCHoklch(80.84% 0.147 104.9)
XYZxyz(46.7133, 53.6049, 13.1952)
Luminance0.5360 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC543 #434DCF
analogous
#CF7F43 #CFC543 #93CF43
triadic
#CFC543 #43CFC5 #C543CF
tetradic
#CFC543 #43CF7F #434DCF #CF4393
square
#CFC543 #43CF7F #434DCF #CF4393
split-complementary
#CFC543 #4393CF #7F43CF
monochromatic
#79721F #AAA02B #CFC543 #DBD474 #E8E3A5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFC543#FFFFFF#000000##000000
##CFC5431.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)
#D6BE30
Deuteranopia (green-blind)
#D9C44B
Tritanopia (blue-blind)
#DEB8AB
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cfc543;
/* rgb */ color: rgb(207, 197, 67);
/* oklch */ color: oklch(80.8% 0.147 104.9);
Tailwind
colors: {
  custom: {
    50: '#e1d67e',
    500: '#cfc543',
    950: '#000000',
  },
}
SCSS
$custom: #cfc543;
$custom-light: #e1d67e;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc543",
  "rgb": {
    "r": 207,
    "g": 197,
    "b": 67
  },
  "hsl": {
    "h": 55.714,
    "s": 59.322,
    "l": 53.725
  },
  "oklch": {
    "l": 0.80836,
    "c": 0.14718,
    "h": 104.9
  },
  "luminance": 0.53603
}

Semantic roles & 50–950 ramp

primary
#CFC543
secondary
#353B81
accent
#51E345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CFC543

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

Preview Lab → · Contrast checker → · Palette generator →

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