#CFD956#CFD956

#CFD956 is a very light, vivid yellow. Relative luminance 0.636; OKLCH L 85.3% C 0.153 H 113.3°. Best body text is #000000 at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#CFD956
RGBrgb(207, 217, 86)
HSLhsl(65, 63%, 59%)
HSVhsv(65, 60%, 85%)
CMYKcmyk(4.6%, 0%, 60.4%, 14.9%)
CIE-LABlab(83.74, -20.38, 61.55)
CIE-LCHlch(83.74, 64.83, 108.32°)
OKLaboklab(85.28% -0.0607 0.1409)
OKLCHoklch(85.28% 0.153 113.3)
XYZxyz(52.2260, 63.5640, 18.3202)
Luminance0.6356 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD956 #6056D9
analogous
#D9A256 #CFD956 #8ED956
triadic
#CFD956 #56CFD9 #D956CF
tetradic
#CFD956 #56D9A2 #6056D9 #D9568E
square
#CFD956 #56D9A2 #6056D9 #D9568E
split-complementary
#CFD956 #568ED9 #A256D9
monochromatic
#8B9321 #BAC52C #CFD956 #DDE488 #EBEFBA

Accessibility & contrast

On white

1.53
#CFD956 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.71
#CFD956 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD956
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD956#FFFFFF#000000##000000
##CFD9561.001.5313.7113.71
#FFFFFF1.531.0021.0021.00
#00000013.7121.001.001.00
##00000013.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CF46
Deuteranopia (green-blind)
#E8D25E
Tritanopia (blue-blind)
#DCCDBD
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #cfd956;
/* rgb */ color: rgb(207, 217, 86);
/* oklch */ color: oklch(85.3% 0.153 113.3);
Tailwind
colors: {
  custom: {
    50: '#e0e48b',
    500: '#cfd956',
    950: '#000000',
  },
}
SCSS
$custom: #cfd956;
$custom-light: #e0e48b;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd956",
  "rgb": {
    "r": 207,
    "g": 217,
    "b": 86
  },
  "hsl": {
    "h": 64.58,
    "s": 63.285,
    "l": 59.412
  },
  "oklch": {
    "l": 0.85278,
    "c": 0.15344,
    "h": 113.3
  },
  "luminance": 0.63563
}

Semantic roles & 50–950 ramp

primary
#CFD956
secondary
#423B98
accent
#41E64E
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CFD956

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

Preview Lab → · Contrast checker → · Palette generator →

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