#CEC65C#CEC65C

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

Color values

HEX#CEC65C
RGBrgb(206, 198, 92)
HSLhsl(56, 54%, 58%)
HSVhsv(56, 55%, 81%)
CMYKcmyk(0%, 3.9%, 55.3%, 19.2%)
CIE-LABlab(78.63, -10.87, 53.19)
CIE-LCHlch(78.63, 54.29, 101.55°)
OKLaboklab(81.2% -0.033 0.1239)
OKLCHoklch(81.2% 0.128 104.9)
XYZxyz(47.5809, 54.2842, 18.0947)
Luminance0.5428 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC65C #5C64CE
analogous
#CE8D5C #CEC65C #9DCE5C
triadic
#CEC65C #5CCEC6 #C65CCE
tetradic
#CEC65C #5CCE8D #5C64CE #CE5C9D
square
#CEC65C #5CCE8D #5C64CE #CE5C9D
split-complementary
#CEC65C #5C9DCE #8D5CCE
monochromatic
#878029 #B6AD37 #CEC65C #DCD68B #EAE7BA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CEC65C#FFFFFF#000000##000000
##CEC65C1.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)
#D5C051
Deuteranopia (green-blind)
#D8C561
Tritanopia (blue-blind)
#DCBAAE
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cec65c;
/* rgb */ color: rgb(206, 198, 92);
/* oklch */ color: oklch(81.2% 0.128 104.9);
Tailwind
colors: {
  custom: {
    50: '#dfd78d',
    500: '#cec65c',
    950: '#000000',
  },
}
SCSS
$custom: #cec65c;
$custom-light: #dfd78d;
$custom-dark: #000000;
JSON
{
  "hex": "#cec65c",
  "rgb": {
    "r": 206,
    "g": 198,
    "b": 92
  },
  "hsl": {
    "h": 55.789,
    "s": 53.774,
    "l": 58.431
  },
  "oklch": {
    "l": 0.812,
    "c": 0.12818,
    "h": 104.9
  },
  "luminance": 0.54283
}

Semantic roles & 50–950 ramp

primary
#CEC65C
secondary
#40468E
accent
#55DD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CEC65C

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

Preview Lab → · Contrast checker → · Palette generator →

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