#CCCE2B#CCCE2B

#CCCE2B is a very light, vivid yellow. Relative luminance 0.572; OKLCH L 82.4% C 0.170 H 110.4°. Best body text is #000000 at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#CCCE2B
RGBrgb(204, 206, 43)
HSLhsl(61, 65%, 49%)
HSVhsv(61, 79%, 81%)
CMYKcmyk(1%, 0%, 79.1%, 19.2%)
CIE-LABlab(80.27, -18.41, 73.34)
CIE-LCHlch(80.27, 75.62, 104.09°)
OKLaboklab(82.36% -0.059 0.159)
OKLCHoklch(82.36% 0.17 110.4)
XYZxyz(47.4110, 57.1558, 10.8198)
Luminance0.5715 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCE2B #2D2BCE
analogous
#CE7F2B #CCCE2B #7BCE2B
triadic
#CCCE2B #2BCCCE #CE2BCC
tetradic
#CCCE2B #2BCE7F #2D2BCE #CE2B7B
square
#CCCE2B #2BCE7F #2D2BCE #CE2B7B
split-complementary
#CCCE2B #2B7BCE #7F2BCE
monochromatic
#686916 #9A9B20 #CCCE2B #DBDC5A #E6E78C

Accessibility & contrast

On white

1.69
#CCCE2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.43
#CCCE2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCE2B
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCE2B#FFFFFF#000000##000000
##CCCE2B1.001.6912.4312.43
#FFFFFF1.691.0021.0021.00
#00000012.4321.001.001.00
##00000012.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC500
Deuteranopia (green-blind)
#E0C93A
Tritanopia (blue-blind)
#DBC1B1
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #ccce2b;
/* rgb */ color: rgb(204, 206, 43);
/* oklch */ color: oklch(82.4% 0.170 110.4);
Tailwind
colors: {
  custom: {
    50: '#e0dc74',
    500: '#ccce2b',
    950: '#000000',
  },
}
SCSS
$custom: #ccce2b;
$custom-light: #e0dc74;
$custom-dark: #000000;
JSON
{
  "hex": "#ccce2b",
  "rgb": {
    "r": 204,
    "g": 206,
    "b": 43
  },
  "hsl": {
    "h": 60.736,
    "s": 65.462,
    "l": 48.824
  },
  "oklch": {
    "l": 0.82359,
    "c": 0.16958,
    "h": 110.4
  },
  "luminance": 0.57154
}

Semantic roles & 50–950 ramp

primary
#CCCE2B
secondary
#2B2B73
accent
#3FE841
background
#FEFEFB
surface
#FDFBF1
border
#D5D4CB
text
#161509
muted
#84847D

Preview Lab

Preview with #CCCE2B

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

Preview Lab → · Contrast checker → · Palette generator →

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