#CECB5D#CECB5D

#CECB5D is a very light, vivid yellow. Relative luminance 0.566; OKLCH L 82.3% C 0.132 H 107.5°. Best body text is #000000 at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#CECB5D
RGBrgb(206, 203, 93)
HSLhsl(58, 54%, 59%)
HSVhsv(58, 55%, 81%)
CMYKcmyk(0%, 1.5%, 54.9%, 19.2%)
CIE-LABlab(79.97, -13.32, 54.26)
CIE-LCHlch(79.97, 55.88, 103.79°)
OKLaboklab(82.27% -0.0399 0.1263)
OKLCHoklch(82.27% 0.132 107.5)
XYZxyz(48.7867, 56.6254, 18.7137)
Luminance0.5662 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECB5D #5D60CE
analogous
#CE925D #CECB5D #98CE5D
triadic
#CECB5D #5DCECB #CB5DCE
tetradic
#CECB5D #5DCE92 #5D60CE #CE5D98
square
#CECB5D #5DCE92 #5D60CE #CE5D98
split-complementary
#CECB5D #5D98CE #925DCE
monochromatic
#888529 #B7B337 #CECB5D #DCDA8C #EAE9BB

Accessibility & contrast

On white

1.70
#CECB5D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.32
#CECB5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECB5D
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECB5D#FFFFFF#000000##000000
##CECB5D1.001.7012.3212.32
#FFFFFF1.701.0021.0021.00
#00000012.3221.001.001.00
##00000012.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC452
Deuteranopia (green-blind)
#DCC863
Tritanopia (blue-blind)
#DBBFB3
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cecb5d;
/* rgb */ color: rgb(206, 203, 93);
/* oklch */ color: oklch(82.3% 0.132 107.5);
Tailwind
colors: {
  custom: {
    50: '#dfda8e',
    500: '#cecb5d',
    950: '#000000',
  },
}
SCSS
$custom: #cecb5d;
$custom-light: #dfda8e;
$custom-dark: #000000;
JSON
{
  "hex": "#cecb5d",
  "rgb": {
    "r": 206,
    "g": 203,
    "b": 93
  },
  "hsl": {
    "h": 58.407,
    "s": 53.555,
    "l": 58.627
  },
  "oklch": {
    "l": 0.8227,
    "c": 0.13243,
    "h": 107.5
  },
  "luminance": 0.56624
}

Semantic roles & 50–950 ramp

primary
#CECB5D
secondary
#41438E
accent
#4FDD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CECB5D

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

Preview Lab → · Contrast checker → · Palette generator →

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