#CECB5A#CECB5A

#CECB5A is a very light, vivid yellow. Relative luminance 0.566; OKLCH L 82.2% C 0.135 H 107.6°. Best body text is #000000 at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#CECB5A
RGBrgb(206, 203, 90)
HSLhsl(58, 54%, 58%)
HSVhsv(58, 56%, 81%)
CMYKcmyk(0%, 1.5%, 56.3%, 19.2%)
CIE-LABlab(79.94, -13.55, 55.59)
CIE-LCHlch(79.94, 57.22, 103.70°)
OKLaboklab(82.24% -0.0409 0.1288)
OKLCHoklch(82.24% 0.135 107.6)
XYZxyz(48.6564, 56.5733, 18.0275)
Luminance0.5657 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECB5A #5A5DCE
analogous
#CE915A #CECB5A #97CE5A
triadic
#CECB5A #5ACECB #CB5ACE
tetradic
#CECB5A #5ACE91 #5A5DCE #CE5A97
square
#CECB5A #5ACE91 #5A5DCE #CE5A97
split-complementary
#CECB5A #5A97CE #915ACE
monochromatic
#868328 #B5B236 #CECB5A #DCDA89 #EAE9B8

Accessibility & contrast

On white

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

On black

12.31
#CECB5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECB5A
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECB5A#FFFFFF#000000##000000
##CECB5A1.001.7112.3112.31
#FFFFFF1.711.0021.0021.00
#00000012.3121.001.001.00
##00000012.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC44E
Deuteranopia (green-blind)
#DCC860
Tritanopia (blue-blind)
#DBBFB2
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cecb5a;
/* rgb */ color: rgb(206, 203, 90);
/* oklch */ color: oklch(82.2% 0.135 107.6);
Tailwind
colors: {
  custom: {
    50: '#dfda8c',
    500: '#cecb5a',
    950: '#000000',
  },
}
SCSS
$custom: #cecb5a;
$custom-light: #dfda8c;
$custom-dark: #000000;
JSON
{
  "hex": "#cecb5a",
  "rgb": {
    "r": 206,
    "g": 203,
    "b": 90
  },
  "hsl": {
    "h": 58.448,
    "s": 54.206,
    "l": 58.039
  },
  "oklch": {
    "l": 0.82237,
    "c": 0.1351,
    "h": 107.6
  },
  "luminance": 0.56572
}

Semantic roles & 50–950 ramp

primary
#CECB5A
secondary
#3F418D
accent
#4EDE4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CECB5A

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

Preview Lab → · Contrast checker → · Palette generator →

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