#CFC560#CFC560

#CFC560 is a light, vivid yellow. Relative luminance 0.540; OKLCH L 81.1% C 0.123 H 103.6°. Best body text is #000000 at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#CFC560
RGBrgb(207, 197, 96)
HSLhsl(55, 54%, 59%)
HSVhsv(55, 54%, 81%)
CMYKcmyk(0%, 4.8%, 53.6%, 18.8%)
CIE-LABlab(78.49, -9.62, 51.19)
CIE-LCHlch(78.49, 52.09, 100.65°)
OKLaboklab(81.12% -0.0291 0.12)
OKLCHoklch(81.12% 0.123 103.6)
XYZxyz(47.8112, 54.0440, 18.9771)
Luminance0.5404 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC560 #606ACF
analogous
#CF8E60 #CFC560 #A1CF60
triadic
#CFC560 #60CFC5 #C560CF
tetradic
#CFC560 #60CF8E #606ACF #CF60A1
square
#CFC560 #60CF8E #606ACF #CF60A1
split-complementary
#CFC560 #60A1CF #8E60CF
monochromatic
#8B822A #BAAE38 #CFC560 #DDD68F #EBE7BE

Accessibility & contrast

On white

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

On black

11.81
#CFC560 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC560
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC560#FFFFFF#000000##000000
##CFC5601.001.7811.8111.81
#FFFFFF1.781.0021.0021.00
#00000011.8121.001.001.00
##00000011.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BF56
Deuteranopia (green-blind)
#D7C565
Tritanopia (blue-blind)
#DDB9AE
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cfc560;
/* rgb */ color: rgb(207, 197, 96);
/* oklch */ color: oklch(81.1% 0.123 103.6);
Tailwind
colors: {
  custom: {
    50: '#e0d690',
    500: '#cfc560',
    950: '#000000',
  },
}
SCSS
$custom: #cfc560;
$custom-light: #e0d690;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc560",
  "rgb": {
    "r": 207,
    "g": 197,
    "b": 96
  },
  "hsl": {
    "h": 54.595,
    "s": 53.623,
    "l": 59.412
  },
  "oklch": {
    "l": 0.81122,
    "c": 0.12343,
    "h": 103.6
  },
  "luminance": 0.54042
}

Semantic roles & 50–950 ramp

primary
#CFC560
secondary
#424991
accent
#58DD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #CFC560

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

Preview Lab → · Contrast checker → · Palette generator →

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