#CFDD51#CFDD51

#CFDD51 is a very light, vivid yellow. Relative luminance 0.656; OKLCH L 86.1% C 0.162 H 114.7°. Best body text is #000000 at 14.11:1 contrast (WCAG AA passes).

Color values

HEX#CFDD51
RGBrgb(207, 221, 81)
HSLhsl(66, 67%, 59%)
HSVhsv(66, 63%, 87%)
CMYKcmyk(6.3%, 0%, 63.3%, 13.3%)
CIE-LABlab(84.78, -22.65, 64.72)
CIE-LCHlch(84.78, 68.57, 109.29°)
OKLaboklab(86.1% -0.0676 0.1469)
OKLCHoklch(86.1% 0.162 114.7)
XYZxyz(53.0751, 65.5733, 17.6440)
Luminance0.6557 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFDD51 #5F51DD
analogous
#DDA551 #CFDD51 #89DD51
triadic
#CFDD51 #51CFDD #DD51CF
tetradic
#CFDD51 #51DDA5 #5F51DD #DD5189
square
#CFDD51 #51DDA5 #5F51DD #DD5189
split-complementary
#CFDD51 #5189DD #A551DD
monochromatic
#8A961D #B9C927 #CFDD51 #DDE784 #EBF1B7

Accessibility & contrast

On white

1.49
#CFDD51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.11
#CFDD51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFDD51
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFDD51#FFFFFF#000000##000000
##CFDD511.001.4914.1114.11
#FFFFFF1.491.0021.0021.00
#00000014.1121.001.001.00
##00000014.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD33F
Deuteranopia (green-blind)
#EBD55A
Tritanopia (blue-blind)
#DCD1C0
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #cfdd51;
/* rgb */ color: rgb(207, 221, 81);
/* oklch */ color: oklch(86.1% 0.162 114.7);
Tailwind
colors: {
  custom: {
    50: '#e1e788',
    500: '#cfdd51',
    950: '#000000',
  },
}
SCSS
$custom: #cfdd51;
$custom-light: #e1e788;
$custom-dark: #000000;
JSON
{
  "hex": "#cfdd51",
  "rgb": {
    "r": 207,
    "g": 221,
    "b": 81
  },
  "hsl": {
    "h": 66,
    "s": 67.308,
    "l": 59.216
  },
  "oklch": {
    "l": 0.86098,
    "c": 0.16174,
    "h": 114.7
  },
  "luminance": 0.65572
}

Semantic roles & 50–950 ramp

primary
#CFDD51
secondary
#41389B
accent
#3EEA4F
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #CFDD51

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

Preview Lab → · Contrast checker → · Palette generator →

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