#CCD937#CCD937

#CCD937 is a very light, vivid yellow. Relative luminance 0.627; OKLCH L 84.8% C 0.175 H 114.2°. Best body text is #000000 at 13.55:1 contrast (WCAG AA passes).

Color values

HEX#CCD937
RGBrgb(204, 217, 55)
HSLhsl(65, 68%, 53%)
HSVhsv(65, 75%, 85%)
CMYKcmyk(6%, 0%, 74.7%, 14.9%)
CIE-LABlab(83.31, -23.32, 72.56)
CIE-LCHlch(83.31, 76.22, 107.82°)
OKLaboklab(84.81% -0.0717 0.1594)
OKLCHoklch(84.81% 0.175 114.2)
XYZxyz(50.4058, 62.7399, 13.0684)
Luminance0.6274 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD937 #4437D9
analogous
#D99537 #CCD937 #7BD937
triadic
#CCD937 #37CCD9 #D937CC
tetradic
#CCD937 #37D995 #4437D9 #D9377B
square
#CCD937 #37D995 #4437D9 #D9377B
split-complementary
#CCD937 #377BD9 #9537D9
monochromatic
#767E18 #A6B122 #CCD937 #D9E36A #E6ED9E

Accessibility & contrast

On white

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

On black

13.55
#CCD937 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD937
13.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD937#FFFFFF#000000##000000
##CCD9371.001.5513.5513.55
#FFFFFF1.551.0021.0021.00
#00000013.5521.001.001.00
##00000013.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9CE0E
Deuteranopia (green-blind)
#E8D145
Tritanopia (blue-blind)
#DACCBB
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #ccd937;
/* rgb */ color: rgb(204, 217, 55);
/* oklch */ color: oklch(84.8% 0.175 114.2);
Tailwind
colors: {
  custom: {
    50: '#dfe47a',
    500: '#ccd937',
    950: '#000000',
  },
}
SCSS
$custom: #ccd937;
$custom-light: #dfe47a;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd937",
  "rgb": {
    "r": 204,
    "g": 217,
    "b": 55
  },
  "hsl": {
    "h": 64.815,
    "s": 68.067,
    "l": 53.333
  },
  "oklch": {
    "l": 0.84809,
    "c": 0.1748,
    "h": 114.2
  },
  "luminance": 0.62739
}

Semantic roles & 50–950 ramp

primary
#CCD937
secondary
#362F85
accent
#3DEB4B
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #CCD937

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

Preview Lab → · Contrast checker → · Palette generator →

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