#CECB7B#CECB7B

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

Color values

HEX#CECB7B
RGBrgb(206, 203, 123)
HSLhsl(58, 46%, 65%)
HSVhsv(58, 40%, 81%)
CMYKcmyk(0%, 1.5%, 40.3%, 19.2%)
CIE-LABlab(80.33, -10.55, 40.23)
CIE-LCHlch(80.33, 41.58, 104.69°)
OKLaboklab(82.67% -0.0291 0.0978)
OKLCHoklch(82.67% 0.102 106.6)
XYZxyz(50.3855, 57.2649, 27.1341)
Luminance0.5726 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECB7B #7B7ECE
analogous
#CEA27B #CECB7B #A8CE7B
triadic
#CECB7B #7BCECB #CB7BCE
tetradic
#CECB7B #7BCEA2 #7B7ECE #CE7BA8
square
#CECB7B #7BCEA2 #7B7ECE #CE7BA8
split-complementary
#CECB7B #7BA8CE #A27BCE
monochromatic
#979338 #BDB94E #CECB7B #DFDDA8 #EFEED4

Accessibility & contrast

On white

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

On black

12.45
#CECB7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECB7B
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECB7B#FFFFFF#000000##000000
##CECB7B1.001.6912.4512.45
#FFFFFF1.691.0021.0021.00
#00000012.4521.001.001.00
##00000012.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C575
Deuteranopia (green-blind)
#D9C97E
Tritanopia (blue-blind)
#D9C2B7
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cecb7b;
/* rgb */ color: rgb(206, 203, 123);
/* oklch */ color: oklch(82.7% 0.102 106.6);
Tailwind
colors: {
  custom: {
    50: '#dedaa2',
    500: '#cecb7b',
    950: '#000000',
  },
}
SCSS
$custom: #cecb7b;
$custom-light: #dedaa2;
$custom-dark: #000000;
JSON
{
  "hex": "#cecb7b",
  "rgb": {
    "r": 206,
    "g": 203,
    "b": 123
  },
  "hsl": {
    "h": 57.831,
    "s": 45.856,
    "l": 64.51
  },
  "oklch": {
    "l": 0.82673,
    "c": 0.102,
    "h": 106.6
  },
  "luminance": 0.57264
}

Semantic roles & 50–950 ramp

primary
#CECB7B
secondary
#51539D
accent
#32B92C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CECB7B

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

Preview Lab → · Contrast checker → · Palette generator →

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