#CCC741#CCC741

#CCC741 is a light, vivid yellow. Relative luminance 0.541; OKLCH L 81.0% C 0.151 H 107.2°. Best body text is #000000 at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#CCC741
RGBrgb(204, 199, 65)
HSLhsl(58, 58%, 53%)
HSVhsv(58, 68%, 80%)
CMYKcmyk(0%, 2.5%, 68.1%, 20%)
CIE-LABlab(78.50, -13.97, 64.46)
CIE-LCHlch(78.50, 65.95, 102.23°)
OKLaboklab(80.99% -0.0446 0.144)
OKLCHoklch(80.99% 0.151 107.2)
XYZxyz(46.2811, 54.0674, 12.9982)
Luminance0.5407 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC741 #4146CC
analogous
#CC8241 #CCC741 #8BCC41
triadic
#CCC741 #41CCC7 #C741CC
tetradic
#CCC741 #41CC82 #4146CC #CC418B
square
#CCC741 #41CC82 #4146CC #CC418B
split-complementary
#CCC741 #418BCC #8241CC
monochromatic
#74711F #A4A02C #CCC741 #D9D571 #E6E3A1

Accessibility & contrast

On white

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

On black

11.81
#CCC741 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC741
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC741#FFFFFF#000000##000000
##CCC7411.001.7811.8111.81
#FFFFFF1.781.0021.0021.00
#00000011.8121.001.001.00
##00000011.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF2D
Deuteranopia (green-blind)
#DAC54A
Tritanopia (blue-blind)
#DBBAAC
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #ccc741;
/* rgb */ color: rgb(204, 199, 65);
/* oklch */ color: oklch(81.0% 0.151 107.2);
Tailwind
colors: {
  custom: {
    50: '#dfd77d',
    500: '#ccc741',
    950: '#000000',
  },
}
SCSS
$custom: #ccc741;
$custom-light: #dfd77d;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc741",
  "rgb": {
    "r": 204,
    "g": 199,
    "b": 65
  },
  "hsl": {
    "h": 57.842,
    "s": 57.676,
    "l": 52.745
  },
  "oklch": {
    "l": 0.80986,
    "c": 0.15077,
    "h": 107.2
  },
  "luminance": 0.54066
}

Semantic roles & 50–950 ramp

primary
#CCC741
secondary
#35377C
accent
#4CE147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CCC741

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

Preview Lab → · Contrast checker → · Palette generator →

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