#CCD148#CCD148

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

Color values

HEX#CCD148
RGBrgb(204, 209, 72)
HSLhsl(62, 60%, 55%)
HSVhsv(62, 66%, 82%)
CMYKcmyk(2.4%, 0%, 65.6%, 18%)
CIE-LABlab(81.24, -18.57, 64.53)
CIE-LCHlch(81.24, 67.15, 106.05°)
OKLaboklab(83.19% -0.0569 0.1453)
OKLCHoklch(83.19% 0.156 111.4)
XYZxyz(48.8735, 58.9074, 14.9254)
Luminance0.5891 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD148 #4D48D1
analogous
#D19248 #CCD148 #87D148
triadic
#CCD148 #48CCD1 #D148CC
tetradic
#CCD148 #48D192 #4D48D1 #D14887
square
#CCD148 #48D192 #4D48D1 #D14887
split-complementary
#CCD148 #4887D1 #9248D1
monochromatic
#7B7F20 #ABB02C #CCD148 #DADD79 #E7EAAA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCD148#FFFFFF#000000##000000
##CCD1481.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)
#E1C835
Deuteranopia (green-blind)
#E1CC51
Tritanopia (blue-blind)
#DAC5B5
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #ccd148;
/* rgb */ color: rgb(204, 209, 72);
/* oklch */ color: oklch(83.2% 0.156 111.4);
Tailwind
colors: {
  custom: {
    50: '#dfde82',
    500: '#ccd148',
    950: '#000000',
  },
}
SCSS
$custom: #ccd148;
$custom-light: #dfde82;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd148",
  "rgb": {
    "r": 204,
    "g": 209,
    "b": 72
  },
  "hsl": {
    "h": 62.19,
    "s": 59.825,
    "l": 55.098
  },
  "oklch": {
    "l": 0.83189,
    "c": 0.15603,
    "h": 111.4
  },
  "luminance": 0.58906
}

Semantic roles & 50–950 ramp

primary
#CCD148
secondary
#3A3786
accent
#45E34B
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CCD148

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

Preview Lab → · Contrast checker → · Palette generator →

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