#CFD954#CFD954

#CFD954 is a very light, vivid yellow. Relative luminance 0.635; OKLCH L 85.3% C 0.155 H 113.3°. Best body text is #000000 at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#CFD954
RGBrgb(207, 217, 84)
HSLhsl(65, 64%, 59%)
HSVhsv(65, 61%, 85%)
CMYKcmyk(4.6%, 0%, 61.3%, 14.9%)
CIE-LABlab(83.72, -20.51, 62.37)
CIE-LCHlch(83.72, 65.65, 108.21°)
OKLaboklab(85.26% -0.0613 0.1424)
OKLCHoklch(85.26% 0.155 113.3)
XYZxyz(52.1465, 63.5322, 17.9017)
Luminance0.6353 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD954 #5E54D9
analogous
#D9A154 #CFD954 #8DD954
triadic
#CFD954 #54CFD9 #D954CF
tetradic
#CFD954 #54D9A1 #5E54D9 #D9548D
square
#CFD954 #54D9A1 #5E54D9 #D9548D
split-complementary
#CFD954 #548DD9 #A154D9
monochromatic
#8A9220 #B9C42C #CFD954 #DDE486 #EBEFB8

Accessibility & contrast

On white

1.53
#CFD954 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.71
#CFD954 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD954
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD954#FFFFFF#000000##000000
##CFD9541.001.5313.7113.71
#FFFFFF1.531.0021.0021.00
#00000013.7121.001.001.00
##00000013.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CF44
Deuteranopia (green-blind)
#E8D25D
Tritanopia (blue-blind)
#DCCDBD
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #cfd954;
/* rgb */ color: rgb(207, 217, 84);
/* oklch */ color: oklch(85.3% 0.155 113.3);
Tailwind
colors: {
  custom: {
    50: '#e0e48a',
    500: '#cfd954',
    950: '#000000',
  },
}
SCSS
$custom: #cfd954;
$custom-light: #e0e48a;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd954",
  "rgb": {
    "r": 207,
    "g": 217,
    "b": 84
  },
  "hsl": {
    "h": 64.511,
    "s": 63.636,
    "l": 59.02
  },
  "oklch": {
    "l": 0.85259,
    "c": 0.15502,
    "h": 113.3
  },
  "luminance": 0.63531
}

Semantic roles & 50–950 ramp

primary
#CFD954
secondary
#413A97
accent
#41E74E
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CFD954

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

Preview Lab → · Contrast checker → · Palette generator →

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