#CCC245#CCC245

#CCC245 is a light, vivid yellow. Relative luminance 0.519; OKLCH L 80.0% C 0.143 H 104.7°. Best body text is #000000 at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#CCC245
RGBrgb(204, 194, 69)
HSLhsl(56, 57%, 54%)
HSVhsv(56, 66%, 80%)
CMYKcmyk(0%, 4.9%, 66.2%, 20%)
CIE-LABlab(77.19, -11.22, 61.56)
CIE-LCHlch(77.19, 62.57, 100.33°)
OKLaboklab(79.95% -0.0365 0.1386)
OKLCHoklch(79.95% 0.143 104.7)
XYZxyz(45.2695, 51.8523, 13.2530)
Luminance0.5185 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC245 #454FCC
analogous
#CC7E45 #CCC245 #92CC45
triadic
#CCC245 #45CCC2 #C245CC
tetradic
#CCC245 #45CC7E #454FCC #CC4592
square
#CCC245 #45CC7E #454FCC #CC4592
split-complementary
#CCC245 #4592CC #7E45CC
monochromatic
#767020 #A69D2E #CCC245 #D9D275 #E6E2A5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCC245#FFFFFF#000000##000000
##CCC2451.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)
#D2BB34
Deuteranopia (green-blind)
#D6C14D
Tritanopia (blue-blind)
#DBB5A8
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #ccc245;
/* rgb */ color: rgb(204, 194, 69);
/* oklch */ color: oklch(80.0% 0.143 104.7);
Tailwind
colors: {
  custom: {
    50: '#dfd47f',
    500: '#ccc245',
    950: '#000000',
  },
}
SCSS
$custom: #ccc245;
$custom-light: #dfd47f;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc245",
  "rgb": {
    "r": 204,
    "g": 194,
    "b": 69
  },
  "hsl": {
    "h": 55.556,
    "s": 56.962,
    "l": 53.529
  },
  "oklch": {
    "l": 0.79953,
    "c": 0.14327,
    "h": 104.7
  },
  "luminance": 0.51851
}

Semantic roles & 50–950 ramp

primary
#CCC245
secondary
#363C7F
accent
#53E048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CCC245

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

Preview Lab → · Contrast checker → · Palette generator →

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