#CECB4D#CECB4D

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

Color values

HEX#CECB4D
RGBrgb(206, 203, 77)
HSLhsl(59, 57%, 55%)
HSVhsv(59, 63%, 81%)
CMYKcmyk(0%, 1.5%, 62.6%, 19.2%)
CIE-LABlab(79.82, -14.45, 61.09)
CIE-LCHlch(79.82, 62.78, 103.31°)
OKLaboklab(82.11% -0.0448 0.1387)
OKLCHoklch(82.11% 0.146 107.9)
XYZxyz(48.1507, 56.3710, 15.3640)
Luminance0.5637 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECB4D #4D50CE
analogous
#CE8B4D #CECB4D #90CE4D
triadic
#CECB4D #4DCECB #CB4DCE
tetradic
#CECB4D #4DCE8B #4D50CE #CE4D90
square
#CECB4D #4DCE8B #4D50CE #CE4D90
split-complementary
#CECB4D #4D90CE #8B4DCE
monochromatic
#7E7C23 #AEAB30 #CECB4D #DBD97D #E8E7AD

Accessibility & contrast

On white

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

On black

12.27
#CECB4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECB4D
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECB4D#FFFFFF#000000##000000
##CECB4D1.001.7112.2712.27
#FFFFFF1.711.0021.0021.00
#00000012.2721.001.001.00
##00000012.2721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cecb4d;
/* rgb */ color: rgb(206, 203, 77);
/* oklch */ color: oklch(82.1% 0.146 107.9);
Tailwind
colors: {
  custom: {
    50: '#e0da85',
    500: '#cecb4d',
    950: '#000000',
  },
}
SCSS
$custom: #cecb4d;
$custom-light: #e0da85;
$custom-dark: #000000;
JSON
{
  "hex": "#cecb4d",
  "rgb": {
    "r": 206,
    "g": 203,
    "b": 77
  },
  "hsl": {
    "h": 58.605,
    "s": 56.828,
    "l": 55.49
  },
  "oklch": {
    "l": 0.82109,
    "c": 0.14581,
    "h": 107.9
  },
  "luminance": 0.5637
}

Semantic roles & 50–950 ramp

primary
#CECB4D
secondary
#3A3B86
accent
#4BE048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CECB4D

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

Preview Lab → · Contrast checker → · Palette generator →

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