#CCC241#CCC241

#CCC241 is a light, vivid yellow. Relative luminance 0.518; OKLCH L 79.9% C 0.146 H 104.9°. Best body text is #000000 at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#CCC241
RGBrgb(204, 194, 65)
HSLhsl(56, 58%, 53%)
HSVhsv(56, 68%, 80%)
CMYKcmyk(0%, 4.9%, 68.1%, 20%)
CIE-LABlab(77.16, -11.44, 63.11)
CIE-LCHlch(77.16, 64.14, 100.27°)
OKLaboklab(79.92% -0.0375 0.1412)
OKLCHoklch(79.92% 0.146 104.9)
XYZxyz(45.1495, 51.8043, 12.6210)
Luminance0.5180 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC241 #414BCC
analogous
#CC7C41 #CCC241 #91CC41
triadic
#CCC241 #41CCC2 #C241CC
tetradic
#CCC241 #41CC7C #414BCC #CC4191
square
#CCC241 #41CC7C #414BCC #CC4191
split-complementary
#CCC241 #4191CC #7C41CC
monochromatic
#746D1F #A49B2C #CCC241 #D9D171 #E6E1A1

Accessibility & contrast

On white

1.85
#CCC241 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.36
#CCC241 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC241
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC241#FFFFFF#000000##000000
##CCC2411.001.8511.3611.36
#FFFFFF1.851.0021.0021.00
#00000011.3621.001.001.00
##00000011.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BB2E
Deuteranopia (green-blind)
#D6C149
Tritanopia (blue-blind)
#DBB5A8
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #ccc241;
/* rgb */ color: rgb(204, 194, 65);
/* oklch */ color: oklch(79.9% 0.146 104.9);
Tailwind
colors: {
  custom: {
    50: '#dfd47d',
    500: '#ccc241',
    950: '#000000',
  },
}
SCSS
$custom: #ccc241;
$custom-light: #dfd47d;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc241",
  "rgb": {
    "r": 204,
    "g": 194,
    "b": 65
  },
  "hsl": {
    "h": 55.683,
    "s": 57.676,
    "l": 52.745
  },
  "oklch": {
    "l": 0.79921,
    "c": 0.14608,
    "h": 104.9
  },
  "luminance": 0.51803
}

Semantic roles & 50–950 ramp

primary
#CCC241
secondary
#353A7C
accent
#52E147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CCC241

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

Preview Lab → · Contrast checker → · Palette generator →

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