#CECB7D#CECB7D

#CECB7D is a very light, moderate yellow. Relative luminance 0.573; OKLCH L 82.7% C 0.100 H 106.5°. Best body text is #000000 at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#CECB7D
RGBrgb(206, 203, 125)
HSLhsl(58, 45%, 65%)
HSVhsv(58, 39%, 81%)
CMYKcmyk(0%, 1.5%, 39.3%, 19.2%)
CIE-LABlab(80.36, -10.33, 39.25)
CIE-LCHlch(80.36, 40.59, 104.74°)
OKLaboklab(82.71% -0.0283 0.0957)
OKLCHoklch(82.71% 0.1 106.5)
XYZxyz(50.5120, 57.3155, 27.8002)
Luminance0.5731 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECB7D #7D80CE
analogous
#CEA37D #CECB7D #A8CE7D
triadic
#CECB7D #7DCECB #CB7DCE
tetradic
#CECB7D #7DCEA3 #7D80CE #CE7DA8
square
#CECB7D #7DCEA3 #7D80CE #CE7DA8
split-complementary
#CECB7D #7DA8CE #A37DCE
monochromatic
#979439 #BDB951 #CECB7D #DFDDA9 #F0EFD6

Accessibility & contrast

On white

1.69
#CECB7D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.46
#CECB7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECB7D
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECB7D#FFFFFF#000000##000000
##CECB7D1.001.6912.4612.46
#FFFFFF1.691.0021.0021.00
#00000012.4621.001.001.00
##00000012.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C577
Deuteranopia (green-blind)
#D9C980
Tritanopia (blue-blind)
#D9C2B8
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cecb7d;
/* rgb */ color: rgb(206, 203, 125);
/* oklch */ color: oklch(82.7% 0.100 106.5);
Tailwind
colors: {
  custom: {
    50: '#dedaa4',
    500: '#cecb7d',
    950: '#000000',
  },
}
SCSS
$custom: #cecb7d;
$custom-light: #dedaa4;
$custom-dark: #000000;
JSON
{
  "hex": "#cecb7d",
  "rgb": {
    "r": 206,
    "g": 203,
    "b": 125
  },
  "hsl": {
    "h": 57.778,
    "s": 45.251,
    "l": 64.902
  },
  "oklch": {
    "l": 0.82705,
    "c": 0.09977,
    "h": 106.5
  },
  "luminance": 0.57314
}

Semantic roles & 50–950 ramp

primary
#CECB7D
secondary
#52559D
accent
#32B82D
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CECB7D

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

Preview Lab → · Contrast checker → · Palette generator →

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