#CEC546#CEC546

#CEC546 is a light, vivid yellow. Relative luminance 0.535; OKLCH L 80.8% C 0.145 H 105.3°. Best body text is #000000 at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#CEC546
RGBrgb(206, 197, 70)
HSLhsl(56, 58%, 54%)
HSVhsv(56, 66%, 81%)
CMYKcmyk(0%, 4.4%, 66%, 19.2%)
CIE-LABlab(78.17, -11.84, 62.22)
CIE-LCHlch(78.17, 63.33, 100.78°)
OKLaboklab(80.77% -0.0382 0.14)
OKLCHoklch(80.77% 0.145 105.3)
XYZxyz(46.5271, 53.4982, 13.6685)
Luminance0.5350 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC546 #464FCE
analogous
#CE8146 #CEC546 #93CE46
triadic
#CEC546 #46CEC5 #C546CE
tetradic
#CEC546 #46CE81 #464FCE #CE4693
square
#CEC546 #46CE81 #464FCE #CE4693
split-complementary
#CEC546 #4693CE #8146CE
monochromatic
#797420 #AAA22D #CEC546 #DBD476 #E8E3A7

Accessibility & contrast

On white

1.79
#CEC546 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.70
#CEC546 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC546
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC546#FFFFFF#000000##000000
##CEC5461.001.7911.7011.70
#FFFFFF1.791.0021.0021.00
#00000011.7021.001.001.00
##00000011.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BE35
Deuteranopia (green-blind)
#D9C44E
Tritanopia (blue-blind)
#DDB8AB
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cec546;
/* rgb */ color: rgb(206, 197, 70);
/* oklch */ color: oklch(80.8% 0.145 105.3);
Tailwind
colors: {
  custom: {
    50: '#e0d680',
    500: '#cec546',
    950: '#000000',
  },
}
SCSS
$custom: #cec546;
$custom-light: #e0d680;
$custom-dark: #000000;
JSON
{
  "hex": "#cec546",
  "rgb": {
    "r": 206,
    "g": 197,
    "b": 70
  },
  "hsl": {
    "h": 56.029,
    "s": 58.12,
    "l": 54.118
  },
  "oklch": {
    "l": 0.80772,
    "c": 0.14516,
    "h": 105.3
  },
  "luminance": 0.53497
}

Semantic roles & 50–950 ramp

primary
#CEC546
secondary
#373C82
accent
#51E146
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CEC546

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

Preview Lab → · Contrast checker → · Palette generator →

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