#CCC244#CCC244

#CCC244 is a light, vivid yellow. Relative luminance 0.518; OKLCH L 79.9% C 0.144 H 104.8°. Best body text is #000000 at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#CCC244
RGBrgb(204, 194, 68)
HSLhsl(56, 57%, 53%)
HSVhsv(56, 67%, 80%)
CMYKcmyk(0%, 4.9%, 66.7%, 20%)
CIE-LABlab(77.19, -11.27, 61.95)
CIE-LCHlch(77.19, 62.97, 100.31°)
OKLaboklab(79.94% -0.0367 0.1392)
OKLCHoklch(79.94% 0.144 104.8)
XYZxyz(45.2388, 51.8400, 13.0909)
Luminance0.5184 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC244 #444ECC
analogous
#CC7E44 #CCC244 #92CC44
triadic
#CCC244 #44CCC2 #C244CC
tetradic
#CCC244 #44CC7E #444ECC #CC4492
square
#CCC244 #44CC7E #444ECC #CC4492
split-complementary
#CCC244 #4492CC #7E44CC
monochromatic
#766F20 #A69D2D #CCC244 #D9D274 #E6E1A4

Accessibility & contrast

On white

1.85
#CCC244 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.37
#CCC244 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC244
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC244#FFFFFF#000000##000000
##CCC2441.001.8511.3711.37
#FFFFFF1.851.0021.0021.00
#00000011.3721.001.001.00
##00000011.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BB33
Deuteranopia (green-blind)
#D6C14C
Tritanopia (blue-blind)
#DBB5A8
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #ccc244;
/* rgb */ color: rgb(204, 194, 68);
/* oklch */ color: oklch(79.9% 0.144 104.8);
Tailwind
colors: {
  custom: {
    50: '#dfd47f',
    500: '#ccc244',
    950: '#000000',
  },
}
SCSS
$custom: #ccc244;
$custom-light: #dfd47f;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc244",
  "rgb": {
    "r": 204,
    "g": 194,
    "b": 68
  },
  "hsl": {
    "h": 55.588,
    "s": 57.143,
    "l": 53.333
  },
  "oklch": {
    "l": 0.79945,
    "c": 0.14399,
    "h": 104.8
  },
  "luminance": 0.51838
}

Semantic roles & 50–950 ramp

primary
#CCC244
secondary
#363B7E
accent
#53E047
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CCC244

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

Preview Lab → · Contrast checker → · Palette generator →

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