#CECB51#CECB51

#CECB51 is a very light, vivid yellow. Relative luminance 0.564; OKLCH L 82.1% C 0.143 H 107.8°. Best body text is #000000 at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#CECB51
RGBrgb(206, 203, 81)
HSLhsl(59, 56%, 56%)
HSVhsv(59, 61%, 81%)
CMYKcmyk(0%, 1.5%, 60.7%, 19.2%)
CIE-LABlab(79.86, -14.19, 59.44)
CIE-LCHlch(79.86, 61.11, 103.42°)
OKLaboklab(82.15% -0.0437 0.1358)
OKLCHoklch(82.15% 0.143 107.8)
XYZxyz(48.2963, 56.4292, 16.1308)
Luminance0.5643 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECB51 #5154CE
analogous
#CE8D51 #CECB51 #93CE51
triadic
#CECB51 #51CECB #CB51CE
tetradic
#CECB51 #51CE8D #5154CE #CE5193
square
#CECB51 #51CE8D #5154CE #CE5193
split-complementary
#CECB51 #5193CE #8D51CE
monochromatic
#807E24 #B0AD32 #CECB51 #DBD981 #E9E8B1

Accessibility & contrast

On white

1.71
#CECB51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.29
#CECB51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECB51
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECB51#FFFFFF#000000##000000
##CECB511.001.7112.2912.29
#FFFFFF1.711.0021.0021.00
#00000012.2921.001.001.00
##00000012.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC343
Deuteranopia (green-blind)
#DDC858
Tritanopia (blue-blind)
#DCBFB1
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cecb51;
/* rgb */ color: rgb(206, 203, 81);
/* oklch */ color: oklch(82.1% 0.143 107.8);
Tailwind
colors: {
  custom: {
    50: '#e0da87',
    500: '#cecb51',
    950: '#000000',
  },
}
SCSS
$custom: #cecb51;
$custom-light: #e0da87;
$custom-dark: #000000;
JSON
{
  "hex": "#cecb51",
  "rgb": {
    "r": 206,
    "g": 203,
    "b": 81
  },
  "hsl": {
    "h": 58.56,
    "s": 56.054,
    "l": 56.275
  },
  "oklch": {
    "l": 0.82146,
    "c": 0.14267,
    "h": 107.8
  },
  "luminance": 0.56428
}

Semantic roles & 50–950 ramp

primary
#CECB51
secondary
#3B3D88
accent
#4CDF48
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#16140C
muted
#84837F

Preview Lab

Preview with #CECB51

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

Preview Lab → · Contrast checker → · Palette generator →

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