#CFCD56#CFCD56

#CFCD56 is a very light, vivid yellow. Relative luminance 0.576; OKLCH L 82.7% C 0.140 H 108.2°. Best body text is #000000 at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#CFCD56
RGBrgb(207, 205, 86)
HSLhsl(59, 56%, 57%)
HSVhsv(59, 58%, 81%)
CMYKcmyk(0%, 1%, 58.5%, 18.8%)
CIE-LABlab(80.52, -14.44, 58.03)
CIE-LCHlch(80.52, 59.80, 103.97°)
OKLaboklab(82.71% -0.0439 0.1335)
OKLCHoklch(82.71% 0.14 108.2)
XYZxyz(49.2446, 57.6013, 17.3264)
Luminance0.5760 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCD56 #5658CF
analogous
#CF9056 #CFCD56 #95CF56
triadic
#CFCD56 #56CFCD #CD56CF
tetradic
#CFCD56 #56CF90 #5658CF #CF5695
square
#CFCD56 #56CF90 #5658CF #CF5695
split-complementary
#CFCD56 #5695CF #9056CF
monochromatic
#858326 #B5B233 #CFCD56 #DDDB86 #EAE9B5

Accessibility & contrast

On white

1.68
#CFCD56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.52
#CFCD56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCD56
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCD56#FFFFFF#000000##000000
##CFCD561.001.6812.5212.52
#FFFFFF1.681.0021.0021.00
#00000012.5221.001.001.00
##00000012.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC549
Deuteranopia (green-blind)
#DECA5D
Tritanopia (blue-blind)
#DDC1B3
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cfcd56;
/* rgb */ color: rgb(207, 205, 86);
/* oklch */ color: oklch(82.7% 0.140 108.2);
Tailwind
colors: {
  custom: {
    50: '#e0dc8a',
    500: '#cfcd56',
    950: '#000000',
  },
}
SCSS
$custom: #cfcd56;
$custom-light: #e0dc8a;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcd56",
  "rgb": {
    "r": 207,
    "g": 205,
    "b": 86
  },
  "hsl": {
    "h": 59.008,
    "s": 55.76,
    "l": 57.451
  },
  "oklch": {
    "l": 0.82705,
    "c": 0.14049,
    "h": 108.2
  },
  "luminance": 0.576
}

Semantic roles & 50–950 ramp

primary
#CFCD56
secondary
#3D3F8C
accent
#4BDF49
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CFCD56

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

Preview Lab → · Contrast checker → · Palette generator →

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