#CCCC58#CCCC58

#CCCC58 is a very light, vivid yellow. Relative luminance 0.567; OKLCH L 82.3% C 0.138 H 109.1°. Best body text is #000000 at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#CCCC58
RGBrgb(204, 204, 88)
HSLhsl(60, 53%, 57%)
HSVhsv(60, 57%, 80%)
CMYKcmyk(0%, 0%, 56.9%, 20%)
CIE-LABlab(80.03, -15.03, 56.54)
CIE-LCHlch(80.03, 58.50, 104.88°)
OKLaboklab(82.26% -0.0452 0.1306)
OKLCHoklch(82.26% 0.138 109.1)
XYZxyz(48.2575, 56.7290, 17.6383)
Luminance0.5673 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCC58 #5858CC
analogous
#CC9258 #CCCC58 #92CC58
triadic
#CCCC58 #58CCCC #CC58CC
tetradic
#CCCC58 #58CC92 #5858CC #CC5892
square
#CCCC58 #58CC92 #5858CC #CC5892
split-complementary
#CCCC58 #5892CC #9258CC
monochromatic
#828228 #B1B136 #CCCC58 #DADA87 #E9E9B6

Accessibility & contrast

On white

1.70
#CCCC58 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.35
#CCCC58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCC58
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCC58#FFFFFF#000000##000000
##CCCC581.001.7012.3512.35
#FFFFFF1.701.0021.0021.00
#00000012.3521.001.001.00
##00000012.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC44B
Deuteranopia (green-blind)
#DCC85F
Tritanopia (blue-blind)
#D9C0B3
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cccc58;
/* rgb */ color: rgb(204, 204, 88);
/* oklch */ color: oklch(82.3% 0.138 109.1);
Tailwind
colors: {
  custom: {
    50: '#dedb8b',
    500: '#cccc58',
    950: '#000000',
  },
}
SCSS
$custom: #cccc58;
$custom-light: #dedb8b;
$custom-dark: #000000;
JSON
{
  "hex": "#cccc58",
  "rgb": {
    "r": 204,
    "g": 204,
    "b": 88
  },
  "hsl": {
    "h": 60,
    "s": 53.211,
    "l": 57.255
  },
  "oklch": {
    "l": 0.82262,
    "c": 0.13819,
    "h": 109.1
  },
  "luminance": 0.56728
}

Semantic roles & 50–950 ramp

primary
#CCCC58
secondary
#3F3F89
accent
#4BDD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CCCC58

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

Preview Lab → · Contrast checker → · Palette generator →

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