#CEC541#CEC541

#CEC541 is a light, vivid yellow. Relative luminance 0.534; OKLCH L 80.7% C 0.149 H 105.4°. Best body text is #000000 at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#CEC541
RGBrgb(206, 197, 65)
HSLhsl(56, 59%, 53%)
HSVhsv(56, 68%, 81%)
CMYKcmyk(0%, 4.4%, 68.4%, 19.2%)
CIE-LABlab(78.13, -12.11, 64.14)
CIE-LCHlch(78.13, 65.28, 100.70°)
OKLaboklab(80.73% -0.0395 0.1433)
OKLCHoklch(80.73% 0.149 105.4)
XYZxyz(46.3758, 53.4377, 12.8716)
Luminance0.5344 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC541 #414ACE
analogous
#CE7E41 #CEC541 #90CE41
triadic
#CEC541 #41CEC5 #C541CE
tetradic
#CEC541 #41CE7E #414ACE #CE4190
square
#CEC541 #41CE7E #414ACE #CE4190
split-complementary
#CEC541 #4190CE #7E41CE
monochromatic
#76711E #A79F2B #CEC541 #DBD472 #E7E3A2

Accessibility & contrast

On white

1.80
#CEC541 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.69
#CEC541 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC541
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC541#FFFFFF#000000##000000
##CEC5411.001.8011.6911.69
#FFFFFF1.801.0021.0021.00
#00000011.6921.001.001.00
##00000011.6921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cec541;
/* rgb */ color: rgb(206, 197, 65);
/* oklch */ color: oklch(80.7% 0.149 105.4);
Tailwind
colors: {
  custom: {
    50: '#e0d67d',
    500: '#cec541',
    950: '#000000',
  },
}
SCSS
$custom: #cec541;
$custom-light: #e0d67d;
$custom-dark: #000000;
JSON
{
  "hex": "#cec541",
  "rgb": {
    "r": 206,
    "g": 197,
    "b": 65
  },
  "hsl": {
    "h": 56.17,
    "s": 58.996,
    "l": 53.137
  },
  "oklch": {
    "l": 0.80733,
    "c": 0.14863,
    "h": 105.4
  },
  "luminance": 0.53436
}

Semantic roles & 50–950 ramp

primary
#CEC541
secondary
#35397F
accent
#50E246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CEC541

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

Preview Lab → · Contrast checker → · Palette generator →

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