#CFD757#CFD757

#CFD757 is a very light, vivid yellow. Relative luminance 0.626; OKLCH L 84.9% C 0.150 H 112.5°. Best body text is #000000 at 13.51:1 contrast (WCAG AA passes).

Color values

HEX#CFD757
RGBrgb(207, 215, 87)
HSLhsl(64, 62%, 59%)
HSVhsv(64, 60%, 84%)
CMYKcmyk(3.7%, 0%, 59.5%, 15.7%)
CIE-LABlab(83.21, -19.33, 60.55)
CIE-LCHlch(83.21, 63.56, 107.70°)
OKLaboklab(84.86% -0.0576 0.1389)
OKLCHoklch(84.86% 0.15 112.5)
XYZxyz(51.7542, 62.5555, 18.3631)
Luminance0.6255 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD757 #5F57D7
analogous
#D79F57 #CFD757 #8FD757
triadic
#CFD757 #57CFD7 #D757CF
tetradic
#CFD757 #57D79F #5F57D7 #D7578F
square
#CFD757 #57D79F #5F57D7 #D7578F
split-complementary
#CFD757 #578FD7 #9F57D7
monochromatic
#8A9123 #B9C22E #CFD757 #DDE388 #EBEFBA

Accessibility & contrast

On white

1.55
#CFD757 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.51
#CFD757 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD757
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD757#FFFFFF#000000##000000
##CFD7571.001.5513.5113.51
#FFFFFF1.551.0021.0021.00
#00000013.5121.001.001.00
##00000013.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CE48
Deuteranopia (green-blind)
#E6D15F
Tritanopia (blue-blind)
#DCCBBC
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #cfd757;
/* rgb */ color: rgb(207, 215, 87);
/* oklch */ color: oklch(84.9% 0.150 112.5);
Tailwind
colors: {
  custom: {
    50: '#e0e38b',
    500: '#cfd757',
    950: '#000000',
  },
}
SCSS
$custom: #cfd757;
$custom-light: #e0e38b;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd757",
  "rgb": {
    "r": 207,
    "g": 215,
    "b": 87
  },
  "hsl": {
    "h": 63.75,
    "s": 61.538,
    "l": 59.216
  },
  "oklch": {
    "l": 0.84857,
    "c": 0.15041,
    "h": 112.5
  },
  "luminance": 0.62554
}

Semantic roles & 50–950 ramp

primary
#CFD757
secondary
#413C96
accent
#43E54D
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CFD757

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

Preview Lab → · Contrast checker → · Palette generator →

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