#CCD146#CCD146

#CCD146 is a very light, vivid yellow. Relative luminance 0.589; OKLCH L 83.2% C 0.157 H 111.4°. Best body text is #000000 at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#CCD146
RGBrgb(204, 209, 70)
HSLhsl(62, 60%, 55%)
HSVhsv(62, 67%, 82%)
CMYKcmyk(2.4%, 0%, 66.5%, 18%)
CIE-LABlab(81.23, -18.68, 65.29)
CIE-LCHlch(81.23, 67.91, 105.97°)
OKLaboklab(83.17% -0.0574 0.1466)
OKLCHoklch(83.17% 0.157 111.4)
XYZxyz(48.8093, 58.8817, 14.5873)
Luminance0.5888 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD146 #4B46D1
analogous
#D19046 #CCD146 #87D146
triadic
#CCD146 #46CCD1 #D146CC
tetradic
#CCD146 #46D190 #4B46D1 #D14687
square
#CCD146 #46D190 #4B46D1 #D14687
split-complementary
#CCD146 #4687D1 #9046D1
monochromatic
#7A7D1F #AAAE2B #CCD146 #DADD77 #E7E9A8

Accessibility & contrast

On white

1.64
#CCD146 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.78
#CCD146 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD146
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD146#FFFFFF#000000##000000
##CCD1461.001.6412.7812.78
#FFFFFF1.641.0021.0021.00
#00000012.7821.001.001.00
##00000012.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C832
Deuteranopia (green-blind)
#E1CC50
Tritanopia (blue-blind)
#DAC5B5
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #ccd146;
/* rgb */ color: rgb(204, 209, 70);
/* oklch */ color: oklch(83.2% 0.157 111.4);
Tailwind
colors: {
  custom: {
    50: '#dfde81',
    500: '#ccd146',
    950: '#000000',
  },
}
SCSS
$custom: #ccd146;
$custom-light: #dfde81;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd146",
  "rgb": {
    "r": 204,
    "g": 209,
    "b": 70
  },
  "hsl": {
    "h": 62.158,
    "s": 60.173,
    "l": 54.706
  },
  "oklch": {
    "l": 0.83173,
    "c": 0.15742,
    "h": 111.4
  },
  "luminance": 0.5888
}

Semantic roles & 50–950 ramp

primary
#CCD146
secondary
#393685
accent
#44E34A
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CCD146

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

Preview Lab → · Contrast checker → · Palette generator →

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