#CECB50#CECB50

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

Color values

HEX#CECB50
RGBrgb(206, 203, 80)
HSLhsl(59, 56%, 56%)
HSVhsv(59, 61%, 81%)
CMYKcmyk(0%, 1.5%, 61.2%, 19.2%)
CIE-LABlab(79.85, -14.26, 59.86)
CIE-LCHlch(79.85, 61.53, 103.39°)
OKLaboklab(82.14% -0.044 0.1366)
OKLCHoklch(82.14% 0.143 107.9)
XYZxyz(48.2591, 56.4143, 15.9348)
Luminance0.5641 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECB50 #5053CE
analogous
#CE8C50 #CECB50 #92CE50
triadic
#CECB50 #50CECB #CB50CE
tetradic
#CECB50 #50CE8C #5053CE #CE5092
square
#CECB50 #50CE8C #5053CE #CE5092
split-complementary
#CECB50 #5092CE #8C50CE
monochromatic
#807E24 #B0AD31 #CECB50 #DBD980 #E9E7B0

Accessibility & contrast

On white

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

On black

12.28
#CECB50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECB50
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECB50#FFFFFF#000000##000000
##CECB501.001.7112.2812.28
#FFFFFF1.711.0021.0021.00
#00000012.2821.001.001.00
##00000012.2821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cecb50;
/* rgb */ color: rgb(206, 203, 80);
/* oklch */ color: oklch(82.1% 0.143 107.9);
Tailwind
colors: {
  custom: {
    50: '#e0da86',
    500: '#cecb50',
    950: '#000000',
  },
}
SCSS
$custom: #cecb50;
$custom-light: #e0da86;
$custom-dark: #000000;
JSON
{
  "hex": "#cecb50",
  "rgb": {
    "r": 206,
    "g": 203,
    "b": 80
  },
  "hsl": {
    "h": 58.571,
    "s": 56.25,
    "l": 56.078
  },
  "oklch": {
    "l": 0.82137,
    "c": 0.14347,
    "h": 107.9
  },
  "luminance": 0.56413
}

Semantic roles & 50–950 ramp

primary
#CECB50
secondary
#3B3D87
accent
#4CE048
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#16140C
muted
#84837F

Preview Lab

Preview with #CECB50

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

Preview Lab → · Contrast checker → · Palette generator →

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