#CCD741#CCD741

#CCD741 is a very light, vivid yellow. Relative luminance 0.618; OKLCH L 84.4% C 0.167 H 113.6°. Best body text is #000000 at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#CCD741
RGBrgb(204, 215, 65)
HSLhsl(64, 65%, 55%)
HSVhsv(64, 70%, 84%)
CMYKcmyk(5.1%, 0%, 69.8%, 15.7%)
CIE-LABlab(82.82, -21.89, 68.74)
CIE-LCHlch(82.82, 72.14, 107.66°)
OKLaboklab(84.44% -0.0668 0.153)
OKLCHoklch(84.44% 0.167 113.6)
XYZxyz(50.1579, 61.8209, 14.2904)
Luminance0.6182 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD741 #4C41D7
analogous
#D79741 #CCD741 #81D741
triadic
#CCD741 #41CCD7 #D741CC
tetradic
#CCD741 #41D797 #4C41D7 #D74181
square
#CCD741 #41D797 #4C41D7 #D74181
split-complementary
#CCD741 #4181D7 #9741D7
monochromatic
#7B821B #AAB526 #CCD741 #DAE274 #E7ECA6

Accessibility & contrast

On white

1.57
#CCD741 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.36
#CCD741 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD741
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD741#FFFFFF#000000##000000
##CCD7411.001.5713.3613.36
#FFFFFF1.571.0021.0021.00
#00000013.3621.001.001.00
##00000013.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CD27
Deuteranopia (green-blind)
#E6D04D
Tritanopia (blue-blind)
#D9CABA
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #ccd741;
/* rgb */ color: rgb(204, 215, 65);
/* oklch */ color: oklch(84.4% 0.167 113.6);
Tailwind
colors: {
  custom: {
    50: '#dfe37f',
    500: '#ccd741',
    950: '#000000',
  },
}
SCSS
$custom: #ccd741;
$custom-light: #dfe37f;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd741",
  "rgb": {
    "r": 204,
    "g": 215,
    "b": 65
  },
  "hsl": {
    "h": 64.4,
    "s": 65.217,
    "l": 54.902
  },
  "oklch": {
    "l": 0.84436,
    "c": 0.16699,
    "h": 113.6
  },
  "luminance": 0.6182
}

Semantic roles & 50–950 ramp

primary
#CCD741
secondary
#393389
accent
#40E84C
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CCD741

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

Preview Lab → · Contrast checker → · Palette generator →

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