#CEC382#CEC382

#CEC382 is a light, moderate yellow. Relative luminance 0.538; OKLCH L 81.1% C 0.085 H 99.8°. Best body text is #000000 at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#CEC382
RGBrgb(206, 195, 130)
HSLhsl(51, 44%, 66%)
HSVhsv(51, 37%, 81%)
CMYKcmyk(0%, 5.3%, 36.9%, 19.2%)
CIE-LABlab(78.32, -5.66, 34.08)
CIE-LCHlch(78.32, 34.55, 99.42°)
OKLaboklab(81.12% -0.0145 0.084)
OKLCHoklch(81.12% 0.085 99.8)
XYZxyz(48.9988, 53.7651, 28.9113)
Luminance0.5376 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC382 #828DCE
analogous
#CE9D82 #CEC382 #B3CE82
triadic
#CEC382 #82CEC3 #C382CE
tetradic
#CEC382 #82CE9D #828DCE #CE82B3
square
#CEC382 #82CE9D #828DCE #CE82B3
split-complementary
#CEC382 #82B3CE #9D82CE
monochromatic
#998C3C #BDAE56 #CEC382 #DFD8AE #F0EDDA

Accessibility & contrast

On white

1.79
#CEC382 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.75
#CEC382 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC382
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC382#FFFFFF#000000##000000
##CEC3821.001.7911.7511.75
#FFFFFF1.791.0021.0021.00
#00000011.7521.001.001.00
##00000011.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBF7D
Deuteranopia (green-blind)
#D2C484
Tritanopia (blue-blind)
#D9BAB3
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cec382;
/* rgb */ color: rgb(206, 195, 130);
/* oklch */ color: oklch(81.1% 0.085 99.8);
Tailwind
colors: {
  custom: {
    50: '#ded5a7',
    500: '#cec382',
    950: '#000000',
  },
}
SCSS
$custom: #cec382;
$custom-light: #ded5a7;
$custom-dark: #000000;
JSON
{
  "hex": "#cec382",
  "rgb": {
    "r": 206,
    "g": 195,
    "b": 130
  },
  "hsl": {
    "h": 51.316,
    "s": 43.678,
    "l": 65.882
  },
  "oklch": {
    "l": 0.81118,
    "c": 0.08526,
    "h": 99.8
  },
  "luminance": 0.53764
}

Semantic roles & 50–950 ramp

primary
#CEC382
secondary
#55609F
accent
#42B72F
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CEC382

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

Preview Lab → · Contrast checker → · Palette generator →

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