#CECB3A#CECB3A

#CECB3A is a light, vivid yellow. Relative luminance 0.561; OKLCH L 82.0% C 0.159 H 108.2°. Best body text is #000000 at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#CECB3A
RGBrgb(206, 203, 58)
HSLhsl(59, 60%, 52%)
HSVhsv(59, 72%, 81%)
CMYKcmyk(0%, 1.5%, 71.8%, 19.2%)
CIE-LABlab(79.69, -15.48, 68.22)
CIE-LCHlch(79.69, 69.96, 102.78°)
OKLaboklab(81.96% -0.0497 0.1507)
OKLCHoklch(81.96% 0.159 108.2)
XYZxyz(47.5750, 56.1407, 12.3323)
Luminance0.5614 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECB3A #3A3DCE
analogous
#CE813A #CECB3A #87CE3A
triadic
#CECB3A #3ACECB #CB3ACE
tetradic
#CECB3A #3ACE81 #3A3DCE #CE3A87
square
#CECB3A #3ACE81 #3A3DCE #CE3A87
split-complementary
#CECB3A #3A87CE #813ACE
monochromatic
#71701C #A2A028 #CECB3A #DAD86B #E6E59C

Accessibility & contrast

On white

1.72
#CECB3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.23
#CECB3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECB3A
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECB3A#FFFFFF#000000##000000
##CECB3A1.001.7212.2312.23
#FFFFFF1.721.0021.0021.00
#00000012.2321.001.001.00
##00000012.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC31F
Deuteranopia (green-blind)
#DEC845
Tritanopia (blue-blind)
#DDBEAF
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cecb3a;
/* rgb */ color: rgb(206, 203, 58);
/* oklch */ color: oklch(82.0% 0.159 108.2);
Tailwind
colors: {
  custom: {
    50: '#e1da7a',
    500: '#cecb3a',
    950: '#000000',
  },
}
SCSS
$custom: #cecb3a;
$custom-light: #e1da7a;
$custom-dark: #000000;
JSON
{
  "hex": "#cecb3a",
  "rgb": {
    "r": 206,
    "g": 203,
    "b": 58
  },
  "hsl": {
    "h": 58.784,
    "s": 60.163,
    "l": 51.765
  },
  "oklch": {
    "l": 0.81963,
    "c": 0.15867,
    "h": 108.2
  },
  "luminance": 0.56139
}

Semantic roles & 50–950 ramp

primary
#CECB3A
secondary
#32337A
accent
#48E344
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CECB3A

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

Preview Lab → · Contrast checker → · Palette generator →

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