#CCC046#CCC046

#CCC046 is a light, vivid yellow. Relative luminance 0.510; OKLCH L 79.5% C 0.141 H 103.7°. Best body text is #000000 at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#CCC046
RGBrgb(204, 192, 70)
HSLhsl(55, 57%, 54%)
HSVhsv(55, 66%, 80%)
CMYKcmyk(0%, 5.9%, 65.7%, 20%)
CIE-LABlab(76.67, -10.14, 60.61)
CIE-LCHlch(76.67, 61.45, 99.50°)
OKLaboklab(79.54% -0.0333 0.1367)
OKLCHoklch(79.54% 0.141 103.7)
XYZxyz(44.8587, 50.9806, 13.2705)
Luminance0.5098 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC046 #4652CC
analogous
#CC7D46 #CCC046 #95CC46
triadic
#CCC046 #46CCC0 #C046CC
tetradic
#CCC046 #46CC7D #4652CC #CC4695
square
#CCC046 #46CC7D #4652CC #CC4695
split-complementary
#CCC046 #4695CC #7D46CC
monochromatic
#776F21 #A79C2E #CCC046 #D9D076 #E6E1A6

Accessibility & contrast

On white

1.88
#CCC046 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.20
#CCC046 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC046
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC046#FFFFFF#000000##000000
##CCC0461.001.8811.2011.20
#FFFFFF1.881.0021.0021.00
#00000011.2021.001.001.00
##00000011.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BA36
Deuteranopia (green-blind)
#D4C04D
Tritanopia (blue-blind)
#DBB3A7
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #ccc046;
/* rgb */ color: rgb(204, 192, 70);
/* oklch */ color: oklch(79.5% 0.141 103.7);
Tailwind
colors: {
  custom: {
    50: '#dfd280',
    500: '#ccc046',
    950: '#000000',
  },
}
SCSS
$custom: #ccc046;
$custom-light: #dfd280;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc046",
  "rgb": {
    "r": 204,
    "g": 192,
    "b": 70
  },
  "hsl": {
    "h": 54.627,
    "s": 56.78,
    "l": 53.725
  },
  "oklch": {
    "l": 0.79538,
    "c": 0.1407,
    "h": 103.7
  },
  "luminance": 0.50979
}

Semantic roles & 50–950 ramp

primary
#CCC046
secondary
#373D7F
accent
#55E048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CCC046

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

Preview Lab → · Contrast checker → · Palette generator →

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