#CFDB54#CFDB54

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

Color values

HEX#CFDB54
RGBrgb(207, 219, 84)
HSLhsl(65, 65%, 59%)
HSVhsv(65, 62%, 86%)
CMYKcmyk(5.5%, 0%, 61.6%, 14.1%)
CIE-LABlab(84.26, -21.49, 62.95)
CIE-LCHlch(84.26, 66.51, 108.85°)
OKLaboklab(85.69% -0.064 0.1436)
OKLCHoklch(85.69% 0.157 114)
XYZxyz(52.6651, 64.5695, 18.0746)
Luminance0.6457 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFDB54 #6054DB
analogous
#DBA354 #CFDB54 #8CDB54
triadic
#CFDB54 #54CFDB #DB54CF
tetradic
#CFDB54 #54DBA3 #6054DB #DB548C
square
#CFDB54 #54DBA3 #6054DB #DB548C
split-complementary
#CFDB54 #548CDB #A354DB
monochromatic
#8B951F #BAC82A #CFDB54 #DDE687 #EBF0B9

Accessibility & contrast

On white

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

On black

13.91
#CFDB54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFDB54
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFDB54#FFFFFF#000000##000000
##CFDB541.001.5113.9113.91
#FFFFFF1.511.0021.0021.00
#00000013.9121.001.001.00
##00000013.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD143
Deuteranopia (green-blind)
#E9D45D
Tritanopia (blue-blind)
#DCCFBF
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #cfdb54;
/* rgb */ color: rgb(207, 219, 84);
/* oklch */ color: oklch(85.7% 0.157 114.0);
Tailwind
colors: {
  custom: {
    50: '#e1e68a',
    500: '#cfdb54',
    950: '#000000',
  },
}
SCSS
$custom: #cfdb54;
$custom-light: #e1e68a;
$custom-dark: #000000;
JSON
{
  "hex": "#cfdb54",
  "rgb": {
    "r": 207,
    "g": 219,
    "b": 84
  },
  "hsl": {
    "h": 65.333,
    "s": 65.217,
    "l": 59.412
  },
  "oklch": {
    "l": 0.85691,
    "c": 0.15724,
    "h": 114
  },
  "luminance": 0.64569
}

Semantic roles & 50–950 ramp

primary
#CFDB54
secondary
#42399A
accent
#40E84F
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CFDB54

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

Preview Lab → · Contrast checker → · Palette generator →

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