#CEC65B#CEC65B

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

Color values

HEX#CEC65B
RGBrgb(206, 198, 91)
HSLhsl(56, 54%, 58%)
HSVhsv(56, 56%, 81%)
CMYKcmyk(0%, 3.9%, 55.8%, 19.2%)
CIE-LABlab(78.62, -10.94, 53.64)
CIE-LCHlch(78.62, 54.74, 101.53°)
OKLaboklab(81.19% -0.0334 0.1247)
OKLCHoklch(81.19% 0.129 105)
XYZxyz(47.5375, 54.2668, 17.8660)
Luminance0.5426 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC65B #5B63CE
analogous
#CE8C5B #CEC65B #9CCE5B
triadic
#CEC65B #5BCEC6 #C65BCE
tetradic
#CEC65B #5BCE8C #5B63CE #CE5B9C
square
#CEC65B #5BCE8C #5B63CE #CE5B9C
split-complementary
#CEC65B #5B9CCE #8C5BCE
monochromatic
#868028 #B6AD36 #CEC65B #DCD68A #EAE7B9

Accessibility & contrast

On white

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

On black

11.85
#CEC65B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC65B
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC65B#FFFFFF#000000##000000
##CEC65B1.001.7711.8511.85
#FFFFFF1.771.0021.0021.00
#00000011.8521.001.001.00
##00000011.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C050
Deuteranopia (green-blind)
#D8C561
Tritanopia (blue-blind)
#DCBAAE
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cec65b;
/* rgb */ color: rgb(206, 198, 91);
/* oklch */ color: oklch(81.2% 0.129 105.0);
Tailwind
colors: {
  custom: {
    50: '#dfd78d',
    500: '#cec65b',
    950: '#000000',
  },
}
SCSS
$custom: #cec65b;
$custom-light: #dfd78d;
$custom-dark: #000000;
JSON
{
  "hex": "#cec65b",
  "rgb": {
    "r": 206,
    "g": 198,
    "b": 91
  },
  "hsl": {
    "h": 55.826,
    "s": 53.991,
    "l": 58.235
  },
  "oklch": {
    "l": 0.81188,
    "c": 0.12909,
    "h": 105
  },
  "luminance": 0.54265
}

Semantic roles & 50–950 ramp

primary
#CEC65B
secondary
#40458D
accent
#55DD4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CEC65B

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

Preview Lab → · Contrast checker → · Palette generator →

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