#CCC25F#CCC25F

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

Color values

HEX#CCC25F
RGBrgb(204, 194, 95)
HSLhsl(54, 52%, 59%)
HSVhsv(54, 53%, 80%)
CMYKcmyk(0%, 4.9%, 53.4%, 20%)
CIE-LABlab(77.43, -9.41, 50.37)
CIE-LCHlch(77.43, 51.24, 100.58°)
OKLaboklab(80.22% -0.0284 0.1181)
OKLCHoklch(80.22% 0.121 103.5)
XYZxyz(46.2606, 52.2487, 18.4724)
Luminance0.5225 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC25F #5F69CC
analogous
#CC8B5F #CCC25F #9FCC5F
triadic
#CCC25F #5FCCC2 #C25FCC
tetradic
#CCC25F #5FCC8B #5F69CC #CC5F9F
square
#CCC25F #5FCC8B #5F69CC #CC5F9F
split-complementary
#CCC25F #5F9FCC #8B5FCC
monochromatic
#867E2B #B4A939 #CCC25F #DBD48D #EAE5BC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCC25F#FFFFFF#000000##000000
##CCC25F1.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)
#D1BC56
Deuteranopia (green-blind)
#D4C264
Tritanopia (blue-blind)
#D9B7AC
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #ccc25f;
/* rgb */ color: rgb(204, 194, 95);
/* oklch */ color: oklch(80.2% 0.121 103.5);
Tailwind
colors: {
  custom: {
    50: '#ded48f',
    500: '#ccc25f',
    950: '#000000',
  },
}
SCSS
$custom: #ccc25f;
$custom-light: #ded48f;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc25f",
  "rgb": {
    "r": 204,
    "g": 194,
    "b": 95
  },
  "hsl": {
    "h": 54.495,
    "s": 51.659,
    "l": 58.627
  },
  "oklch": {
    "l": 0.80217,
    "c": 0.12148,
    "h": 103.5
  },
  "luminance": 0.52247
}

Semantic roles & 50–950 ramp

primary
#CCC25F
secondary
#42498D
accent
#5ADB4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CCC25F

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

Preview Lab → · Contrast checker → · Palette generator →

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