#CFD557#CFD557

#CFD557 is a very light, vivid yellow. Relative luminance 0.615; OKLCH L 84.4% C 0.148 H 111.7°. Best body text is #000000 at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#CFD557
RGBrgb(207, 213, 87)
HSLhsl(63, 60%, 59%)
HSVhsv(63, 59%, 84%)
CMYKcmyk(2.8%, 0%, 59.2%, 16.5%)
CIE-LABlab(82.67, -18.34, 59.96)
CIE-LCHlch(82.67, 62.70, 107.01°)
OKLaboklab(84.43% -0.0549 0.1377)
OKLCHoklch(84.43% 0.148 111.7)
XYZxyz(51.2480, 61.5431, 18.1944)
Luminance0.6154 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD557 #5D57D5
analogous
#D59C57 #CFD557 #90D557
triadic
#CFD557 #57CFD5 #D557CF
tetradic
#CFD557 #57D59C #5D57D5 #D55790
square
#CFD557 #57D59C #5D57D5 #D55790
split-complementary
#CFD557 #5790D5 #9C57D5
monochromatic
#898E24 #B8BF30 #CFD557 #DDE188 #EBEDB9

Accessibility & contrast

On white

1.58
#CFD557 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.31
#CFD557 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD557
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD557#FFFFFF#000000##000000
##CFD5571.001.5813.3113.31
#FFFFFF1.581.0021.0021.00
#00000013.3121.001.001.00
##00000013.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CC49
Deuteranopia (green-blind)
#E5CF5F
Tritanopia (blue-blind)
#DCC9BA
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #cfd557;
/* rgb */ color: rgb(207, 213, 87);
/* oklch */ color: oklch(84.4% 0.148 111.7);
Tailwind
colors: {
  custom: {
    50: '#e0e18b',
    500: '#cfd557',
    950: '#000000',
  },
}
SCSS
$custom: #cfd557;
$custom-light: #e0e18b;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd557",
  "rgb": {
    "r": 207,
    "g": 213,
    "b": 87
  },
  "hsl": {
    "h": 62.857,
    "s": 60,
    "l": 58.824
  },
  "oklch": {
    "l": 0.84426,
    "c": 0.14822,
    "h": 111.7
  },
  "luminance": 0.61542
}

Semantic roles & 50–950 ramp

primary
#CFD557
secondary
#413C94
accent
#45E34C
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CFD557

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

Preview Lab → · Contrast checker → · Palette generator →

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