#CCC53F#CCC53F

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

Color values

HEX#CCC53F
RGBrgb(204, 197, 63)
HSLhsl(57, 58%, 52%)
HSVhsv(57, 69%, 80%)
CMYKcmyk(0%, 3.4%, 69.1%, 20%)
CIE-LABlab(77.95, -13.07, 64.66)
CIE-LCHlch(77.95, 65.97, 101.42°)
OKLaboklab(80.54% -0.0423 0.1441)
OKLCHoklch(80.54% 0.15 106.4)
XYZxyz(45.7671, 53.1304, 12.5460)
Luminance0.5313 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC53F #3F46CC
analogous
#CC7E3F #CCC53F #8DCC3F
triadic
#CCC53F #3FCCC5 #C53FCC
tetradic
#CCC53F #3FCC7E #3F46CC #CC3F8D
square
#CCC53F #3FCC7E #3F46CC #CC3F8D
split-complementary
#CCC53F #3F8DCC #7E3FCC
monochromatic
#726E1E #A39D2B #CCC53F #D9D46F #E6E2A0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCC53F#FFFFFF#000000##000000
##CCC53F1.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)
#D6BE2A
Deuteranopia (green-blind)
#D9C348
Tritanopia (blue-blind)
#DBB8AA
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #ccc53f;
/* rgb */ color: rgb(204, 197, 63);
/* oklch */ color: oklch(80.5% 0.150 106.4);
Tailwind
colors: {
  custom: {
    50: '#dfd67c',
    500: '#ccc53f',
    950: '#000000',
  },
}
SCSS
$custom: #ccc53f;
$custom-light: #dfd67c;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc53f",
  "rgb": {
    "r": 204,
    "g": 197,
    "b": 63
  },
  "hsl": {
    "h": 57.021,
    "s": 58.025,
    "l": 52.353
  },
  "oklch": {
    "l": 0.80544,
    "c": 0.15019,
    "h": 106.4
  },
  "luminance": 0.53129
}

Semantic roles & 50–950 ramp

primary
#CCC53F
secondary
#34387B
accent
#4EE147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CCC53F

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

Preview Lab → · Contrast checker → · Palette generator →

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