#CECB8A#CECB8A

#CECB8A is a very light, moderate yellow. Relative luminance 0.577; OKLCH L 82.9% C 0.085 H 105.9°. Best body text is #000000 at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#CECB8A
RGBrgb(206, 203, 138)
HSLhsl(57, 41%, 67%)
HSVhsv(57, 33%, 81%)
CMYKcmyk(0%, 1.5%, 33%, 19.2%)
CIE-LABlab(80.55, -8.83, 32.86)
CIE-LCHlch(80.55, 34.03, 105.04°)
OKLaboklab(82.93% -0.0231 0.0815)
OKLCHoklch(82.93% 0.085 105.9)
XYZxyz(51.3974, 57.6697, 32.4636)
Luminance0.5767 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECB8A #8A8DCE
analogous
#CEA98A #CECB8A #AFCE8A
triadic
#CECB8A #8ACECB #CB8ACE
tetradic
#CECB8A #8ACEA9 #8A8DCE #CE8AAF
square
#CECB8A #8ACEA9 #8A8DCE #CE8AAF
split-complementary
#CECB8A #8AAFCE #A98ACE
monochromatic
#9C9841 #BCB85F #CECB8A #E0DEB5 #F2F1E0

Accessibility & contrast

On white

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

On black

12.53
#CECB8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECB8A
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECB8A#FFFFFF#000000##000000
##CECB8A1.001.6812.5312.53
#FFFFFF1.681.0021.0021.00
#00000012.5321.001.001.00
##00000012.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C685
Deuteranopia (green-blind)
#D7C98D
Tritanopia (blue-blind)
#D8C3BA
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cecb8a;
/* rgb */ color: rgb(206, 203, 138);
/* oklch */ color: oklch(82.9% 0.085 105.9);
Tailwind
colors: {
  custom: {
    50: '#dedaad',
    500: '#cecb8a',
    950: '#000000',
  },
}
SCSS
$custom: #cecb8a;
$custom-light: #dedaad;
$custom-dark: #000000;
JSON
{
  "hex": "#cecb8a",
  "rgb": {
    "r": 206,
    "g": 203,
    "b": 138
  },
  "hsl": {
    "h": 57.353,
    "s": 40.964,
    "l": 67.451
  },
  "oklch": {
    "l": 0.82927,
    "c": 0.08469,
    "h": 105.9
  },
  "luminance": 0.57669
}

Semantic roles & 50–950 ramp

primary
#CECB8A
secondary
#5A5DA2
accent
#37B431
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CECB8A

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

Preview Lab → · Contrast checker → · Palette generator →

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