#CECE8B#CECE8B

#CECE8B is a very light, moderate yellow. Relative luminance 0.591; OKLCH L 83.6% C 0.087 H 108.1°. Best body text is #000000 at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#CECE8B
RGBrgb(206, 206, 139)
HSLhsl(60, 41%, 68%)
HSVhsv(60, 33%, 81%)
CMYKcmyk(0%, 0%, 32.5%, 19.2%)
CIE-LABlab(81.36, -10.24, 33.41)
CIE-LCHlch(81.36, 34.94, 107.04°)
OKLaboklab(83.57% -0.0271 0.0828)
OKLCHoklch(83.57% 0.087 108.1)
XYZxyz(52.1855, 59.1294, 33.0851)
Luminance0.5913 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECE8B #8B8BCE
analogous
#CEAC8B #CECE8B #ACCE8B
triadic
#CECE8B #8BCECE #CE8BCE
tetradic
#CECE8B #8BCEAC #8B8BCE #CE8BAC
square
#CECE8B #8BCEAC #8B8BCE #CE8BAC
split-complementary
#CECE8B #8BACCE #AC8BCE
monochromatic
#9C9C42 #BCBC60 #CECE8B #E0E0B6 #F2F2E1

Accessibility & contrast

On white

1.64
#CECE8B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.83
#CECE8B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECE8B
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECE8B#FFFFFF#000000##000000
##CECE8B1.001.6412.8312.83
#FFFFFF1.641.0021.0021.00
#00000012.8321.001.001.00
##00000012.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C986
Deuteranopia (green-blind)
#DACB8E
Tritanopia (blue-blind)
#D7C6BD
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cece8b;
/* rgb */ color: rgb(206, 206, 139);
/* oklch */ color: oklch(83.6% 0.087 108.1);
Tailwind
colors: {
  custom: {
    50: '#dedcad',
    500: '#cece8b',
    950: '#000000',
  },
}
SCSS
$custom: #cece8b;
$custom-light: #dedcad;
$custom-dark: #000000;
JSON
{
  "hex": "#cece8b",
  "rgb": {
    "r": 206,
    "g": 206,
    "b": 139
  },
  "hsl": {
    "h": 60,
    "s": 40.606,
    "l": 67.647
  },
  "oklch": {
    "l": 0.83573,
    "c": 0.0871,
    "h": 108.1
  },
  "luminance": 0.59129
}

Semantic roles & 50–950 ramp

primary
#CECE8B
secondary
#5B5BA3
accent
#32B432
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#151510
muted
#848481

Preview Lab

Preview with #CECE8B

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

Preview Lab → · Contrast checker → · Palette generator →

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