#CECC58#CECC58

#CECC58 is a very light, vivid yellow. Relative luminance 0.570; OKLCH L 82.4% C 0.138 H 108.2°. Best body text is #000000 at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#CECC58
RGBrgb(206, 204, 88)
HSLhsl(59, 55%, 58%)
HSVhsv(59, 57%, 81%)
CMYKcmyk(0%, 1%, 57.3%, 19.2%)
CIE-LABlab(80.19, -14.20, 56.76)
CIE-LCHlch(80.19, 58.51, 104.05°)
OKLaboklab(82.43% -0.043 0.131)
OKLCHoklch(82.43% 0.138 108.2)
XYZxyz(48.8093, 57.0135, 17.6642)
Luminance0.5701 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECC58 #585ACE
analogous
#CE9158 #CECC58 #95CE58
triadic
#CECC58 #58CECC #CC58CE
tetradic
#CECC58 #58CE91 #585ACE #CE5895
square
#CECC58 #58CE91 #585ACE #CE5895
split-complementary
#CECC58 #5895CE #9158CE
monochromatic
#858327 #B4B235 #CECC58 #DCDA87 #EAE9B7

Accessibility & contrast

On white

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

On black

12.40
#CECC58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECC58
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECC58#FFFFFF#000000##000000
##CECC581.001.6912.4012.40
#FFFFFF1.691.0021.0021.00
#00000012.4021.001.001.00
##00000012.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC44B
Deuteranopia (green-blind)
#DDC95F
Tritanopia (blue-blind)
#DBC0B3
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cecc58;
/* rgb */ color: rgb(206, 204, 88);
/* oklch */ color: oklch(82.4% 0.138 108.2);
Tailwind
colors: {
  custom: {
    50: '#e0db8b',
    500: '#cecc58',
    950: '#000000',
  },
}
SCSS
$custom: #cecc58;
$custom-light: #e0db8b;
$custom-dark: #000000;
JSON
{
  "hex": "#cecc58",
  "rgb": {
    "r": 206,
    "g": 204,
    "b": 88
  },
  "hsl": {
    "h": 58.983,
    "s": 54.63,
    "l": 57.647
  },
  "oklch": {
    "l": 0.82429,
    "c": 0.13789,
    "h": 108.2
  },
  "luminance": 0.57012
}

Semantic roles & 50–950 ramp

primary
#CECC58
secondary
#3E408C
accent
#4CDE4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CECC58

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

Preview Lab → · Contrast checker → · Palette generator →

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