#CEC758#CEC758

#CEC758 is a light, vivid yellow. Relative luminance 0.547; OKLCH L 81.4% C 0.133 H 105.6°. Best body text is #000000 at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#CEC758
RGBrgb(206, 199, 88)
HSLhsl(56, 55%, 58%)
HSVhsv(56, 57%, 81%)
CMYKcmyk(0%, 3.4%, 57.3%, 19.2%)
CIE-LABlab(78.85, -11.68, 55.27)
CIE-LCHlch(78.85, 56.49, 101.93°)
OKLaboklab(81.37% -0.0358 0.1278)
OKLCHoklch(81.37% 0.133 105.6)
XYZxyz(47.6400, 54.6748, 17.2744)
Luminance0.5467 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC758 #585FCE
analogous
#CE8C58 #CEC758 #9ACE58
triadic
#CEC758 #58CEC7 #C758CE
tetradic
#CEC758 #58CE8C #585FCE #CE589A
square
#CEC758 #58CE8C #585FCE #CE589A
split-complementary
#CEC758 #589ACE #8C58CE
monochromatic
#857F27 #B4AC35 #CEC758 #DCD787 #EAE7B7

Accessibility & contrast

On white

1.76
#CEC758 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.93
#CEC758 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC758
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC758#FFFFFF#000000##000000
##CEC7581.001.7611.9311.93
#FFFFFF1.761.0021.0021.00
#00000011.9321.001.001.00
##00000011.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C04C
Deuteranopia (green-blind)
#D9C65E
Tritanopia (blue-blind)
#DCBBAF
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cec758;
/* rgb */ color: rgb(206, 199, 88);
/* oklch */ color: oklch(81.4% 0.133 105.6);
Tailwind
colors: {
  custom: {
    50: '#dfd78b',
    500: '#cec758',
    950: '#000000',
  },
}
SCSS
$custom: #cec758;
$custom-light: #dfd78b;
$custom-dark: #000000;
JSON
{
  "hex": "#cec758",
  "rgb": {
    "r": 206,
    "g": 199,
    "b": 88
  },
  "hsl": {
    "h": 56.441,
    "s": 54.63,
    "l": 57.647
  },
  "oklch": {
    "l": 0.81367,
    "c": 0.13276,
    "h": 105.6
  },
  "luminance": 0.54673
}

Semantic roles & 50–950 ramp

primary
#CEC758
secondary
#3E438C
accent
#53DE4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CEC758

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

Preview Lab → · Contrast checker → · Palette generator →

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