#CFD955#CFD955

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

Color values

HEX#CFD955
RGBrgb(207, 217, 85)
HSLhsl(65, 63%, 59%)
HSVhsv(65, 61%, 85%)
CMYKcmyk(4.6%, 0%, 60.8%, 14.9%)
CIE-LABlab(83.73, -20.44, 61.96)
CIE-LCHlch(83.73, 65.25, 108.26°)
OKLaboklab(85.27% -0.061 0.1417)
OKLCHoklch(85.27% 0.154 113.3)
XYZxyz(52.1860, 63.5480, 18.1095)
Luminance0.6355 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD955 #5F55D9
analogous
#D9A155 #CFD955 #8DD955
triadic
#CFD955 #55CFD9 #D955CF
tetradic
#CFD955 #55D9A1 #5F55D9 #D9558D
square
#CFD955 #55D9A1 #5F55D9 #D9558D
split-complementary
#CFD955 #558DD9 #A155D9
monochromatic
#8A9321 #B9C52C #CFD955 #DDE487 #EBEFB9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFD955#FFFFFF#000000##000000
##CFD9551.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)
#E8CF45
Deuteranopia (green-blind)
#E8D25D
Tritanopia (blue-blind)
#DCCDBD
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #cfd955;
/* rgb */ color: rgb(207, 217, 85);
/* oklch */ color: oklch(85.3% 0.154 113.3);
Tailwind
colors: {
  custom: {
    50: '#e0e48a',
    500: '#cfd955',
    950: '#000000',
  },
}
SCSS
$custom: #cfd955;
$custom-light: #e0e48a;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd955",
  "rgb": {
    "r": 207,
    "g": 217,
    "b": 85
  },
  "hsl": {
    "h": 64.545,
    "s": 63.462,
    "l": 59.216
  },
  "oklch": {
    "l": 0.85269,
    "c": 0.15423,
    "h": 113.3
  },
  "luminance": 0.63547
}

Semantic roles & 50–950 ramp

primary
#CFD955
secondary
#413A98
accent
#41E64E
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CFD955

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

Preview Lab → · Contrast checker → · Palette generator →

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