#CEC260#CEC260

#CEC260 is a light, vivid yellow. Relative luminance 0.525; OKLCH L 80.4% C 0.120 H 102.4°. Best body text is #000000 at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#CEC260
RGBrgb(206, 194, 96)
HSLhsl(53, 53%, 59%)
HSVhsv(53, 53%, 81%)
CMYKcmyk(0%, 5.8%, 53.4%, 19.2%)
CIE-LABlab(77.61, -8.50, 50.15)
CIE-LCHlch(77.61, 50.86, 99.62°)
OKLaboklab(80.41% -0.0258 0.1177)
OKLCHoklch(80.41% 0.121 102.4)
XYZxyz(46.8582, 52.5515, 18.7392)
Luminance0.5255 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC260 #606CCE
analogous
#CE8B60 #CEC260 #A3CE60
triadic
#CEC260 #60CEC2 #C260CE
tetradic
#CEC260 #60CE8B #606CCE #CE60A3
square
#CEC260 #60CE8B #606CCE #CE60A3
split-complementary
#CEC260 #60A3CE #8B60CE
monochromatic
#897F2A #B8AA39 #CEC260 #DCD48F #EBE6BE

Accessibility & contrast

On white

1.82
#CEC260 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.51
#CEC260 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC260
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC260#FFFFFF#000000##000000
##CEC2601.001.8211.5111.51
#FFFFFF1.821.0021.0021.00
#00000011.5121.001.001.00
##00000011.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BD57
Deuteranopia (green-blind)
#D5C265
Tritanopia (blue-blind)
#DCB7AC
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cec260;
/* rgb */ color: rgb(206, 194, 96);
/* oklch */ color: oklch(80.4% 0.120 102.4);
Tailwind
colors: {
  custom: {
    50: '#dfd490',
    500: '#cec260',
    950: '#000000',
  },
}
SCSS
$custom: #cec260;
$custom-light: #dfd490;
$custom-dark: #000000;
JSON
{
  "hex": "#cec260",
  "rgb": {
    "r": 206,
    "g": 194,
    "b": 96
  },
  "hsl": {
    "h": 53.455,
    "s": 52.885,
    "l": 59.216
  },
  "oklch": {
    "l": 0.80405,
    "c": 0.1205,
    "h": 102.4
  },
  "luminance": 0.5255
}

Semantic roles & 50–950 ramp

primary
#CEC260
secondary
#424B90
accent
#5BDC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CEC260

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

Preview Lab → · Contrast checker → · Palette generator →

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