#CCC139#CCC139

#CCC139 is a light, vivid yellow. Relative luminance 0.513; OKLCH L 79.7% C 0.150 H 104.6°. Best body text is #000000 at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#CCC139
RGBrgb(204, 193, 57)
HSLhsl(56, 59%, 51%)
HSVhsv(56, 72%, 80%)
CMYKcmyk(0%, 5.4%, 72.1%, 20%)
CIE-LABlab(76.84, -11.33, 65.78)
CIE-LCHlch(76.84, 66.75, 99.77°)
OKLaboklab(79.65% -0.038 0.1454)
OKLCHoklch(79.65% 0.15 104.6)
XYZxyz(44.7122, 51.2745, 11.4118)
Luminance0.5127 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC139 #3944CC
analogous
#CC7739 #CCC139 #8DCC39
triadic
#CCC139 #39CCC1 #C139CC
tetradic
#CCC139 #39CC77 #3944CC #CC398D
square
#CCC139 #39CC77 #3944CC #CC398D
split-complementary
#CCC139 #398DCC #7739CC
monochromatic
#6E681C #9F9629 #CCC139 #D9D06A #E5DF9A

Accessibility & contrast

On white

1.87
#CCC139 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.25
#CCC139 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC139
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC139#FFFFFF#000000##000000
##CCC1391.001.8711.2511.25
#FFFFFF1.871.0021.0021.00
#00000011.2521.001.001.00
##00000011.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BA21
Deuteranopia (green-blind)
#D6C043
Tritanopia (blue-blind)
#DBB4A7
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #ccc139;
/* rgb */ color: rgb(204, 193, 57);
/* oklch */ color: oklch(79.7% 0.150 104.6);
Tailwind
colors: {
  custom: {
    50: '#dfd379',
    500: '#ccc139',
    950: '#000000',
  },
}
SCSS
$custom: #ccc139;
$custom-light: #dfd379;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc139",
  "rgb": {
    "r": 204,
    "g": 193,
    "b": 57
  },
  "hsl": {
    "h": 55.51,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.79651,
    "c": 0.1503,
    "h": 104.6
  },
  "luminance": 0.51273
}

Semantic roles & 50–950 ramp

primary
#CCC139
secondary
#323778
accent
#51E246
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#16140A
muted
#84837D

Preview Lab

Preview with #CCC139

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

Preview Lab → · Contrast checker → · Palette generator →

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