#CECC30#CECC30

#CECC30 is a very light, vivid yellow. Relative luminance 0.565; OKLCH L 82.1% C 0.165 H 108.8°. Best body text is #000000 at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#CECC30
RGBrgb(206, 204, 48)
HSLhsl(59, 62%, 50%)
HSVhsv(59, 77%, 81%)
CMYKcmyk(0%, 1%, 76.7%, 19.2%)
CIE-LABlab(79.91, -16.39, 71.66)
CIE-LCHlch(79.91, 73.51, 102.89°)
OKLaboklab(82.12% -0.0531 0.1562)
OKLCHoklch(82.12% 0.165 108.8)
XYZxyz(47.5818, 56.5225, 11.1992)
Luminance0.5652 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECC30 #3032CE
analogous
#CE7D30 #CECC30 #81CE30
triadic
#CECC30 #30CECC #CC30CE
tetradic
#CECC30 #30CE7D #3032CE #CE3081
square
#CECC30 #30CE7D #3032CE #CE3081
split-complementary
#CECC30 #3081CE #7D30CE
monochromatic
#6B6A19 #9C9B24 #CECC30 #DAD961 #E6E593

Accessibility & contrast

On white

1.71
#CECC30 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.30
#CECC30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECC30
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECC30#FFFFFF#000000##000000
##CECC301.001.7112.3012.30
#FFFFFF1.711.0021.0021.00
#00000012.3021.001.001.00
##00000012.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC300
Deuteranopia (green-blind)
#DFC83D
Tritanopia (blue-blind)
#DDBFAF
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cecc30;
/* rgb */ color: rgb(206, 204, 48);
/* oklch */ color: oklch(82.1% 0.165 108.8);
Tailwind
colors: {
  custom: {
    50: '#e1db76',
    500: '#cecc30',
    950: '#000000',
  },
}
SCSS
$custom: #cecc30;
$custom-light: #e1db76;
$custom-dark: #000000;
JSON
{
  "hex": "#cecc30",
  "rgb": {
    "r": 206,
    "g": 204,
    "b": 48
  },
  "hsl": {
    "h": 59.241,
    "s": 62.205,
    "l": 49.804
  },
  "oklch": {
    "l": 0.82119,
    "c": 0.16497,
    "h": 108.8
  },
  "luminance": 0.56521
}

Semantic roles & 50–950 ramp

primary
#CECC30
secondary
#2E2F74
accent
#45E543
background
#FEFEFB
surface
#FDFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #CECC30

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

Preview Lab → · Contrast checker → · Palette generator →

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