#CCC25B#CCC25B

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

Color values

HEX#CCC25B
RGBrgb(204, 194, 91)
HSLhsl(55, 53%, 58%)
HSVhsv(55, 55%, 80%)
CMYKcmyk(0%, 4.9%, 55.4%, 20%)
CIE-LABlab(77.39, -9.73, 52.19)
CIE-LCHlch(77.39, 53.09, 100.56°)
OKLaboklab(80.17% -0.0298 0.1216)
OKLCHoklch(80.17% 0.125 103.8)
XYZxyz(46.0834, 52.1778, 17.5393)
Luminance0.5218 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC25B #5B65CC
analogous
#CC895B #CCC25B #9ECC5B
triadic
#CCC25B #5BCCC2 #C25BCC
tetradic
#CCC25B #5BCC89 #5B65CC #CC5B9E
square
#CCC25B #5BCC89 #5B65CC #CC5B9E
split-complementary
#CCC25B #5B9ECC #895BCC
monochromatic
#847C29 #B2A737 #CCC25B #DBD38A #E9E5B8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCC25B#FFFFFF#000000##000000
##CCC25B1.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)
#D1BC51
Deuteranopia (green-blind)
#D5C260
Tritanopia (blue-blind)
#DAB6AB
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #ccc25b;
/* rgb */ color: rgb(204, 194, 91);
/* oklch */ color: oklch(80.2% 0.125 103.8);
Tailwind
colors: {
  custom: {
    50: '#ded48d',
    500: '#ccc25b',
    950: '#000000',
  },
}
SCSS
$custom: #ccc25b;
$custom-light: #ded48d;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc25b",
  "rgb": {
    "r": 204,
    "g": 194,
    "b": 91
  },
  "hsl": {
    "h": 54.69,
    "s": 52.558,
    "l": 57.843
  },
  "oklch": {
    "l": 0.8017,
    "c": 0.12521,
    "h": 103.8
  },
  "luminance": 0.52176
}

Semantic roles & 50–950 ramp

primary
#CCC25B
secondary
#40478B
accent
#59DC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CCC25B

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

Preview Lab → · Contrast checker → · Palette generator →

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