#CCC834#CCC834

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

Color values

HEX#CCC834
RGBrgb(204, 200, 52)
HSLhsl(58, 60%, 50%)
HSVhsv(58, 75%, 80%)
CMYKcmyk(0%, 2%, 74.5%, 20%)
CIE-LABlab(78.69, -15.09, 69.23)
CIE-LCHlch(78.69, 70.86, 102.29°)
OKLaboklab(81.11% -0.049 0.1518)
OKLCHoklch(81.11% 0.16 107.9)
XYZxyz(46.1778, 54.3954, 11.3151)
Luminance0.5439 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC834 #3438CC
analogous
#CC7C34 #CCC834 #84CC34
triadic
#CCC834 #34CCC8 #C834CC
tetradic
#CCC834 #34CC7C #3438CC #CC3484
square
#CCC834 #34CC7C #3438CC #CC3484
split-complementary
#CCC834 #3484CC #7C34CC
monochromatic
#6B691B #9C9927 #CCC834 #D8D565 #E5E396

Accessibility & contrast

On white

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

On black

11.88
#CCC834 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC834
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC834#FFFFFF#000000##000000
##CCC8341.001.7711.8811.88
#FFFFFF1.771.0021.0021.00
#00000011.8821.001.001.00
##00000011.8821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccc834;
/* rgb */ color: rgb(204, 200, 52);
/* oklch */ color: oklch(81.1% 0.160 107.9);
Tailwind
colors: {
  custom: {
    50: '#dfd877',
    500: '#ccc834',
    950: '#000000',
  },
}
SCSS
$custom: #ccc834;
$custom-light: #dfd877;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc834",
  "rgb": {
    "r": 204,
    "g": 200,
    "b": 52
  },
  "hsl": {
    "h": 58.421,
    "s": 59.843,
    "l": 50.196
  },
  "oklch": {
    "l": 0.81113,
    "c": 0.15954,
    "h": 107.9
  },
  "luminance": 0.54394
}

Semantic roles & 50–950 ramp

primary
#CCC834
secondary
#303274
accent
#49E345
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #CCC834

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

Preview Lab → · Contrast checker → · Palette generator →

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