#CCC043#CCC043

#CCC043 is a light, vivid yellow. Relative luminance 0.509; OKLCH L 79.5% C 0.143 H 103.8°. Best body text is #000000 at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#CCC043
RGBrgb(204, 192, 67)
HSLhsl(55, 57%, 53%)
HSVhsv(55, 67%, 80%)
CMYKcmyk(0%, 5.9%, 67.2%, 20%)
CIE-LABlab(76.64, -10.31, 61.80)
CIE-LCHlch(76.64, 62.65, 99.47°)
OKLaboklab(79.51% -0.0341 0.1387)
OKLCHoklch(79.51% 0.143 103.8)
XYZxyz(44.7664, 50.9436, 12.7841)
Luminance0.5094 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC043 #434FCC
analogous
#CC7C43 #CCC043 #93CC43
triadic
#CCC043 #43CCC0 #C043CC
tetradic
#CCC043 #43CC7C #434FCC #CC4393
square
#CCC043 #43CC7C #434FCC #CC4393
split-complementary
#CCC043 #4393CC #7C43CC
monochromatic
#756D20 #A59A2D #CCC043 #D9D073 #E6E0A3

Accessibility & contrast

On white

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

On black

11.19
#CCC043 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC043
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC043#FFFFFF#000000##000000
##CCC0431.001.8811.1911.19
#FFFFFF1.881.0021.0021.00
#00000011.1921.001.001.00
##00000011.1921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccc043;
/* rgb */ color: rgb(204, 192, 67);
/* oklch */ color: oklch(79.5% 0.143 103.8);
Tailwind
colors: {
  custom: {
    50: '#dfd27e',
    500: '#ccc043',
    950: '#000000',
  },
}
SCSS
$custom: #ccc043;
$custom-light: #dfd27e;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc043",
  "rgb": {
    "r": 204,
    "g": 192,
    "b": 67
  },
  "hsl": {
    "h": 54.745,
    "s": 57.322,
    "l": 53.137
  },
  "oklch": {
    "l": 0.79513,
    "c": 0.14287,
    "h": 103.8
  },
  "luminance": 0.50942
}

Semantic roles & 50–950 ramp

primary
#CCC043
secondary
#363C7E
accent
#55E147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CCC043

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

Preview Lab → · Contrast checker → · Palette generator →

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