#CEC482#CEC482

#CEC482 is a light, moderate yellow. Relative luminance 0.542; OKLCH L 81.3% C 0.086 H 100.7°. Best body text is #000000 at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#CEC482
RGBrgb(206, 196, 130)
HSLhsl(52, 44%, 66%)
HSVhsv(52, 37%, 81%)
CMYKcmyk(0%, 4.9%, 36.9%, 19.2%)
CIE-LABlab(78.59, -6.17, 34.42)
CIE-LCHlch(78.59, 34.97, 100.17°)
OKLaboklab(81.33% -0.016 0.0848)
OKLCHoklch(81.33% 0.086 100.7)
XYZxyz(49.2236, 54.2147, 28.9863)
Luminance0.5421 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC482 #828CCE
analogous
#CE9E82 #CEC482 #B2CE82
triadic
#CEC482 #82CEC4 #C482CE
tetradic
#CEC482 #82CE9E #828CCE #CE82B2
square
#CEC482 #82CE9E #828CCE #CE82B2
split-complementary
#CEC482 #82B2CE #9E82CE
monochromatic
#998D3C #BDAF56 #CEC482 #DFD9AE #F0EEDA

Accessibility & contrast

On white

1.77
#CEC482 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.84
#CEC482 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC482
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC482#FFFFFF#000000##000000
##CEC4821.001.7711.8411.84
#FFFFFF1.771.0021.0021.00
#00000011.8421.001.001.00
##00000011.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0C07D
Deuteranopia (green-blind)
#D3C485
Tritanopia (blue-blind)
#D9BBB3
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cec482;
/* rgb */ color: rgb(206, 196, 130);
/* oklch */ color: oklch(81.3% 0.086 100.7);
Tailwind
colors: {
  custom: {
    50: '#ded5a7',
    500: '#cec482',
    950: '#000000',
  },
}
SCSS
$custom: #cec482;
$custom-light: #ded5a7;
$custom-dark: #000000;
JSON
{
  "hex": "#cec482",
  "rgb": {
    "r": 206,
    "g": 196,
    "b": 130
  },
  "hsl": {
    "h": 52.105,
    "s": 43.678,
    "l": 65.882
  },
  "oklch": {
    "l": 0.81326,
    "c": 0.0863,
    "h": 100.7
  },
  "luminance": 0.54213
}

Semantic roles & 50–950 ramp

primary
#CEC482
secondary
#555F9F
accent
#41B72F
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CEC482

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

Preview Lab → · Contrast checker → · Palette generator →

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