#CFDA54#CFDA54

#CFDA54 is a very light, vivid yellow. Relative luminance 0.640; OKLCH L 85.5% C 0.156 H 113.7°. Best body text is #000000 at 13.81:1 contrast (WCAG AA passes).

Color values

HEX#CFDA54
RGBrgb(207, 218, 84)
HSLhsl(65, 64%, 59%)
HSVhsv(65, 61%, 85%)
CMYKcmyk(5%, 0%, 61.5%, 14.5%)
CIE-LABlab(83.99, -21.00, 62.66)
CIE-LCHlch(83.99, 66.08, 108.53°)
OKLaboklab(85.48% -0.0626 0.143)
OKLCHoklch(85.48% 0.156 113.7)
XYZxyz(52.4051, 64.0493, 17.9879)
Luminance0.6405 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFDA54 #5F54DA
analogous
#DAA254 #CFDA54 #8CDA54
triadic
#CFDA54 #54CFDA #DA54CF
tetradic
#CFDA54 #54DAA2 #5F54DA #DA548C
square
#CFDA54 #54DAA2 #5F54DA #DA548C
split-complementary
#CFDA54 #548CDA #A254DA
monochromatic
#8A9420 #B9C62B #CFDA54 #DDE586 #EBF0B9

Accessibility & contrast

On white

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

On black

13.81
#CFDA54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFDA54
13.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFDA54#FFFFFF#000000##000000
##CFDA541.001.5213.8113.81
#FFFFFF1.521.0021.0021.00
#00000013.8121.001.001.00
##00000013.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfda54;
/* rgb */ color: rgb(207, 218, 84);
/* oklch */ color: oklch(85.5% 0.156 113.7);
Tailwind
colors: {
  custom: {
    50: '#e0e58a',
    500: '#cfda54',
    950: '#000000',
  },
}
SCSS
$custom: #cfda54;
$custom-light: #e0e58a;
$custom-dark: #000000;
JSON
{
  "hex": "#cfda54",
  "rgb": {
    "r": 207,
    "g": 218,
    "b": 84
  },
  "hsl": {
    "h": 64.925,
    "s": 64.423,
    "l": 59.216
  },
  "oklch": {
    "l": 0.85475,
    "c": 0.15613,
    "h": 113.7
  },
  "luminance": 0.64048
}

Semantic roles & 50–950 ramp

primary
#CFDA54
secondary
#413A98
accent
#40E74E
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CFDA54

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

Preview Lab → · Contrast checker → · Palette generator →

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