#CCD150#CCD150

#CCD150 is a very light, vivid yellow. Relative luminance 0.590; OKLCH L 83.3% C 0.150 H 111.4°. Best body text is #000000 at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#CCD150
RGBrgb(204, 209, 80)
HSLhsl(62, 58%, 57%)
HSVhsv(62, 62%, 82%)
CMYKcmyk(2.4%, 0%, 61.7%, 18%)
CIE-LABlab(81.30, -18.07, 61.37)
CIE-LCHlch(81.30, 63.98, 106.41°)
OKLaboklab(83.26% -0.0546 0.1398)
OKLCHoklch(83.26% 0.15 111.4)
XYZxyz(49.1517, 59.0186, 16.3904)
Luminance0.5902 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD150 #5550D1
analogous
#D19650 #CCD150 #8BD150
triadic
#CCD150 #50CCD1 #D150CC
tetradic
#CCD150 #50D196 #5550D1 #D1508B
square
#CCD150 #50D196 #5550D1 #D1508B
split-complementary
#CCD150 #508BD1 #9650D1
monochromatic
#808423 #AFB42F #CCD150 #DADE80 #E8EAB1

Accessibility & contrast

On white

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

On black

12.80
#CCD150 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD150
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD150#FFFFFF#000000##000000
##CCD1501.001.6412.8012.80
#FFFFFF1.641.0021.0021.00
#00000012.8021.001.001.00
##00000012.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C840
Deuteranopia (green-blind)
#E1CC58
Tritanopia (blue-blind)
#D9C5B6
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #ccd150;
/* rgb */ color: rgb(204, 209, 80);
/* oklch */ color: oklch(83.3% 0.150 111.4);
Tailwind
colors: {
  custom: {
    50: '#dede87',
    500: '#ccd150',
    950: '#000000',
  },
}
SCSS
$custom: #ccd150;
$custom-light: #dede87;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd150",
  "rgb": {
    "r": 204,
    "g": 209,
    "b": 80
  },
  "hsl": {
    "h": 62.326,
    "s": 58.371,
    "l": 56.667
  },
  "oklch": {
    "l": 0.83257,
    "c": 0.1501,
    "h": 111.4
  },
  "luminance": 0.59017
}

Semantic roles & 50–950 ramp

primary
#CCD150
secondary
#3D3A8B
accent
#46E24C
background
#FEFEFC
surface
#FCFCF3
border
#D5D5CD
text
#16150C
muted
#84847F

Preview Lab

Preview with #CCD150

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

Preview Lab → · Contrast checker → · Palette generator →

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