#CEC550#CEC550

#CEC550 is a light, vivid yellow. Relative luminance 0.536; OKLCH L 80.9% C 0.138 H 104.9°. Best body text is #000000 at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#CEC550
RGBrgb(206, 197, 80)
HSLhsl(56, 56%, 56%)
HSVhsv(56, 61%, 81%)
CMYKcmyk(0%, 4.4%, 61.2%, 19.2%)
CIE-LABlab(78.25, -11.22, 58.13)
CIE-LCHlch(78.25, 59.21, 100.93°)
OKLaboklab(80.86% -0.0354 0.1329)
OKLCHoklch(80.86% 0.138 104.9)
XYZxyz(46.8695, 53.6351, 15.4716)
Luminance0.5363 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC550 #5059CE
analogous
#CE8650 #CEC550 #98CE50
triadic
#CEC550 #50CEC5 #C550CE
tetradic
#CEC550 #50CE86 #5059CE #CE5098
square
#CEC550 #50CE86 #5059CE #CE5098
split-complementary
#CEC550 #5098CE #8650CE
monochromatic
#807924 #B0A731 #CEC550 #DBD580 #E9E5B0

Accessibility & contrast

On white

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

On black

11.73
#CEC550 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC550
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC550#FFFFFF#000000##000000
##CEC5501.001.7911.7311.73
#FFFFFF1.791.0021.0021.00
#00000011.7321.001.001.00
##00000011.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BE42
Deuteranopia (green-blind)
#D8C457
Tritanopia (blue-blind)
#DCB9AC
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cec550;
/* rgb */ color: rgb(206, 197, 80);
/* oklch */ color: oklch(80.9% 0.138 104.9);
Tailwind
colors: {
  custom: {
    50: '#e0d686',
    500: '#cec550',
    950: '#000000',
  },
}
SCSS
$custom: #cec550;
$custom-light: #e0d686;
$custom-dark: #000000;
JSON
{
  "hex": "#cec550",
  "rgb": {
    "r": 206,
    "g": 197,
    "b": 80
  },
  "hsl": {
    "h": 55.714,
    "s": 56.25,
    "l": 56.078
  },
  "oklch": {
    "l": 0.80862,
    "c": 0.13753,
    "h": 104.9
  },
  "luminance": 0.53634
}

Semantic roles & 50–950 ramp

primary
#CEC550
secondary
#3B4087
accent
#53E048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CEC550

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

Preview Lab → · Contrast checker → · Palette generator →

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