#CEC565#CEC565

#CEC565 is a light, moderate yellow. Relative luminance 0.540; OKLCH L 81.1% C 0.119 H 103.9°. Best body text is #000000 at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#CEC565
RGBrgb(206, 197, 101)
HSLhsl(55, 52%, 60%)
HSVhsv(55, 51%, 81%)
CMYKcmyk(0%, 4.4%, 51%, 19.2%)
CIE-LABlab(78.46, -9.62, 48.76)
CIE-LCHlch(78.46, 49.70, 101.15°)
OKLaboklab(81.1% -0.0285 0.1152)
OKLCHoklch(81.1% 0.119 103.9)
XYZxyz(47.7701, 53.9954, 20.2152)
Luminance0.5399 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC565 #656ECE
analogous
#CE9065 #CEC565 #A3CE65
triadic
#CEC565 #65CEC5 #C565CE
tetradic
#CEC565 #65CE90 #656ECE #CE65A3
square
#CEC565 #65CE90 #656ECE #CE65A3
split-complementary
#CEC565 #65A3CE #9065CE
monochromatic
#8C842D #BAB03B #CEC565 #DDD693 #ECE8C2

Accessibility & contrast

On white

1.78
#CEC565 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.80
#CEC565 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC565
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC565#FFFFFF#000000##000000
##CEC5651.001.7811.8011.80
#FFFFFF1.781.0021.0021.00
#00000011.8021.001.001.00
##00000011.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BF5C
Deuteranopia (green-blind)
#D7C46A
Tritanopia (blue-blind)
#DBBAAF
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cec565;
/* rgb */ color: rgb(206, 197, 101);
/* oklch */ color: oklch(81.1% 0.119 103.9);
Tailwind
colors: {
  custom: {
    50: '#dfd693',
    500: '#cec565',
    950: '#000000',
  },
}
SCSS
$custom: #cec565;
$custom-light: #dfd693;
$custom-dark: #000000;
JSON
{
  "hex": "#cec565",
  "rgb": {
    "r": 206,
    "g": 197,
    "b": 101
  },
  "hsl": {
    "h": 54.857,
    "s": 51.724,
    "l": 60.196
  },
  "oklch": {
    "l": 0.81097,
    "c": 0.11865,
    "h": 103.9
  },
  "luminance": 0.53994
}

Semantic roles & 50–950 ramp

primary
#CEC565
secondary
#454B93
accent
#33BF26
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CEC565

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

Preview Lab → · Contrast checker → · Palette generator →

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