#CECC5F#CECC5F

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

Color values

HEX#CECC5F
RGBrgb(206, 204, 95)
HSLhsl(59, 53%, 59%)
HSVhsv(59, 54%, 81%)
CMYKcmyk(0%, 1%, 53.9%, 19.2%)
CIE-LABlab(80.26, -13.67, 53.68)
CIE-LCHlch(80.26, 55.39, 104.28°)
OKLaboklab(82.51% -0.0407 0.1252)
OKLCHoklch(82.51% 0.132 108)
XYZxyz(49.1133, 57.1351, 19.2653)
Luminance0.5713 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECC5F #5F61CE
analogous
#CE955F #CECC5F #99CE5F
triadic
#CECC5F #5FCECC #CC5FCE
tetradic
#CECC5F #5FCE95 #5F61CE #CE5F99
square
#CECC5F #5FCE95 #5F61CE #CE5F99
split-complementary
#CECC5F #5F99CE #955FCE
monochromatic
#89872A #B8B538 #CECC5F #DCDB8E #EBEABD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CECC5F#FFFFFF#000000##000000
##CECC5F1.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)
#DBC554
Deuteranopia (green-blind)
#DDC965
Tritanopia (blue-blind)
#DBC1B4
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cecc5f;
/* rgb */ color: rgb(206, 204, 95);
/* oklch */ color: oklch(82.5% 0.132 108.0);
Tailwind
colors: {
  custom: {
    50: '#dfdb90',
    500: '#cecc5f',
    950: '#000000',
  },
}
SCSS
$custom: #cecc5f;
$custom-light: #dfdb90;
$custom-dark: #000000;
JSON
{
  "hex": "#cecc5f",
  "rgb": {
    "r": 206,
    "g": 204,
    "b": 95
  },
  "hsl": {
    "h": 58.919,
    "s": 53.11,
    "l": 59.02
  },
  "oklch": {
    "l": 0.82505,
    "c": 0.13167,
    "h": 108
  },
  "luminance": 0.57134
}

Semantic roles & 50–950 ramp

primary
#CECC5F
secondary
#42438F
accent
#4EDD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CECC5F

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

Preview Lab → · Contrast checker → · Palette generator →

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