#CEC55E#CEC55E

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

Color values

HEX#CEC55E
RGBrgb(206, 197, 94)
HSLhsl(55, 53%, 59%)
HSVhsv(55, 54%, 81%)
CMYKcmyk(0%, 4.4%, 54.4%, 19.2%)
CIE-LABlab(78.38, -10.20, 51.98)
CIE-LCHlch(78.38, 52.98, 101.10°)
OKLaboklab(81.01% -0.0309 0.1215)
OKLCHoklch(81.01% 0.125 104.3)
XYZxyz(47.4417, 53.8640, 18.4853)
Luminance0.5386 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC55E #5E67CE
analogous
#CE8D5E #CEC55E #9FCE5E
triadic
#CEC55E #5ECEC5 #C55ECE
tetradic
#CEC55E #5ECE8D #5E67CE #CE5E9F
square
#CEC55E #5ECE8D #5E67CE #CE5E9F
split-complementary
#CEC55E #5E9FCE #8D5ECE
monochromatic
#888129 #B7AD38 #CEC55E #DCD68D #EBE7BC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CEC55E#FFFFFF#000000##000000
##CEC55E1.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)
#D4BF54
Deuteranopia (green-blind)
#D7C463
Tritanopia (blue-blind)
#DCB9AE
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cec55e;
/* rgb */ color: rgb(206, 197, 94);
/* oklch */ color: oklch(81.0% 0.125 104.3);
Tailwind
colors: {
  custom: {
    50: '#dfd68f',
    500: '#cec55e',
    950: '#000000',
  },
}
SCSS
$custom: #cec55e;
$custom-light: #dfd68f;
$custom-dark: #000000;
JSON
{
  "hex": "#cec55e",
  "rgb": {
    "r": 206,
    "g": 197,
    "b": 94
  },
  "hsl": {
    "h": 55.179,
    "s": 53.333,
    "l": 58.824
  },
  "oklch": {
    "l": 0.81012,
    "c": 0.12534,
    "h": 104.3
  },
  "luminance": 0.53862
}

Semantic roles & 50–950 ramp

primary
#CEC55E
secondary
#41478F
accent
#57DD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CEC55E

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

Preview Lab → · Contrast checker → · Palette generator →

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