#CEC658#CEC658

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

Color values

HEX#CEC658
RGBrgb(206, 198, 88)
HSLhsl(56, 55%, 58%)
HSVhsv(56, 57%, 81%)
CMYKcmyk(0%, 3.9%, 57.3%, 19.2%)
CIE-LABlab(78.59, -11.17, 54.97)
CIE-LCHlch(78.59, 56.09, 101.48°)
OKLaboklab(81.16% -0.0343 0.1272)
OKLCHoklch(81.16% 0.132 105.1)
XYZxyz(47.4107, 54.2161, 17.1980)
Luminance0.5422 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC658 #5860CE
analogous
#CE8B58 #CEC658 #9BCE58
triadic
#CEC658 #58CEC6 #C658CE
tetradic
#CEC658 #58CE8B #5860CE #CE589B
square
#CEC658 #58CE8B #5860CE #CE589B
split-complementary
#CEC658 #589BCE #8B58CE
monochromatic
#857E27 #B4AB35 #CEC658 #DCD687 #EAE6B7

Accessibility & contrast

On white

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

On black

11.84
#CEC658 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC658
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC658#FFFFFF#000000##000000
##CEC6581.001.7711.8411.84
#FFFFFF1.771.0021.0021.00
#00000011.8421.001.001.00
##00000011.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cec658;
/* rgb */ color: rgb(206, 198, 88);
/* oklch */ color: oklch(81.2% 0.132 105.1);
Tailwind
colors: {
  custom: {
    50: '#dfd78b',
    500: '#cec658',
    950: '#000000',
  },
}
SCSS
$custom: #cec658;
$custom-light: #dfd78b;
$custom-dark: #000000;
JSON
{
  "hex": "#cec658",
  "rgb": {
    "r": 206,
    "g": 198,
    "b": 88
  },
  "hsl": {
    "h": 55.932,
    "s": 54.63,
    "l": 57.647
  },
  "oklch": {
    "l": 0.81155,
    "c": 0.13175,
    "h": 105.1
  },
  "luminance": 0.54215
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CEC658

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

Preview Lab → · Contrast checker → · Palette generator →

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