#CEC265#CEC265

#CEC265 is a light, moderate yellow. Relative luminance 0.526; OKLCH L 80.5% C 0.116 H 102.0°. Best body text is #000000 at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#CEC265
RGBrgb(206, 194, 101)
HSLhsl(53, 52%, 60%)
HSVhsv(53, 51%, 81%)
CMYKcmyk(0%, 5.8%, 51%, 19.2%)
CIE-LABlab(77.67, -8.08, 47.82)
CIE-LCHlch(77.67, 48.50, 99.59°)
OKLaboklab(80.47% -0.0241 0.1131)
OKLCHoklch(80.47% 0.116 102)
XYZxyz(47.0957, 52.6466, 19.9904)
Luminance0.5264 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC265 #6571CE
analogous
#CE8E65 #CEC265 #A5CE65
triadic
#CEC265 #65CEC2 #C265CE
tetradic
#CEC265 #65CE8E #6571CE #CE65A5
square
#CEC265 #65CE8E #6571CE #CE65A5
split-complementary
#CEC265 #65A5CE #8E65CE
monochromatic
#8C812D #BAAC3B #CEC265 #DDD493 #ECE7C2

Accessibility & contrast

On white

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

On black

11.53
#CEC265 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC265
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC265#FFFFFF#000000##000000
##CEC2651.001.8211.5311.53
#FFFFFF1.821.0021.0021.00
#00000011.5321.001.001.00
##00000011.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BD5D
Deuteranopia (green-blind)
#D4C269
Tritanopia (blue-blind)
#DBB7AD
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cec265;
/* rgb */ color: rgb(206, 194, 101);
/* oklch */ color: oklch(80.5% 0.116 102.0);
Tailwind
colors: {
  custom: {
    50: '#dfd493',
    500: '#cec265',
    950: '#000000',
  },
}
SCSS
$custom: #cec265;
$custom-light: #dfd493;
$custom-dark: #000000;
JSON
{
  "hex": "#cec265",
  "rgb": {
    "r": 206,
    "g": 194,
    "b": 101
  },
  "hsl": {
    "h": 53.143,
    "s": 51.724,
    "l": 60.196
  },
  "oklch": {
    "l": 0.80468,
    "c": 0.11565,
    "h": 102
  },
  "luminance": 0.52645
}

Semantic roles & 50–950 ramp

primary
#CEC265
secondary
#454E93
accent
#38BF26
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CEC265

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

Preview Lab → · Contrast checker → · Palette generator →

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