#CEC088#CEC088

#CEC088 is a light, moderate yellow. Relative luminance 0.526; OKLCH L 80.6% C 0.075 H 95.8°. Best body text is #000000 at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#CEC088
RGBrgb(206, 192, 136)
HSLhsl(48, 42%, 67%)
HSVhsv(48, 34%, 81%)
CMYKcmyk(0%, 6.8%, 34%, 19.2%)
CIE-LABlab(77.64, -3.38, 30.05)
CIE-LCHlch(77.64, 30.24, 96.42°)
OKLaboklab(80.61% -0.0076 0.0748)
OKLCHoklch(80.61% 0.075 95.8)
XYZxyz(48.7479, 52.6000, 30.8727)
Luminance0.5260 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC088 #8896CE
analogous
#CE9D88 #CEC088 #B9CE88
triadic
#CEC088 #88CEC0 #C088CE
tetradic
#CEC088 #88CE9D #8896CE #CE88B9
square
#CEC088 #88CE9D #8896CE #CE88B9
split-complementary
#CEC088 #88B9CE #9D88CE
monochromatic
#9C8940 #BCA95D #CEC088 #E0D7B3 #F2EEDF

Accessibility & contrast

On white

1.82
#CEC088 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.52
#CEC088 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC088
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC088#FFFFFF#000000##000000
##CEC0881.001.8211.5211.52
#FFFFFF1.821.0021.0021.00
#00000011.5221.001.001.00
##00000011.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBBD84
Deuteranopia (green-blind)
#CFC28A
Tritanopia (blue-blind)
#D9B8B1
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cec088;
/* rgb */ color: rgb(206, 192, 136);
/* oklch */ color: oklch(80.6% 0.075 95.8);
Tailwind
colors: {
  custom: {
    50: '#ded2ab',
    500: '#cec088',
    950: '#000000',
  },
}
SCSS
$custom: #cec088;
$custom-light: #ded2ab;
$custom-dark: #000000;
JSON
{
  "hex": "#cec088",
  "rgb": {
    "r": 206,
    "g": 192,
    "b": 136
  },
  "hsl": {
    "h": 48,
    "s": 41.667,
    "l": 67.059
  },
  "oklch": {
    "l": 0.80608,
    "c": 0.0752,
    "h": 95.8
  },
  "luminance": 0.52599
}

Semantic roles & 50–950 ramp

primary
#CEC088
secondary
#5967A2
accent
#4BB531
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CEC088

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

Preview Lab → · Contrast checker → · Palette generator →

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