#CEC659#CEC659

#CEC659 is a light, vivid yellow. Relative luminance 0.542; OKLCH L 81.2% C 0.131 H 105.1°. Best body text is #000000 at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#CEC659
RGBrgb(206, 198, 89)
HSLhsl(56, 54%, 58%)
HSVhsv(56, 57%, 81%)
CMYKcmyk(0%, 3.9%, 56.8%, 19.2%)
CIE-LABlab(78.60, -11.09, 54.53)
CIE-LCHlch(78.60, 55.65, 101.50°)
OKLaboklab(81.17% -0.034 0.1264)
OKLCHoklch(81.17% 0.131 105.1)
XYZxyz(47.4524, 54.2328, 17.4176)
Luminance0.5423 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC659 #5961CE
analogous
#CE8B59 #CEC659 #9CCE59
triadic
#CEC659 #59CEC6 #C659CE
tetradic
#CEC659 #59CE8B #5961CE #CE599C
square
#CEC659 #59CE8B #5961CE #CE599C
split-complementary
#CEC659 #599CCE #8B59CE
monochromatic
#857F27 #B5AC35 #CEC659 #DCD688 #EAE6B8

Accessibility & contrast

On white

1.77
#CEC659 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.85
#CEC659 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC659
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC659#FFFFFF#000000##000000
##CEC6591.001.7711.8511.85
#FFFFFF1.771.0021.0021.00
#00000011.8521.001.001.00
##00000011.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C04E
Deuteranopia (green-blind)
#D8C55F
Tritanopia (blue-blind)
#DCBAAE
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cec659;
/* rgb */ color: rgb(206, 198, 89);
/* oklch */ color: oklch(81.2% 0.131 105.1);
Tailwind
colors: {
  custom: {
    50: '#dfd78c',
    500: '#cec659',
    950: '#000000',
  },
}
SCSS
$custom: #cec659;
$custom-light: #dfd78c;
$custom-dark: #000000;
JSON
{
  "hex": "#cec659",
  "rgb": {
    "r": 206,
    "g": 198,
    "b": 89
  },
  "hsl": {
    "h": 55.897,
    "s": 54.419,
    "l": 57.843
  },
  "oklch": {
    "l": 0.81166,
    "c": 0.13087,
    "h": 105.1
  },
  "luminance": 0.54231
}

Semantic roles & 50–950 ramp

primary
#CEC659
secondary
#3F448C
accent
#54DE4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CEC659

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

Preview Lab → · Contrast checker → · Palette generator →

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