#CEC55D#CEC55D

#CEC55D is a light, vivid yellow. Relative luminance 0.538; OKLCH L 81.0% C 0.126 H 104.3°. Best body text is #000000 at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#CEC55D
RGBrgb(206, 197, 93)
HSLhsl(55, 54%, 59%)
HSVhsv(55, 55%, 81%)
CMYKcmyk(0%, 4.4%, 54.9%, 19.2%)
CIE-LABlab(78.37, -10.28, 52.44)
CIE-LCHlch(78.37, 53.44, 101.09°)
OKLaboklab(81% -0.0312 0.1223)
OKLCHoklch(81% 0.126 104.3)
XYZxyz(47.3971, 53.8462, 18.2505)
Luminance0.5384 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC55D #5D66CE
analogous
#CE8C5D #CEC55D #9ECE5D
triadic
#CEC55D #5DCEC5 #C55DCE
tetradic
#CEC55D #5DCE8C #5D66CE #CE5D9E
square
#CEC55D #5DCE8C #5D66CE #CE5D9E
split-complementary
#CEC55D #5D9ECE #8C5DCE
monochromatic
#888029 #B7AC37 #CEC55D #DCD68C #EAE7BB

Accessibility & contrast

On white

1.78
#CEC55D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.77
#CEC55D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC55D
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC55D#FFFFFF#000000##000000
##CEC55D1.001.7811.7711.77
#FFFFFF1.781.0021.0021.00
#00000011.7721.001.001.00
##00000011.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BF53
Deuteranopia (green-blind)
#D7C462
Tritanopia (blue-blind)
#DCB9AE
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cec55d;
/* rgb */ color: rgb(206, 197, 93);
/* oklch */ color: oklch(81.0% 0.126 104.3);
Tailwind
colors: {
  custom: {
    50: '#dfd68e',
    500: '#cec55d',
    950: '#000000',
  },
}
SCSS
$custom: #cec55d;
$custom-light: #dfd68e;
$custom-dark: #000000;
JSON
{
  "hex": "#cec55d",
  "rgb": {
    "r": 206,
    "g": 197,
    "b": 93
  },
  "hsl": {
    "h": 55.221,
    "s": 53.555,
    "l": 58.627
  },
  "oklch": {
    "l": 0.81,
    "c": 0.12627,
    "h": 104.3
  },
  "luminance": 0.53845
}

Semantic roles & 50–950 ramp

primary
#CEC55D
secondary
#41478E
accent
#56DD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CEC55D

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

Preview Lab → · Contrast checker → · Palette generator →

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