#CEC459#CEC459

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

Color values

HEX#CEC459
RGBrgb(206, 196, 89)
HSLhsl(55, 54%, 58%)
HSVhsv(55, 57%, 81%)
CMYKcmyk(0%, 4.9%, 56.8%, 19.2%)
CIE-LABlab(78.07, -10.08, 53.93)
CIE-LCHlch(78.07, 54.86, 100.58°)
OKLaboklab(80.74% -0.0311 0.1251)
OKLCHoklch(80.74% 0.129 104)
XYZxyz(46.9982, 53.3245, 17.2663)
Luminance0.5332 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC459 #5963CE
analogous
#CE8959 #CEC459 #9DCE59
triadic
#CEC459 #59CEC4 #C459CE
tetradic
#CEC459 #59CE89 #5963CE #CE599D
square
#CEC459 #59CE89 #5963CE #CE599D
split-complementary
#CEC459 #599DCE #8959CE
monochromatic
#857D27 #B5AA35 #CEC459 #DCD588 #EAE6B8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CEC459#FFFFFF#000000##000000
##CEC4591.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)
#D3BE4E
Deuteranopia (green-blind)
#D7C35F
Tritanopia (blue-blind)
#DCB8AC
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cec459;
/* rgb */ color: rgb(206, 196, 89);
/* oklch */ color: oklch(80.7% 0.129 104.0);
Tailwind
colors: {
  custom: {
    50: '#dfd58b',
    500: '#cec459',
    950: '#000000',
  },
}
SCSS
$custom: #cec459;
$custom-light: #dfd58b;
$custom-dark: #000000;
JSON
{
  "hex": "#cec459",
  "rgb": {
    "r": 206,
    "g": 196,
    "b": 89
  },
  "hsl": {
    "h": 54.872,
    "s": 54.419,
    "l": 57.843
  },
  "oklch": {
    "l": 0.80744,
    "c": 0.1289,
    "h": 104
  },
  "luminance": 0.53323
}

Semantic roles & 50–950 ramp

primary
#CEC459
secondary
#3F468C
accent
#57DE4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CEC459

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

Preview Lab → · Contrast checker → · Palette generator →

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