#CCC839#CCC839

#CCC839 is a light, vivid yellow. Relative luminance 0.544; OKLCH L 81.1% C 0.157 H 107.8°. Best body text is #000000 at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#CCC839
RGBrgb(204, 200, 57)
HSLhsl(58, 59%, 51%)
HSVhsv(58, 72%, 80%)
CMYKcmyk(0%, 2%, 72.1%, 20%)
CIE-LABlab(78.72, -14.87, 67.58)
CIE-LCHlch(78.72, 69.20, 102.41°)
OKLaboklab(81.14% -0.0479 0.1492)
OKLCHoklch(81.14% 0.157 107.8)
XYZxyz(46.2964, 54.4429, 11.9399)
Luminance0.5444 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC839 #393DCC
analogous
#CC7E39 #CCC839 #86CC39
triadic
#CCC839 #39CCC8 #C839CC
tetradic
#CCC839 #39CC7E #393DCC #CC3986
square
#CCC839 #39CC7E #393DCC #CC3986
split-complementary
#CCC839 #3986CC #7E39CC
monochromatic
#6E6C1C #9F9C29 #CCC839 #D9D66A #E5E39A

Accessibility & contrast

On white

1.77
#CCC839 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.89
#CCC839 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC839
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC839#FFFFFF#000000##000000
##CCC8391.001.7711.8911.89
#FFFFFF1.771.0021.0021.00
#00000011.8921.001.001.00
##00000011.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C01E
Deuteranopia (green-blind)
#DBC544
Tritanopia (blue-blind)
#DBBBAC
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #ccc839;
/* rgb */ color: rgb(204, 200, 57);
/* oklch */ color: oklch(81.1% 0.157 107.8);
Tailwind
colors: {
  custom: {
    50: '#dfd879',
    500: '#ccc839',
    950: '#000000',
  },
}
SCSS
$custom: #ccc839;
$custom-light: #dfd879;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc839",
  "rgb": {
    "r": 204,
    "g": 200,
    "b": 57
  },
  "hsl": {
    "h": 58.367,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.81144,
    "c": 0.15674,
    "h": 107.8
  },
  "luminance": 0.54441
}

Semantic roles & 50–950 ramp

primary
#CCC839
secondary
#323478
accent
#4AE246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CCC839

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

Preview Lab → · Contrast checker → · Palette generator →

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