#CEC543#CEC543

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

Color values

HEX#CEC543
RGBrgb(206, 197, 67)
HSLhsl(56, 59%, 54%)
HSVhsv(56, 67%, 81%)
CMYKcmyk(0%, 4.4%, 67.5%, 19.2%)
CIE-LABlab(78.15, -12.01, 63.38)
CIE-LCHlch(78.15, 64.51, 100.73°)
OKLaboklab(80.75% -0.039 0.142)
OKLCHoklch(80.75% 0.147 105.4)
XYZxyz(46.4348, 53.4613, 13.1822)
Luminance0.5346 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC543 #434CCE
analogous
#CE7F43 #CEC543 #91CE43
triadic
#CEC543 #43CEC5 #C543CE
tetradic
#CEC543 #43CE7F #434CCE #CE4391
square
#CEC543 #43CE7F #434CCE #CE4391
split-complementary
#CEC543 #4391CE #7F43CE
monochromatic
#77721F #A8A02C #CEC543 #DBD474 #E7E3A4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CEC543#FFFFFF#000000##000000
##CEC5431.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)
#D6BE30
Deuteranopia (green-blind)
#D9C44B
Tritanopia (blue-blind)
#DDB8AB
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cec543;
/* rgb */ color: rgb(206, 197, 67);
/* oklch */ color: oklch(80.7% 0.147 105.4);
Tailwind
colors: {
  custom: {
    50: '#e0d67e',
    500: '#cec543',
    950: '#000000',
  },
}
SCSS
$custom: #cec543;
$custom-light: #e0d67e;
$custom-dark: #000000;
JSON
{
  "hex": "#cec543",
  "rgb": {
    "r": 206,
    "g": 197,
    "b": 67
  },
  "hsl": {
    "h": 56.115,
    "s": 58.65,
    "l": 53.529
  },
  "oklch": {
    "l": 0.80748,
    "c": 0.14728,
    "h": 105.4
  },
  "luminance": 0.5346
}

Semantic roles & 50–950 ramp

primary
#CEC543
secondary
#353A80
accent
#50E246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CEC543

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

Preview Lab → · Contrast checker → · Palette generator →

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