#CFDB51#CFDB51

#CFDB51 is a very light, vivid yellow. Relative luminance 0.645; OKLCH L 85.7% C 0.160 H 114.0°. Best body text is #000000 at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#CFDB51
RGBrgb(207, 219, 81)
HSLhsl(65, 66%, 59%)
HSVhsv(65, 63%, 86%)
CMYKcmyk(5.5%, 0%, 63%, 14.1%)
CIE-LABlab(84.24, -21.68, 64.15)
CIE-LCHlch(84.24, 67.71, 108.68°)
OKLaboklab(85.67% -0.0649 0.1457)
OKLCHoklch(85.67% 0.16 114)
XYZxyz(52.5502, 64.5235, 17.4690)
Luminance0.6452 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFDB51 #5D51DB
analogous
#DBA251 #CFDB51 #8ADB51
triadic
#CFDB51 #51CFDB #DB51CF
tetradic
#CFDB51 #51DBA2 #5D51DB #DB518A
square
#CFDB51 #51DBA2 #5D51DB #DB518A
split-complementary
#CFDB51 #518ADB #A251DB
monochromatic
#89931E #B8C629 #CFDB51 #DDE584 #EBF0B6

Accessibility & contrast

On white

1.51
#CFDB51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.90
#CFDB51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFDB51
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFDB51#FFFFFF#000000##000000
##CFDB511.001.5113.9013.90
#FFFFFF1.511.0021.0021.00
#00000013.9021.001.001.00
##00000013.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD13F
Deuteranopia (green-blind)
#EAD45A
Tritanopia (blue-blind)
#DCCFBE
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #cfdb51;
/* rgb */ color: rgb(207, 219, 81);
/* oklch */ color: oklch(85.7% 0.160 114.0);
Tailwind
colors: {
  custom: {
    50: '#e1e688',
    500: '#cfdb51',
    950: '#000000',
  },
}
SCSS
$custom: #cfdb51;
$custom-light: #e1e688;
$custom-dark: #000000;
JSON
{
  "hex": "#cfdb51",
  "rgb": {
    "r": 207,
    "g": 219,
    "b": 81
  },
  "hsl": {
    "h": 65.217,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.85665,
    "c": 0.15953,
    "h": 114
  },
  "luminance": 0.64523
}

Semantic roles & 50–950 ramp

primary
#CFDB51
secondary
#413898
accent
#3FE94E
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CFDB51

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

Preview Lab → · Contrast checker → · Palette generator →

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