#CEC661#CEC661

#CEC661 is a light, vivid yellow. Relative luminance 0.544; OKLCH L 81.3% C 0.124 H 104.7°. Best body text is #000000 at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#CEC661
RGBrgb(206, 198, 97)
HSLhsl(56, 53%, 59%)
HSVhsv(56, 53%, 81%)
CMYKcmyk(0%, 3.9%, 52.9%, 19.2%)
CIE-LABlab(78.68, -10.46, 50.92)
CIE-LCHlch(78.68, 51.99, 101.61°)
OKLaboklab(81.26% -0.0313 0.1195)
OKLCHoklch(81.26% 0.124 104.7)
XYZxyz(47.8067, 54.3745, 19.2840)
Luminance0.5437 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC661 #6169CE
analogous
#CE9061 #CEC661 #A0CE61
triadic
#CEC661 #61CEC6 #C661CE
tetradic
#CEC661 #61CE90 #6169CE #CE61A0
square
#CEC661 #61CE90 #6169CE #CE61A0
split-complementary
#CEC661 #61A0CE #9061CE
monochromatic
#8A832B #B9AF39 #CEC661 #DCD790 #EBE8BE

Accessibility & contrast

On white

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

On black

11.87
#CEC661 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC661
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC661#FFFFFF#000000##000000
##CEC6611.001.7711.8711.87
#FFFFFF1.771.0021.0021.00
#00000011.8721.001.001.00
##00000011.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C057
Deuteranopia (green-blind)
#D8C566
Tritanopia (blue-blind)
#DBBBAF
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cec661;
/* rgb */ color: rgb(206, 198, 97);
/* oklch */ color: oklch(81.3% 0.124 104.7);
Tailwind
colors: {
  custom: {
    50: '#dfd791',
    500: '#cec661',
    950: '#000000',
  },
}
SCSS
$custom: #cec661;
$custom-light: #dfd791;
$custom-dark: #000000;
JSON
{
  "hex": "#cec661",
  "rgb": {
    "r": 206,
    "g": 198,
    "b": 97
  },
  "hsl": {
    "h": 55.596,
    "s": 52.657,
    "l": 59.412
  },
  "oklch": {
    "l": 0.81258,
    "c": 0.12353,
    "h": 104.7
  },
  "luminance": 0.54373
}

Semantic roles & 50–950 ramp

primary
#CEC661
secondary
#434891
accent
#56DC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CEC661

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

Preview Lab → · Contrast checker → · Palette generator →

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