#CFC663#CFC663

#CFC663 is a light, vivid yellow. Relative luminance 0.546; OKLCH L 81.4% C 0.122 H 104.1°. Best body text is #000000 at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#CFC663
RGBrgb(207, 198, 99)
HSLhsl(55, 53%, 60%)
HSVhsv(55, 52%, 81%)
CMYKcmyk(0%, 4.3%, 52.2%, 18.8%)
CIE-LABlab(78.78, -9.89, 50.12)
CIE-LCHlch(78.78, 51.09, 101.16°)
OKLaboklab(81.37% -0.0295 0.1179)
OKLCHoklch(81.37% 0.122 104.1)
XYZxyz(48.1797, 54.5560, 19.7944)
Luminance0.5455 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC663 #636CCF
analogous
#CF9063 #CFC663 #A2CF63
triadic
#CFC663 #63CFC6 #C663CF
tetradic
#CFC663 #63CF90 #636CCF #CF63A2
square
#CFC663 #63CF90 #636CCF #CF63A2
split-complementary
#CFC663 #63A2CF #9063CF
monochromatic
#8C842B #BBB03A #CFC663 #DDD792 #ECE8C1

Accessibility & contrast

On white

1.76
#CFC663 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.91
#CFC663 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC663
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC663#FFFFFF#000000##000000
##CFC6631.001.7611.9111.91
#FFFFFF1.761.0021.0021.00
#00000011.9121.001.001.00
##00000011.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C05A
Deuteranopia (green-blind)
#D8C568
Tritanopia (blue-blind)
#DCBBAF
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cfc663;
/* rgb */ color: rgb(207, 198, 99);
/* oklch */ color: oklch(81.4% 0.122 104.1);
Tailwind
colors: {
  custom: {
    50: '#e0d792',
    500: '#cfc663',
    950: '#000000',
  },
}
SCSS
$custom: #cfc663;
$custom-light: #e0d792;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc663",
  "rgb": {
    "r": 207,
    "g": 198,
    "b": 99
  },
  "hsl": {
    "h": 55,
    "s": 52.941,
    "l": 60
  },
  "oklch": {
    "l": 0.81369,
    "c": 0.12157,
    "h": 104.1
  },
  "luminance": 0.54554
}

Semantic roles & 50–950 ramp

primary
#CFC663
secondary
#434A93
accent
#58DC4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CFC663

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

Preview Lab → · Contrast checker → · Palette generator →

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