#CEC858#CEC858

#CEC858 is a light, vivid yellow. Relative luminance 0.551; OKLCH L 81.6% C 0.134 H 106.2°. Best body text is #000000 at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#CEC858
RGBrgb(206, 200, 88)
HSLhsl(57, 55%, 58%)
HSVhsv(57, 57%, 81%)
CMYKcmyk(0%, 2.9%, 57.3%, 19.2%)
CIE-LABlab(79.12, -12.18, 55.57)
CIE-LCHlch(79.12, 56.89, 102.37°)
OKLaboklab(81.58% -0.0372 0.1285)
OKLCHoklch(81.58% 0.134 106.2)
XYZxyz(47.8708, 55.1364, 17.3514)
Luminance0.5514 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC858 #585ECE
analogous
#CE8D58 #CEC858 #99CE58
triadic
#CEC858 #58CEC8 #C858CE
tetradic
#CEC858 #58CE8D #585ECE #CE5899
square
#CEC858 #58CE8D #585ECE #CE5899
split-complementary
#CEC858 #5899CE #8D58CE
monochromatic
#858027 #B4AE35 #CEC858 #DCD887 #EAE7B7

Accessibility & contrast

On white

1.75
#CEC858 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.03
#CEC858 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC858
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC858#FFFFFF#000000##000000
##CEC8581.001.7512.0312.03
#FFFFFF1.751.0021.0021.00
#00000012.0321.001.001.00
##00000012.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C14C
Deuteranopia (green-blind)
#DAC65E
Tritanopia (blue-blind)
#DCBCB0
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cec858;
/* rgb */ color: rgb(206, 200, 88);
/* oklch */ color: oklch(81.6% 0.134 106.2);
Tailwind
colors: {
  custom: {
    50: '#dfd88b',
    500: '#cec858',
    950: '#000000',
  },
}
SCSS
$custom: #cec858;
$custom-light: #dfd88b;
$custom-dark: #000000;
JSON
{
  "hex": "#cec858",
  "rgb": {
    "r": 206,
    "g": 200,
    "b": 88
  },
  "hsl": {
    "h": 56.949,
    "s": 54.63,
    "l": 57.647
  },
  "oklch": {
    "l": 0.81579,
    "c": 0.13377,
    "h": 106.2
  },
  "luminance": 0.55135
}

Semantic roles & 50–950 ramp

primary
#CEC858
secondary
#3E428C
accent
#51DE4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CEC858

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

Preview Lab → · Contrast checker → · Palette generator →

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