#CECC5B#CECC5B

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

Color values

HEX#CECC5B
RGBrgb(206, 204, 91)
HSLhsl(59, 54%, 58%)
HSVhsv(59, 56%, 81%)
CMYKcmyk(0%, 1%, 55.8%, 19.2%)
CIE-LABlab(80.22, -13.98, 55.45)
CIE-LCHlch(80.22, 57.19, 104.15°)
OKLaboklab(82.46% -0.042 0.1286)
OKLCHoklch(82.46% 0.135 108.1)
XYZxyz(48.9362, 57.0642, 18.3322)
Luminance0.5706 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECC5B #5B5DCE
analogous
#CE935B #CECC5B #96CE5B
triadic
#CECC5B #5BCECC #CC5BCE
tetradic
#CECC5B #5BCE93 #5B5DCE #CE5B96
square
#CECC5B #5BCE93 #5B5DCE #CE5B96
split-complementary
#CECC5B #5B96CE #935BCE
monochromatic
#868528 #B6B336 #CECC5B #DCDB8A #EAE9B9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CECC5B#FFFFFF#000000##000000
##CECC5B1.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)
#DBC54F
Deuteranopia (green-blind)
#DDC961
Tritanopia (blue-blind)
#DBC0B3
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cecc5b;
/* rgb */ color: rgb(206, 204, 91);
/* oklch */ color: oklch(82.5% 0.135 108.1);
Tailwind
colors: {
  custom: {
    50: '#dfdb8d',
    500: '#cecc5b',
    950: '#000000',
  },
}
SCSS
$custom: #cecc5b;
$custom-light: #dfdb8d;
$custom-dark: #000000;
JSON
{
  "hex": "#cecc5b",
  "rgb": {
    "r": 206,
    "g": 204,
    "b": 91
  },
  "hsl": {
    "h": 58.957,
    "s": 53.991,
    "l": 58.235
  },
  "oklch": {
    "l": 0.82461,
    "c": 0.13527,
    "h": 108.1
  },
  "luminance": 0.57063
}

Semantic roles & 50–950 ramp

primary
#CECC5B
secondary
#40418D
accent
#4DDD4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CECC5B

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

Preview Lab → · Contrast checker → · Palette generator →

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