#CECC5A#CECC5A

#CECC5A is a very light, vivid yellow. Relative luminance 0.570; OKLCH L 82.5% C 0.136 H 108.1°. Best body text is #000000 at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#CECC5A
RGBrgb(206, 204, 90)
HSLhsl(59, 54%, 58%)
HSVhsv(59, 56%, 81%)
CMYKcmyk(0%, 1%, 56.3%, 19.2%)
CIE-LABlab(80.21, -14.05, 55.89)
CIE-LCHlch(80.21, 57.63, 104.11°)
OKLaboklab(82.45% -0.0423 0.1294)
OKLCHoklch(82.45% 0.136 108.1)
XYZxyz(48.8933, 57.0471, 18.1065)
Luminance0.5705 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECC5A #5A5CCE
analogous
#CE925A #CECC5A #96CE5A
triadic
#CECC5A #5ACECC #CC5ACE
tetradic
#CECC5A #5ACE92 #5A5CCE #CE5A96
square
#CECC5A #5ACE92 #5A5CCE #CE5A96
split-complementary
#CECC5A #5A96CE #925ACE
monochromatic
#868428 #B5B336 #CECC5A #DCDB89 #EAE9B8

Accessibility & contrast

On white

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

On black

12.41
#CECC5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECC5A
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECC5A#FFFFFF#000000##000000
##CECC5A1.001.6912.4112.41
#FFFFFF1.691.0021.0021.00
#00000012.4121.001.001.00
##00000012.4121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cecc5a;
/* rgb */ color: rgb(206, 204, 90);
/* oklch */ color: oklch(82.5% 0.136 108.1);
Tailwind
colors: {
  custom: {
    50: '#dfdb8d',
    500: '#cecc5a',
    950: '#000000',
  },
}
SCSS
$custom: #cecc5a;
$custom-light: #dfdb8d;
$custom-dark: #000000;
JSON
{
  "hex": "#cecc5a",
  "rgb": {
    "r": 206,
    "g": 204,
    "b": 90
  },
  "hsl": {
    "h": 58.966,
    "s": 54.206,
    "l": 58.039
  },
  "oklch": {
    "l": 0.8245,
    "c": 0.13615,
    "h": 108.1
  },
  "luminance": 0.57046
}

Semantic roles & 50–950 ramp

primary
#CECC5A
secondary
#3F418D
accent
#4DDE4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CECC5A

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

Preview Lab → · Contrast checker → · Palette generator →

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