#CECB4A#CECB4A

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

Color values

HEX#CECB4A
RGBrgb(206, 203, 74)
HSLhsl(59, 57%, 55%)
HSVhsv(59, 64%, 81%)
CMYKcmyk(0%, 1.5%, 64.1%, 19.2%)
CIE-LABlab(79.80, -14.63, 62.30)
CIE-LCHlch(79.80, 63.99, 103.22°)
OKLaboklab(82.08% -0.0457 0.1408)
OKLCHoklch(82.08% 0.148 108)
XYZxyz(48.0472, 56.3296, 14.8190)
Luminance0.5633 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECB4A #4A4DCE
analogous
#CE894A #CECB4A #8FCE4A
triadic
#CECB4A #4ACECB #CB4ACE
tetradic
#CECB4A #4ACE89 #4A4DCE #CE4A8F
square
#CECB4A #4ACE89 #4A4DCE #CE4A8F
split-complementary
#CECB4A #4A8FCE #894ACE
monochromatic
#7C7A22 #ACA92F #CECB4A #DBD97A #E8E7AA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CECB4A#FFFFFF#000000##000000
##CECB4A1.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)
#DBC339
Deuteranopia (green-blind)
#DDC852
Tritanopia (blue-blind)
#DCBEB0
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cecb4a;
/* rgb */ color: rgb(206, 203, 74);
/* oklch */ color: oklch(82.1% 0.148 108.0);
Tailwind
colors: {
  custom: {
    50: '#e0da83',
    500: '#cecb4a',
    950: '#000000',
  },
}
SCSS
$custom: #cecb4a;
$custom-light: #e0da83;
$custom-dark: #000000;
JSON
{
  "hex": "#cecb4a",
  "rgb": {
    "r": 206,
    "g": 203,
    "b": 74
  },
  "hsl": {
    "h": 58.636,
    "s": 57.391,
    "l": 54.902
  },
  "oklch": {
    "l": 0.82083,
    "c": 0.14807,
    "h": 108
  },
  "luminance": 0.56328
}

Semantic roles & 50–950 ramp

primary
#CECB4A
secondary
#383A84
accent
#4BE147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CECB4A

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

Preview Lab → · Contrast checker → · Palette generator →

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