#CECD51#CECD51

#CECD51 is a very light, vivid yellow. Relative luminance 0.574; OKLCH L 82.6% C 0.145 H 108.8°. Best body text is #000000 at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#CECD51
RGBrgb(206, 205, 81)
HSLhsl(60, 56%, 56%)
HSVhsv(60, 61%, 81%)
CMYKcmyk(0%, 0.5%, 60.7%, 19.2%)
CIE-LABlab(80.39, -15.19, 60.02)
CIE-LCHlch(80.39, 61.91, 104.20°)
OKLaboklab(82.57% -0.0465 0.137)
OKLCHoklch(82.57% 0.145 108.8)
XYZxyz(48.7716, 57.3799, 16.2893)
Luminance0.5738 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECD51 #5152CE
analogous
#CE8F51 #CECD51 #91CE51
triadic
#CECD51 #51CECD #CD51CE
tetradic
#CECD51 #51CE8F #5152CE #CE5191
square
#CECD51 #51CE8F #5152CE #CE5191
split-complementary
#CECD51 #5191CE #8F51CE
monochromatic
#808024 #B0AF32 #CECD51 #DBDB81 #E9E8B1

Accessibility & contrast

On white

1.68
#CECD51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.48
#CECD51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECD51
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECD51#FFFFFF#000000##000000
##CECD511.001.6812.4812.48
#FFFFFF1.681.0021.0021.00
#00000012.4821.001.001.00
##00000012.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC542
Deuteranopia (green-blind)
#DEC958
Tritanopia (blue-blind)
#DCC1B3
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cecd51;
/* rgb */ color: rgb(206, 205, 81);
/* oklch */ color: oklch(82.6% 0.145 108.8);
Tailwind
colors: {
  custom: {
    50: '#e0dc87',
    500: '#cecd51',
    950: '#000000',
  },
}
SCSS
$custom: #cecd51;
$custom-light: #e0dc87;
$custom-dark: #000000;
JSON
{
  "hex": "#cecd51",
  "rgb": {
    "r": 206,
    "g": 205,
    "b": 81
  },
  "hsl": {
    "h": 59.52,
    "s": 56.054,
    "l": 56.275
  },
  "oklch": {
    "l": 0.82573,
    "c": 0.14472,
    "h": 108.8
  },
  "luminance": 0.57379
}

Semantic roles & 50–950 ramp

primary
#CECD51
secondary
#3B3C88
accent
#4ADF48
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#16150C
muted
#84847F

Preview Lab

Preview with #CECD51

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

Preview Lab → · Contrast checker → · Palette generator →

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