#CFDA51#CFDA51

#CFDA51 is a very light, vivid yellow. Relative luminance 0.640; OKLCH L 85.4% C 0.158 H 113.6°. Best body text is #000000 at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#CFDA51
RGBrgb(207, 218, 81)
HSLhsl(65, 65%, 59%)
HSVhsv(65, 63%, 85%)
CMYKcmyk(5%, 0%, 62.8%, 14.5%)
CIE-LABlab(83.97, -21.20, 63.86)
CIE-LCHlch(83.97, 67.29, 108.36°)
OKLaboklab(85.45% -0.0635 0.1451)
OKLCHoklch(85.45% 0.158 113.6)
XYZxyz(52.2901, 64.0033, 17.3823)
Luminance0.6400 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFDA51 #5C51DA
analogous
#DAA151 #CFDA51 #8ADA51
triadic
#CFDA51 #51CFDA #DA51CF
tetradic
#CFDA51 #51DAA1 #5C51DA #DA518A
square
#CFDA51 #51DAA1 #5C51DA #DA518A
split-complementary
#CFDA51 #518ADA #A151DA
monochromatic
#88921F #B8C42A #CFDA51 #DDE583 #EBEFB6

Accessibility & contrast

On white

1.52
#CFDA51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.80
#CFDA51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFDA51
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFDA51#FFFFFF#000000##000000
##CFDA511.001.5213.8013.80
#FFFFFF1.521.0021.0021.00
#00000013.8021.001.001.00
##00000013.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D03F
Deuteranopia (green-blind)
#E9D35A
Tritanopia (blue-blind)
#DCCEBE
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #cfda51;
/* rgb */ color: rgb(207, 218, 81);
/* oklch */ color: oklch(85.4% 0.158 113.6);
Tailwind
colors: {
  custom: {
    50: '#e1e588',
    500: '#cfda51',
    950: '#000000',
  },
}
SCSS
$custom: #cfda51;
$custom-light: #e1e588;
$custom-dark: #000000;
JSON
{
  "hex": "#cfda51",
  "rgb": {
    "r": 207,
    "g": 218,
    "b": 81
  },
  "hsl": {
    "h": 64.818,
    "s": 64.929,
    "l": 58.627
  },
  "oklch": {
    "l": 0.85448,
    "c": 0.15843,
    "h": 113.6
  },
  "luminance": 0.64002
}

Semantic roles & 50–950 ramp

primary
#CFDA51
secondary
#403997
accent
#40E84D
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CFDA51

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

Preview Lab → · Contrast checker → · Palette generator →

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