#CCC25A#CCC25A

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

Color values

HEX#CCC25A
RGBrgb(204, 194, 90)
HSLhsl(55, 53%, 58%)
HSVhsv(55, 56%, 80%)
CMYKcmyk(0%, 4.9%, 55.9%, 20%)
CIE-LABlab(77.38, -9.81, 52.64)
CIE-LCHlch(77.38, 53.55, 100.55°)
OKLaboklab(80.16% -0.0301 0.1225)
OKLCHoklch(80.16% 0.126 103.8)
XYZxyz(46.0406, 52.1607, 17.3137)
Luminance0.5216 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC25A #5A64CC
analogous
#CC895A #CCC25A #9DCC5A
triadic
#CCC25A #5ACCC2 #C25ACC
tetradic
#CCC25A #5ACC89 #5A64CC #CC5A9D
square
#CCC25A #5ACC89 #5A64CC #CC5A9D
split-complementary
#CCC25A #5A9DCC #895ACC
monochromatic
#837B29 #B2A737 #CCC25A #DAD389 #E9E5B7

Accessibility & contrast

On white

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

On black

11.43
#CCC25A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC25A
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC25A#FFFFFF#000000##000000
##CCC25A1.001.8411.4311.43
#FFFFFF1.841.0021.0021.00
#00000011.4321.001.001.00
##00000011.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BC50
Deuteranopia (green-blind)
#D5C25F
Tritanopia (blue-blind)
#DAB6AB
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #ccc25a;
/* rgb */ color: rgb(204, 194, 90);
/* oklch */ color: oklch(80.2% 0.126 103.8);
Tailwind
colors: {
  custom: {
    50: '#ded48c',
    500: '#ccc25a',
    950: '#000000',
  },
}
SCSS
$custom: #ccc25a;
$custom-light: #ded48c;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc25a",
  "rgb": {
    "r": 204,
    "g": 194,
    "b": 90
  },
  "hsl": {
    "h": 54.737,
    "s": 52.778,
    "l": 57.647
  },
  "oklch": {
    "l": 0.80159,
    "c": 0.12613,
    "h": 103.8
  },
  "luminance": 0.52159
}

Semantic roles & 50–950 ramp

primary
#CCC25A
secondary
#40468A
accent
#58DC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CCC25A

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

Preview Lab → · Contrast checker → · Palette generator →

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