#CFC549#CFC549

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

Color values

HEX#CFC549
RGBrgb(207, 197, 73)
HSLhsl(56, 58%, 55%)
HSVhsv(56, 65%, 81%)
CMYKcmyk(0%, 4.8%, 64.7%, 18.8%)
CIE-LABlab(78.28, -11.24, 61.14)
CIE-LCHlch(78.28, 62.16, 100.42°)
OKLaboklab(80.88% -0.0363 0.1382)
OKLCHoklch(80.88% 0.143 104.7)
XYZxyz(46.9027, 53.6807, 14.1928)
Luminance0.5368 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC549 #4953CF
analogous
#CF8249 #CFC549 #96CF49
triadic
#CFC549 #49CFC5 #C549CF
tetradic
#CFC549 #49CF82 #4953CF #CF4996
square
#CFC549 #49CF82 #4953CF #CF4996
split-complementary
#CFC549 #4996CF #8249CF
monochromatic
#7D7621 #ADA42E #CFC549 #DCD479 #E9E4AA

Accessibility & contrast

On white

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

On black

11.74
#CFC549 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC549
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC549#FFFFFF#000000##000000
##CFC5491.001.7911.7411.74
#FFFFFF1.791.0021.0021.00
#00000011.7421.001.001.00
##00000011.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BE39
Deuteranopia (green-blind)
#D9C450
Tritanopia (blue-blind)
#DEB8AB
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cfc549;
/* rgb */ color: rgb(207, 197, 73);
/* oklch */ color: oklch(80.9% 0.143 104.7);
Tailwind
colors: {
  custom: {
    50: '#e1d682',
    500: '#cfc549',
    950: '#000000',
  },
}
SCSS
$custom: #cfc549;
$custom-light: #e1d682;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc549",
  "rgb": {
    "r": 207,
    "g": 197,
    "b": 73
  },
  "hsl": {
    "h": 55.522,
    "s": 58.261,
    "l": 54.902
  },
  "oklch": {
    "l": 0.80885,
    "c": 0.14289,
    "h": 104.7
  },
  "luminance": 0.53679
}

Semantic roles & 50–950 ramp

primary
#CFC549
secondary
#383D84
accent
#52E146
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CFC549

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

Preview Lab → · Contrast checker → · Palette generator →

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