#CFC660#CFC660

#CFC660 is a light, vivid yellow. Relative luminance 0.545; OKLCH L 81.3% C 0.124 H 104.2°. Best body text is #000000 at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#CFC660
RGBrgb(207, 198, 96)
HSLhsl(55, 54%, 59%)
HSVhsv(55, 54%, 81%)
CMYKcmyk(0%, 4.3%, 53.6%, 18.8%)
CIE-LABlab(78.75, -10.13, 51.50)
CIE-LCHlch(78.75, 52.49, 101.13°)
OKLaboklab(81.33% -0.0306 0.1206)
OKLCHoklch(81.33% 0.124 104.2)
XYZxyz(48.0390, 54.4996, 19.0530)
Luminance0.5450 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC660 #6069CF
analogous
#CF8F60 #CFC660 #A1CF60
triadic
#CFC660 #60CFC6 #C660CF
tetradic
#CFC660 #60CF8F #6069CF #CF60A1
square
#CFC660 #60CF8F #6069CF #CF60A1
split-complementary
#CFC660 #60A1CF #8F60CF
monochromatic
#8B832A #BAAF38 #CFC660 #DDD78F #EBE8BE

Accessibility & contrast

On white

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

On black

11.90
#CFC660 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC660
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC660#FFFFFF#000000##000000
##CFC6601.001.7611.9011.90
#FFFFFF1.761.0021.0021.00
#00000011.9021.001.001.00
##00000011.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfc660;
/* rgb */ color: rgb(207, 198, 96);
/* oklch */ color: oklch(81.3% 0.124 104.2);
Tailwind
colors: {
  custom: {
    50: '#e0d790',
    500: '#cfc660',
    950: '#000000',
  },
}
SCSS
$custom: #cfc660;
$custom-light: #e0d790;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc660",
  "rgb": {
    "r": 207,
    "g": 198,
    "b": 96
  },
  "hsl": {
    "h": 55.135,
    "s": 53.623,
    "l": 59.412
  },
  "oklch": {
    "l": 0.81333,
    "c": 0.12442,
    "h": 104.2
  },
  "luminance": 0.54498
}

Semantic roles & 50–950 ramp

primary
#CFC660
secondary
#424891
accent
#57DD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #CFC660

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

Preview Lab → · Contrast checker → · Palette generator →

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