#CCD957#CCD957

#CCD957 is a very light, vivid yellow. Relative luminance 0.632; OKLCH L 85.1% C 0.153 H 114.5°. Best body text is #000000 at 13.63:1 contrast (WCAG AA passes).

Color values

HEX#CCD957
RGBrgb(204, 217, 87)
HSLhsl(66, 63%, 60%)
HSVhsv(66, 60%, 85%)
CMYKcmyk(6%, 0%, 59.9%, 14.9%)
CIE-LABlab(83.52, -21.52, 60.83)
CIE-LCHlch(83.52, 64.52, 109.48°)
OKLaboklab(85.05% -0.0636 0.1396)
OKLCHoklch(85.05% 0.153 114.5)
XYZxyz(51.4361, 63.1520, 18.4949)
Luminance0.6315 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD957 #6457D9
analogous
#D9A557 #CCD957 #8BD957
triadic
#CCD957 #57CCD9 #D957CC
tetradic
#CCD957 #57D9A5 #6457D9 #D9578B
square
#CCD957 #57D9A5 #6457D9 #D9578B
split-complementary
#CCD957 #578BD9 #A557D9
monochromatic
#899421 #B7C62D #CCD957 #DBE489 #EAF0BB

Accessibility & contrast

On white

1.54
#CCD957 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.63
#CCD957 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD957
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD957#FFFFFF#000000##000000
##CCD9571.001.5413.6313.63
#FFFFFF1.541.0021.0021.00
#00000013.6321.001.001.00
##00000013.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CF48
Deuteranopia (green-blind)
#E7D15F
Tritanopia (blue-blind)
#D8CDBD
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #ccd957;
/* rgb */ color: rgb(204, 217, 87);
/* oklch */ color: oklch(85.1% 0.153 114.5);
Tailwind
colors: {
  custom: {
    50: '#dee48b',
    500: '#ccd957',
    950: '#000000',
  },
}
SCSS
$custom: #ccd957;
$custom-light: #dee48b;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd957",
  "rgb": {
    "r": 204,
    "g": 217,
    "b": 87
  },
  "hsl": {
    "h": 66,
    "s": 63.107,
    "l": 59.608
  },
  "oklch": {
    "l": 0.85052,
    "c": 0.15341,
    "h": 114.5
  },
  "luminance": 0.63151
}

Semantic roles & 50–950 ramp

primary
#CCD957
secondary
#453B99
accent
#42E652
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #CCD957

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

Preview Lab → · Contrast checker → · Palette generator →

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