#CFC648#CFC648

#CFC648 is a light, vivid yellow. Relative luminance 0.541; OKLCH L 81.1% C 0.145 H 105.2°. Best body text is #000000 at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#CFC648
RGBrgb(207, 198, 72)
HSLhsl(56, 58%, 55%)
HSVhsv(56, 65%, 81%)
CMYKcmyk(0%, 4.3%, 65.2%, 18.8%)
CIE-LABlab(78.53, -11.81, 61.81)
CIE-LCHlch(78.53, 62.93, 100.82°)
OKLaboklab(81.09% -0.038 0.1395)
OKLCHoklch(81.09% 0.145 105.2)
XYZxyz(47.0977, 54.1231, 14.0955)
Luminance0.5412 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC648 #4851CF
analogous
#CF8348 #CFC648 #95CF48
triadic
#CFC648 #48CFC6 #C648CF
tetradic
#CFC648 #48CF83 #4851CF #CF4895
square
#CFC648 #48CF83 #4851CF #CF4895
split-complementary
#CFC648 #4895CF #8348CF
monochromatic
#7C7621 #ADA42D #CFC648 #DCD578 #E8E4A9

Accessibility & contrast

On white

1.78
#CFC648 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.82
#CFC648 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC648
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC648#FFFFFF#000000##000000
##CFC6481.001.7811.8211.82
#FFFFFF1.781.0021.0021.00
#00000011.8221.001.001.00
##00000011.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF37
Deuteranopia (green-blind)
#DAC550
Tritanopia (blue-blind)
#DEB9AC
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cfc648;
/* rgb */ color: rgb(207, 198, 72);
/* oklch */ color: oklch(81.1% 0.145 105.2);
Tailwind
colors: {
  custom: {
    50: '#e1d781',
    500: '#cfc648',
    950: '#000000',
  },
}
SCSS
$custom: #cfc648;
$custom-light: #e1d781;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc648",
  "rgb": {
    "r": 207,
    "g": 198,
    "b": 72
  },
  "hsl": {
    "h": 56,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.81088,
    "c": 0.14456,
    "h": 105.2
  },
  "luminance": 0.54121
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFC648

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

Preview Lab → · Contrast checker → · Palette generator →

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