#CEC65D#CEC65D

#CEC65D is a light, vivid yellow. Relative luminance 0.543; OKLCH L 81.2% C 0.127 H 104.9°. Best body text is #000000 at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#CEC65D
RGBrgb(206, 198, 93)
HSLhsl(56, 54%, 59%)
HSVhsv(56, 55%, 81%)
CMYKcmyk(0%, 3.9%, 54.9%, 19.2%)
CIE-LABlab(78.64, -10.79, 52.74)
CIE-LCHlch(78.64, 53.83, 101.56°)
OKLaboklab(81.21% -0.0327 0.123)
OKLCHoklch(81.21% 0.127 104.9)
XYZxyz(47.6249, 54.3018, 18.3264)
Luminance0.5430 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC65D #5D65CE
analogous
#CE8D5D #CEC65D #9DCE5D
triadic
#CEC65D #5DCEC6 #C65DCE
tetradic
#CEC65D #5DCE8D #5D65CE #CE5D9D
square
#CEC65D #5DCE8D #5D65CE #CE5D9D
split-complementary
#CEC65D #5D9DCE #8D5DCE
monochromatic
#888129 #B7AE37 #CEC65D #DCD78C #EAE7BB

Accessibility & contrast

On white

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

On black

11.86
#CEC65D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC65D
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC65D#FFFFFF#000000##000000
##CEC65D1.001.7711.8611.86
#FFFFFF1.771.0021.0021.00
#00000011.8621.001.001.00
##00000011.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C053
Deuteranopia (green-blind)
#D8C562
Tritanopia (blue-blind)
#DBBAAF
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cec65d;
/* rgb */ color: rgb(206, 198, 93);
/* oklch */ color: oklch(81.2% 0.127 104.9);
Tailwind
colors: {
  custom: {
    50: '#dfd78e',
    500: '#cec65d',
    950: '#000000',
  },
}
SCSS
$custom: #cec65d;
$custom-light: #dfd78e;
$custom-dark: #000000;
JSON
{
  "hex": "#cec65d",
  "rgb": {
    "r": 206,
    "g": 198,
    "b": 93
  },
  "hsl": {
    "h": 55.752,
    "s": 53.555,
    "l": 58.627
  },
  "oklch": {
    "l": 0.81211,
    "c": 0.12726,
    "h": 104.9
  },
  "luminance": 0.543
}

Semantic roles & 50–950 ramp

primary
#CEC65D
secondary
#41468E
accent
#55DD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CEC65D

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

Preview Lab → · Contrast checker → · Palette generator →

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