#CEC559#CEC559

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

Color values

HEX#CEC559
RGBrgb(206, 197, 89)
HSLhsl(55, 54%, 58%)
HSVhsv(55, 57%, 81%)
CMYKcmyk(0%, 4.4%, 56.8%, 19.2%)
CIE-LABlab(78.33, -10.59, 54.23)
CIE-LCHlch(78.33, 55.25, 101.05°)
OKLaboklab(80.96% -0.0326 0.1257)
OKLCHoklch(80.96% 0.13 104.5)
XYZxyz(47.2245, 53.7772, 17.3417)
Luminance0.5378 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC559 #5962CE
analogous
#CE8B59 #CEC559 #9CCE59
triadic
#CEC559 #59CEC5 #C559CE
tetradic
#CEC559 #59CE8B #5962CE #CE599C
square
#CEC559 #59CE8B #5962CE #CE599C
split-complementary
#CEC559 #599CCE #8B59CE
monochromatic
#857E27 #B5AB35 #CEC559 #DCD688 #EAE6B8

Accessibility & contrast

On white

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

On black

11.76
#CEC559 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC559
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC559#FFFFFF#000000##000000
##CEC5591.001.7911.7611.76
#FFFFFF1.791.0021.0021.00
#00000011.7621.001.001.00
##00000011.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BF4E
Deuteranopia (green-blind)
#D8C45F
Tritanopia (blue-blind)
#DCB9AD
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cec559;
/* rgb */ color: rgb(206, 197, 89);
/* oklch */ color: oklch(81.0% 0.130 104.5);
Tailwind
colors: {
  custom: {
    50: '#dfd68b',
    500: '#cec559',
    950: '#000000',
  },
}
SCSS
$custom: #cec559;
$custom-light: #dfd68b;
$custom-dark: #000000;
JSON
{
  "hex": "#cec559",
  "rgb": {
    "r": 206,
    "g": 197,
    "b": 89
  },
  "hsl": {
    "h": 55.385,
    "s": 54.419,
    "l": 57.843
  },
  "oklch": {
    "l": 0.80955,
    "c": 0.12988,
    "h": 104.5
  },
  "luminance": 0.53776
}

Semantic roles & 50–950 ramp

primary
#CEC559
secondary
#3F458C
accent
#55DE4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CEC559

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

Preview Lab → · Contrast checker → · Palette generator →

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