#CEC458#CEC458

#CEC458 is a light, vivid yellow. Relative luminance 0.533; OKLCH L 80.7% C 0.130 H 104.0°. Best body text is #000000 at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#CEC458
RGBrgb(206, 196, 88)
HSLhsl(55, 55%, 58%)
HSVhsv(55, 57%, 81%)
CMYKcmyk(0%, 4.9%, 57.3%, 19.2%)
CIE-LABlab(78.06, -10.15, 54.37)
CIE-LCHlch(78.06, 55.31, 100.57°)
OKLaboklab(80.73% -0.0314 0.1259)
OKLCHoklch(80.73% 0.13 104)
XYZxyz(46.9565, 53.3079, 17.0466)
Luminance0.5331 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC458 #5862CE
analogous
#CE8958 #CEC458 #9DCE58
triadic
#CEC458 #58CEC4 #C458CE
tetradic
#CEC458 #58CE89 #5862CE #CE589D
square
#CEC458 #58CE89 #5862CE #CE589D
split-complementary
#CEC458 #589DCE #8958CE
monochromatic
#857D27 #B4A935 #CEC458 #DCD587 #EAE5B7

Accessibility & contrast

On white

1.80
#CEC458 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.66
#CEC458 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC458
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC458#FFFFFF#000000##000000
##CEC4581.001.8011.6611.66
#FFFFFF1.801.0021.0021.00
#00000011.6621.001.001.00
##00000011.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BE4D
Deuteranopia (green-blind)
#D7C35E
Tritanopia (blue-blind)
#DCB8AC
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cec458;
/* rgb */ color: rgb(206, 196, 88);
/* oklch */ color: oklch(80.7% 0.130 104.0);
Tailwind
colors: {
  custom: {
    50: '#dfd58b',
    500: '#cec458',
    950: '#000000',
  },
}
SCSS
$custom: #cec458;
$custom-light: #dfd58b;
$custom-dark: #000000;
JSON
{
  "hex": "#cec458",
  "rgb": {
    "r": 206,
    "g": 196,
    "b": 88
  },
  "hsl": {
    "h": 54.915,
    "s": 54.63,
    "l": 57.647
  },
  "oklch": {
    "l": 0.80733,
    "c": 0.12978,
    "h": 104
  },
  "luminance": 0.53306
}

Semantic roles & 50–950 ramp

primary
#CEC458
secondary
#3E458C
accent
#56DE4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CEC458

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

Preview Lab → · Contrast checker → · Palette generator →

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