#CCC837#CCC837

#CCC837 is a light, vivid yellow. Relative luminance 0.544; OKLCH L 81.1% C 0.158 H 107.8°. Best body text is #000000 at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#CCC837
RGBrgb(204, 200, 55)
HSLhsl(58, 59%, 51%)
HSVhsv(58, 73%, 80%)
CMYKcmyk(0%, 2%, 73%, 20%)
CIE-LABlab(78.71, -14.96, 68.25)
CIE-LCHlch(78.71, 69.87, 102.36°)
OKLaboklab(81.13% -0.0484 0.1503)
OKLCHoklch(81.13% 0.158 107.8)
XYZxyz(46.2475, 54.4233, 11.6823)
Luminance0.5442 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC837 #373BCC
analogous
#CC7D37 #CCC837 #85CC37
triadic
#CCC837 #37CCC8 #C837CC
tetradic
#CCC837 #37CC7D #373BCC #CC3785
square
#CCC837 #37CC7D #373BCC #CC3785
split-complementary
#CCC837 #3785CC #7D37CC
monochromatic
#6D6B1C #9E9A28 #CCC837 #D8D568 #E5E399

Accessibility & contrast

On white

1.77
#CCC837 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.88
#CCC837 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC837
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC837#FFFFFF#000000##000000
##CCC8371.001.7711.8811.88
#FFFFFF1.771.0021.0021.00
#00000011.8821.001.001.00
##00000011.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C01A
Deuteranopia (green-blind)
#DBC542
Tritanopia (blue-blind)
#DBBBAC
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #ccc837;
/* rgb */ color: rgb(204, 200, 55);
/* oklch */ color: oklch(81.1% 0.158 107.8);
Tailwind
colors: {
  custom: {
    50: '#dfd878',
    500: '#ccc837',
    950: '#000000',
  },
}
SCSS
$custom: #ccc837;
$custom-light: #dfd878;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc837",
  "rgb": {
    "r": 204,
    "g": 200,
    "b": 55
  },
  "hsl": {
    "h": 58.389,
    "s": 59.363,
    "l": 50.784
  },
  "oklch": {
    "l": 0.81131,
    "c": 0.15789,
    "h": 107.8
  },
  "luminance": 0.54422
}

Semantic roles & 50–950 ramp

primary
#CCC837
secondary
#313376
accent
#49E345
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CCC837

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

Preview Lab → · Contrast checker → · Palette generator →

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