#CFC960#CFC960

#CFC960 is a light, vivid yellow. Relative luminance 0.559; OKLCH L 82.0% C 0.127 H 105.9°. Best body text is #000000 at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#CFC960
RGBrgb(207, 201, 96)
HSLhsl(57, 54%, 59%)
HSVhsv(57, 54%, 81%)
CMYKcmyk(0%, 2.9%, 53.6%, 18.8%)
CIE-LABlab(79.55, -11.66, 52.42)
CIE-LCHlch(79.55, 53.70, 102.54°)
OKLaboklab(81.97% -0.0349 0.1226)
OKLCHoklch(81.97% 0.127 105.9)
XYZxyz(48.7315, 55.8847, 19.2839)
Luminance0.5588 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC960 #6066CF
analogous
#CF9260 #CFC960 #9ECF60
triadic
#CFC960 #60CFC9 #C960CF
tetradic
#CFC960 #60CF92 #6066CF #CF609E
square
#CFC960 #60CF92 #6066CF #CF609E
split-complementary
#CFC960 #609ECF #9260CF
monochromatic
#8B852A #BAB338 #CFC960 #DDD98F #EBE9BE

Accessibility & contrast

On white

1.72
#CFC960 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.18
#CFC960 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC960
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC960#FFFFFF#000000##000000
##CFC9601.001.7212.1812.18
#FFFFFF1.721.0021.0021.00
#00000012.1821.001.001.00
##00000012.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C256
Deuteranopia (green-blind)
#DBC765
Tritanopia (blue-blind)
#DCBEB1
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cfc960;
/* rgb */ color: rgb(207, 201, 96);
/* oklch */ color: oklch(82.0% 0.127 105.9);
Tailwind
colors: {
  custom: {
    50: '#e0d990',
    500: '#cfc960',
    950: '#000000',
  },
}
SCSS
$custom: #cfc960;
$custom-light: #e0d990;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc960",
  "rgb": {
    "r": 207,
    "g": 201,
    "b": 96
  },
  "hsl": {
    "h": 56.757,
    "s": 53.623,
    "l": 59.412
  },
  "oklch": {
    "l": 0.81965,
    "c": 0.12749,
    "h": 105.9
  },
  "luminance": 0.55883
}

Semantic roles & 50–950 ramp

primary
#CFC960
secondary
#424691
accent
#53DD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #CFC960

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

Preview Lab → · Contrast checker → · Palette generator →

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