#CCC539#CCC539

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

Color values

HEX#CCC539
RGBrgb(204, 197, 57)
HSLhsl(57, 59%, 51%)
HSVhsv(57, 72%, 80%)
CMYKcmyk(0%, 3.4%, 72.1%, 20%)
CIE-LABlab(77.91, -13.36, 66.81)
CIE-LCHlch(77.91, 68.13, 101.31°)
OKLaboklab(80.5% -0.0437 0.1476)
OKLCHoklch(80.5% 0.154 106.5)
XYZxyz(45.6084, 53.0669, 11.7106)
Luminance0.5306 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC539 #3940CC
analogous
#CC7B39 #CCC539 #89CC39
triadic
#CCC539 #39CCC5 #C539CC
tetradic
#CCC539 #39CC7B #3940CC #CC3989
square
#CCC539 #39CC7B #3940CC #CC3989
split-complementary
#CCC539 #3989CC #7B39CC
monochromatic
#6E6A1C #9F9929 #CCC539 #D9D36A #E5E29A

Accessibility & contrast

On white

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

On black

11.61
#CCC539 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC539
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC539#FFFFFF#000000##000000
##CCC5391.001.8111.6111.61
#FFFFFF1.811.0021.0021.00
#00000011.6121.001.001.00
##00000011.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BE1F
Deuteranopia (green-blind)
#D9C343
Tritanopia (blue-blind)
#DBB8AA
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #ccc539;
/* rgb */ color: rgb(204, 197, 57);
/* oklch */ color: oklch(80.5% 0.154 106.5);
Tailwind
colors: {
  custom: {
    50: '#dfd679',
    500: '#ccc539',
    950: '#000000',
  },
}
SCSS
$custom: #ccc539;
$custom-light: #dfd679;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc539",
  "rgb": {
    "r": 204,
    "g": 197,
    "b": 57
  },
  "hsl": {
    "h": 57.143,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.80502,
    "c": 0.15393,
    "h": 106.5
  },
  "luminance": 0.53065
}

Semantic roles & 50–950 ramp

primary
#CCC539
secondary
#323578
accent
#4DE246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CCC539

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

Preview Lab → · Contrast checker → · Palette generator →

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