#CFCE56#CFCE56

#CFCE56 is a very light, vivid yellow. Relative luminance 0.581; OKLCH L 82.9% C 0.142 H 108.7°. Best body text is #000000 at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#CFCE56
RGBrgb(207, 206, 86)
HSLhsl(60, 56%, 57%)
HSVhsv(60, 58%, 81%)
CMYKcmyk(0%, 0.5%, 58.5%, 18.8%)
CIE-LABlab(80.78, -14.94, 58.32)
CIE-LCHlch(80.78, 60.21, 104.36°)
OKLaboklab(82.92% -0.0453 0.1341)
OKLCHoklch(82.92% 0.142 108.7)
XYZxyz(49.4846, 58.0813, 17.4064)
Luminance0.5808 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCE56 #5657CF
analogous
#CF9156 #CFCE56 #94CF56
triadic
#CFCE56 #56CFCE #CE56CF
tetradic
#CFCE56 #56CF91 #5657CF #CF5694
square
#CFCE56 #56CF91 #5657CF #CF5694
split-complementary
#CFCE56 #5694CF #9156CF
monochromatic
#858426 #B5B333 #CFCE56 #DDDC86 #EAEAB5

Accessibility & contrast

On white

1.66
#CFCE56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.62
#CFCE56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCE56
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCE56#FFFFFF#000000##000000
##CFCE561.001.6612.6212.62
#FFFFFF1.661.0021.0021.00
#00000012.6221.001.001.00
##00000012.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC649
Deuteranopia (green-blind)
#DFCB5D
Tritanopia (blue-blind)
#DDC2B4
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cfce56;
/* rgb */ color: rgb(207, 206, 86);
/* oklch */ color: oklch(82.9% 0.142 108.7);
Tailwind
colors: {
  custom: {
    50: '#e0dc8a',
    500: '#cfce56',
    950: '#000000',
  },
}
SCSS
$custom: #cfce56;
$custom-light: #e0dc8a;
$custom-dark: #000000;
JSON
{
  "hex": "#cfce56",
  "rgb": {
    "r": 207,
    "g": 206,
    "b": 86
  },
  "hsl": {
    "h": 59.504,
    "s": 55.76,
    "l": 57.451
  },
  "oklch": {
    "l": 0.82918,
    "c": 0.14154,
    "h": 108.7
  },
  "luminance": 0.5808
}

Semantic roles & 50–950 ramp

primary
#CFCE56
secondary
#3D3E8C
accent
#4ADF49
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CFCE56

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

Preview Lab → · Contrast checker → · Palette generator →

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