#CCC25D#CCC25D

#CCC25D is a light, vivid yellow. Relative luminance 0.522; OKLCH L 80.2% C 0.123 H 103.6°. Best body text is #000000 at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#CCC25D
RGBrgb(204, 194, 93)
HSLhsl(55, 52%, 58%)
HSVhsv(55, 54%, 80%)
CMYKcmyk(0%, 4.9%, 54.4%, 20%)
CIE-LABlab(77.41, -9.57, 51.28)
CIE-LCHlch(77.41, 52.17, 100.57°)
OKLaboklab(80.19% -0.0291 0.1199)
OKLCHoklch(80.19% 0.123 103.6)
XYZxyz(46.1708, 52.2128, 17.9998)
Luminance0.5221 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC25D #5D67CC
analogous
#CC8A5D #CCC25D #9ECC5D
triadic
#CCC25D #5DCCC2 #C25DCC
tetradic
#CCC25D #5DCC8A #5D67CC #CC5D9E
square
#CCC25D #5DCC8A #5D67CC #CC5D9E
split-complementary
#CCC25D #5D9ECC #8A5DCC
monochromatic
#857D2A #B3A838 #CCC25D #DBD48C #E9E5BA

Accessibility & contrast

On white

1.84
#CCC25D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.44
#CCC25D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC25D
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC25D#FFFFFF#000000##000000
##CCC25D1.001.8411.4411.44
#FFFFFF1.841.0021.0021.00
#00000011.4421.001.001.00
##00000011.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BC53
Deuteranopia (green-blind)
#D4C262
Tritanopia (blue-blind)
#D9B7AB
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #ccc25d;
/* rgb */ color: rgb(204, 194, 93);
/* oklch */ color: oklch(80.2% 0.123 103.6);
Tailwind
colors: {
  custom: {
    50: '#ded48e',
    500: '#ccc25d',
    950: '#000000',
  },
}
SCSS
$custom: #ccc25d;
$custom-light: #ded48e;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc25d",
  "rgb": {
    "r": 204,
    "g": 194,
    "b": 93
  },
  "hsl": {
    "h": 54.595,
    "s": 52.113,
    "l": 58.235
  },
  "oklch": {
    "l": 0.80193,
    "c": 0.12336,
    "h": 103.6
  },
  "luminance": 0.52211
}

Semantic roles & 50–950 ramp

primary
#CCC25D
secondary
#41488C
accent
#59DC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CCC25D

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

Preview Lab → · Contrast checker → · Palette generator →

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