#CFDF56#CFDF56

#CFDF56 is a very light, vivid yellow. Relative luminance 0.667; OKLCH L 86.6% C 0.160 H 115.5°. Best body text is #000000 at 14.34:1 contrast (WCAG AA passes).

Color values

HEX#CFDF56
RGBrgb(207, 223, 86)
HSLhsl(67, 68%, 61%)
HSVhsv(67, 61%, 87%)
CMYKcmyk(7.2%, 0%, 61.4%, 12.5%)
CIE-LABlab(85.36, -23.29, 63.30)
CIE-LCHlch(85.36, 67.45, 110.20°)
OKLaboklab(86.58% -0.0689 0.1446)
OKLCHoklch(86.58% 0.16 115.5)
XYZxyz(53.8007, 66.7134, 18.8451)
Luminance0.6671 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFDF56 #6656DF
analogous
#DFAA56 #CFDF56 #8BDF56
triadic
#CFDF56 #56CFDF #DF56CF
tetradic
#CFDF56 #56DFAA #6656DF #DF568B
square
#CFDF56 #56DFAA #6656DF #DF568B
split-complementary
#CFDF56 #568BDF #AA56DF
monochromatic
#8E9D1E #BDD027 #CFDF56 #DEE989 #ECF2BD

Accessibility & contrast

On white

1.46
#CFDF56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.34
#CFDF56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFDF56
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFDF56#FFFFFF#000000##000000
##CFDF561.001.4614.3414.34
#FFFFFF1.461.0021.0021.00
#00000014.3421.001.001.00
##00000014.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED445
Deuteranopia (green-blind)
#EDD65F
Tritanopia (blue-blind)
#DBD3C2
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #cfdf56;
/* rgb */ color: rgb(207, 223, 86);
/* oklch */ color: oklch(86.6% 0.160 115.5);
Tailwind
colors: {
  custom: {
    50: '#e0e88b',
    500: '#cfdf56',
    950: '#000000',
  },
}
SCSS
$custom: #cfdf56;
$custom-light: #e0e88b;
$custom-dark: #000000;
JSON
{
  "hex": "#cfdf56",
  "rgb": {
    "r": 207,
    "g": 223,
    "b": 86
  },
  "hsl": {
    "h": 67.007,
    "s": 68.159,
    "l": 60.588
  },
  "oklch": {
    "l": 0.86576,
    "c": 0.16019,
    "h": 115.5
  },
  "luminance": 0.66713
}

Semantic roles & 50–950 ramp

primary
#CFDF56
secondary
#4539A0
accent
#15D02B
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #CFDF56

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

Preview Lab → · Contrast checker → · Palette generator →

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