#CECB7E#CECB7E

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

Color values

HEX#CECB7E
RGBrgb(206, 203, 126)
HSLhsl(58, 45%, 65%)
HSVhsv(58, 39%, 81%)
CMYKcmyk(0%, 1.5%, 38.8%, 19.2%)
CIE-LABlab(80.37, -10.22, 38.77)
CIE-LCHlch(80.37, 40.09, 104.77°)
OKLaboklab(82.72% -0.0279 0.0946)
OKLCHoklch(82.72% 0.099 106.4)
XYZxyz(50.5762, 57.3412, 28.1383)
Luminance0.5734 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECB7E #7E81CE
analogous
#CEA37E #CECB7E #A9CE7E
triadic
#CECB7E #7ECECB #CB7ECE
tetradic
#CECB7E #7ECEA3 #7E81CE #CE7EA9
square
#CECB7E #7ECEA3 #7E81CE #CE7EA9
split-complementary
#CECB7E #7EA9CE #A37ECE
monochromatic
#98943A #BDB952 #CECB7E #DFDDAA #F0EFD7

Accessibility & contrast

On white

1.68
#CECB7E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.47
#CECB7E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECB7E
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECB7E#FFFFFF#000000##000000
##CECB7E1.001.6812.4712.47
#FFFFFF1.681.0021.0021.00
#00000012.4721.001.001.00
##00000012.4721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cecb7e;
/* rgb */ color: rgb(206, 203, 126);
/* oklch */ color: oklch(82.7% 0.099 106.4);
Tailwind
colors: {
  custom: {
    50: '#dedaa4',
    500: '#cecb7e',
    950: '#000000',
  },
}
SCSS
$custom: #cecb7e;
$custom-light: #dedaa4;
$custom-dark: #000000;
JSON
{
  "hex": "#cecb7e",
  "rgb": {
    "r": 206,
    "g": 203,
    "b": 126
  },
  "hsl": {
    "h": 57.75,
    "s": 44.944,
    "l": 65.098
  },
  "oklch": {
    "l": 0.82721,
    "c": 0.09864,
    "h": 106.4
  },
  "luminance": 0.5734
}

Semantic roles & 50–950 ramp

primary
#CECB7E
secondary
#52559E
accent
#33B82D
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CECB7E

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

Preview Lab → · Contrast checker → · Palette generator →

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