#CCC45F#CCC45F

#CCC45F is a light, vivid yellow. Relative luminance 0.531; OKLCH L 80.6% C 0.123 H 104.7°. Best body text is #000000 at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#CCC45F
RGBrgb(204, 196, 95)
HSLhsl(56, 52%, 59%)
HSVhsv(56, 53%, 80%)
CMYKcmyk(0%, 3.9%, 53.4%, 20%)
CIE-LABlab(77.96, -10.43, 50.99)
CIE-LCHlch(77.96, 52.04, 101.56°)
OKLaboklab(80.64% -0.0314 0.1195)
OKLCHoklch(80.64% 0.124 104.7)
XYZxyz(46.7087, 53.1449, 18.6218)
Luminance0.5314 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC45F #5F67CC
analogous
#CC8D5F #CCC45F #9DCC5F
triadic
#CCC45F #5FCCC4 #C45FCC
tetradic
#CCC45F #5FCC8D #5F67CC #CC5F9D
square
#CCC45F #5FCC8D #5F67CC #CC5F9D
split-complementary
#CCC45F #5F9DCC #8D5FCC
monochromatic
#867F2B #B4AB39 #CCC45F #DBD58D #EAE6BC

Accessibility & contrast

On white

1.81
#CCC45F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.63
#CCC45F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC45F
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC45F#FFFFFF#000000##000000
##CCC45F1.001.8111.6311.63
#FFFFFF1.811.0021.0021.00
#00000011.6321.001.001.00
##00000011.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BE55
Deuteranopia (green-blind)
#D6C364
Tritanopia (blue-blind)
#D9B9AD
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #ccc45f;
/* rgb */ color: rgb(204, 196, 95);
/* oklch */ color: oklch(80.6% 0.123 104.7);
Tailwind
colors: {
  custom: {
    50: '#ded58f',
    500: '#ccc45f',
    950: '#000000',
  },
}
SCSS
$custom: #ccc45f;
$custom-light: #ded58f;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc45f",
  "rgb": {
    "r": 204,
    "g": 196,
    "b": 95
  },
  "hsl": {
    "h": 55.596,
    "s": 51.659,
    "l": 58.627
  },
  "oklch": {
    "l": 0.80639,
    "c": 0.1235,
    "h": 104.7
  },
  "luminance": 0.53143
}

Semantic roles & 50–950 ramp

primary
#CCC45F
secondary
#42488D
accent
#57DB4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CCC45F

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

Preview Lab → · Contrast checker → · Palette generator →

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