#CFDC51#CFDC51

#CFDC51 is a very light, vivid yellow. Relative luminance 0.650; OKLCH L 85.9% C 0.161 H 114.4°. Best body text is #000000 at 14.01:1 contrast (WCAG AA passes).

Color values

HEX#CFDC51
RGBrgb(207, 220, 81)
HSLhsl(66, 67%, 59%)
HSVhsv(66, 63%, 86%)
CMYKcmyk(5.9%, 0%, 63.2%, 13.7%)
CIE-LABlab(84.51, -22.17, 64.43)
CIE-LCHlch(84.51, 68.14, 108.99°)
OKLaboklab(85.88% -0.0662 0.1463)
OKLCHoklch(85.88% 0.161 114.4)
XYZxyz(52.8118, 65.0468, 17.5562)
Luminance0.6505 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFDC51 #5E51DC
analogous
#DCA451 #CFDC51 #8ADC51
triadic
#CFDC51 #51CFDC #DC51CF
tetradic
#CFDC51 #51DCA4 #5E51DC #DC518A
square
#CFDC51 #51DCA4 #5E51DC #DC518A
split-complementary
#CFDC51 #518ADC #A451DC
monochromatic
#8A951E #B9C828 #CFDC51 #DDE684 #EBF0B7

Accessibility & contrast

On white

1.50
#CFDC51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.01
#CFDC51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFDC51
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFDC51#FFFFFF#000000##000000
##CFDC511.001.5014.0114.01
#FFFFFF1.501.0021.0021.00
#00000014.0121.001.001.00
##00000014.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD23F
Deuteranopia (green-blind)
#EAD45A
Tritanopia (blue-blind)
#DCD0BF
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #cfdc51;
/* rgb */ color: rgb(207, 220, 81);
/* oklch */ color: oklch(85.9% 0.161 114.4);
Tailwind
colors: {
  custom: {
    50: '#e1e688',
    500: '#cfdc51',
    950: '#000000',
  },
}
SCSS
$custom: #cfdc51;
$custom-light: #e1e688;
$custom-dark: #000000;
JSON
{
  "hex": "#cfdc51",
  "rgb": {
    "r": 207,
    "g": 220,
    "b": 81
  },
  "hsl": {
    "h": 65.612,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.85881,
    "c": 0.16063,
    "h": 114.4
  },
  "luminance": 0.65046
}

Semantic roles & 50–950 ramp

primary
#CFDC51
secondary
#413899
accent
#3EE94E
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CFDC51

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

Preview Lab → · Contrast checker → · Palette generator →

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