#CCC25E#CCC25E

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

Color values

HEX#CCC25E
RGBrgb(204, 194, 94)
HSLhsl(55, 52%, 58%)
HSVhsv(55, 54%, 80%)
CMYKcmyk(0%, 4.9%, 53.9%, 20%)
CIE-LABlab(77.42, -9.49, 50.83)
CIE-LCHlch(77.42, 51.70, 100.58°)
OKLaboklab(80.21% -0.0288 0.119)
OKLCHoklch(80.21% 0.122 103.6)
XYZxyz(46.2154, 52.2306, 18.2346)
Luminance0.5223 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC25E #5E68CC
analogous
#CC8B5E #CCC25E #9FCC5E
triadic
#CCC25E #5ECCC2 #C25ECC
tetradic
#CCC25E #5ECC8B #5E68CC #CC5E9F
square
#CCC25E #5ECC8B #5E68CC #CC5E9F
split-complementary
#CCC25E #5E9FCC #8B5ECC
monochromatic
#857D2A #B4A939 #CCC25E #DBD48C #E9E5BB

Accessibility & contrast

On white

1.83
#CCC25E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.45
#CCC25E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC25E
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC25E#FFFFFF#000000##000000
##CCC25E1.001.8311.4511.45
#FFFFFF1.831.0021.0021.00
#00000011.4521.001.001.00
##00000011.4521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccc25e;
/* rgb */ color: rgb(204, 194, 94);
/* oklch */ color: oklch(80.2% 0.122 103.6);
Tailwind
colors: {
  custom: {
    50: '#ded48e',
    500: '#ccc25e',
    950: '#000000',
  },
}
SCSS
$custom: #ccc25e;
$custom-light: #ded48e;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc25e",
  "rgb": {
    "r": 204,
    "g": 194,
    "b": 94
  },
  "hsl": {
    "h": 54.545,
    "s": 51.887,
    "l": 58.431
  },
  "oklch": {
    "l": 0.80205,
    "c": 0.12243,
    "h": 103.6
  },
  "luminance": 0.52229
}

Semantic roles & 50–950 ramp

primary
#CCC25E
secondary
#42488D
accent
#59DB4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CCC25E

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

Preview Lab → · Contrast checker → · Palette generator →

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