#CCC734#CCC734

#CCC734 is a light, vivid yellow. Relative luminance 0.539; OKLCH L 80.9% C 0.159 H 107.5°. Best body text is #000000 at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#CCC734
RGBrgb(204, 199, 52)
HSLhsl(58, 60%, 50%)
HSVhsv(58, 75%, 80%)
CMYKcmyk(0%, 2.5%, 74.5%, 20%)
CIE-LABlab(78.42, -14.58, 68.98)
CIE-LCHlch(78.42, 70.51, 101.94°)
OKLaboklab(80.9% -0.0476 0.1513)
OKLCHoklch(80.9% 0.159 107.5)
XYZxyz(45.9469, 53.9337, 11.2381)
Luminance0.5393 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC734 #3439CC
analogous
#CC7B34 #CCC734 #85CC34
triadic
#CCC734 #34CCC7 #C734CC
tetradic
#CCC734 #34CC7B #3439CC #CC3485
square
#CCC734 #34CC7B #3439CC #CC3485
split-complementary
#CCC734 #3485CC #7B34CC
monochromatic
#6B681B #9C9827 #CCC734 #D8D465 #E5E296

Accessibility & contrast

On white

1.78
#CCC734 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.79
#CCC734 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC734
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC734#FFFFFF#000000##000000
##CCC7341.001.7811.7911.79
#FFFFFF1.781.0021.0021.00
#00000011.7921.001.001.00
##00000011.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8BF13
Deuteranopia (green-blind)
#DBC440
Tritanopia (blue-blind)
#DBBAAB
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #ccc734;
/* rgb */ color: rgb(204, 199, 52);
/* oklch */ color: oklch(80.9% 0.159 107.5);
Tailwind
colors: {
  custom: {
    50: '#dfd777',
    500: '#ccc734',
    950: '#000000',
  },
}
SCSS
$custom: #ccc734;
$custom-light: #dfd777;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc734",
  "rgb": {
    "r": 204,
    "g": 199,
    "b": 52
  },
  "hsl": {
    "h": 58.026,
    "s": 59.843,
    "l": 50.196
  },
  "oklch": {
    "l": 0.80899,
    "c": 0.15861,
    "h": 107.5
  },
  "luminance": 0.53932
}

Semantic roles & 50–950 ramp

primary
#CCC734
secondary
#303274
accent
#4AE345
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #CCC734

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

Preview Lab → · Contrast checker → · Palette generator →

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