#CFCC56#CFCC56

#CFCC56 is a very light, vivid yellow. Relative luminance 0.571; OKLCH L 82.5% C 0.139 H 107.7°. Best body text is #000000 at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#CFCC56
RGBrgb(207, 204, 86)
HSLhsl(59, 56%, 57%)
HSVhsv(59, 58%, 81%)
CMYKcmyk(0%, 1.4%, 58.5%, 18.8%)
CIE-LABlab(80.25, -13.93, 57.73)
CIE-LCHlch(80.25, 59.39, 103.57°)
OKLaboklab(82.49% -0.0425 0.1328)
OKLCHoklch(82.49% 0.139 107.7)
XYZxyz(49.0062, 57.1244, 17.2469)
Luminance0.5712 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCC56 #5659CF
analogous
#CF8F56 #CFCC56 #96CF56
triadic
#CFCC56 #56CFCC #CC56CF
tetradic
#CFCC56 #56CF8F #5659CF #CF5696
square
#CFCC56 #56CF8F #5659CF #CF5696
split-complementary
#CFCC56 #5696CF #8F56CF
monochromatic
#858326 #B5B133 #CFCC56 #DDDA86 #EAE9B5

Accessibility & contrast

On white

1.69
#CFCC56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.42
#CFCC56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCC56
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCC56#FFFFFF#000000##000000
##CFCC561.001.6912.4212.42
#FFFFFF1.691.0021.0021.00
#00000012.4221.001.001.00
##00000012.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC549
Deuteranopia (green-blind)
#DEC95D
Tritanopia (blue-blind)
#DDC0B3
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cfcc56;
/* rgb */ color: rgb(207, 204, 86);
/* oklch */ color: oklch(82.5% 0.139 107.7);
Tailwind
colors: {
  custom: {
    50: '#e0db8a',
    500: '#cfcc56',
    950: '#000000',
  },
}
SCSS
$custom: #cfcc56;
$custom-light: #e0db8a;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcc56",
  "rgb": {
    "r": 207,
    "g": 204,
    "b": 86
  },
  "hsl": {
    "h": 58.512,
    "s": 55.76,
    "l": 57.451
  },
  "oklch": {
    "l": 0.82492,
    "c": 0.13945,
    "h": 107.7
  },
  "luminance": 0.57123
}

Semantic roles & 50–950 ramp

primary
#CFCC56
secondary
#3D3F8C
accent
#4CDF49
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CFCC56

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

Preview Lab → · Contrast checker → · Palette generator →

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