#CEC185#CEC185

#CEC185 is a light, moderate yellow. Relative luminance 0.530; OKLCH L 80.8% C 0.080 H 97.4°. Best body text is #000000 at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#CEC185
RGBrgb(206, 193, 133)
HSLhsl(49, 43%, 66%)
HSVhsv(49, 35%, 81%)
CMYKcmyk(0%, 6.3%, 35.4%, 19.2%)
CIE-LABlab(77.85, -4.27, 31.90)
CIE-LCHlch(77.85, 32.18, 97.62°)
OKLaboklab(80.76% -0.0103 0.0791)
OKLCHoklch(80.76% 0.08 97.4)
XYZxyz(48.7579, 52.9566, 29.8390)
Luminance0.5295 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC185 #8592CE
analogous
#CE9D85 #CEC185 #B7CE85
triadic
#CEC185 #85CEC1 #C185CE
tetradic
#CEC185 #85CE9D #8592CE #CE85B7
square
#CEC185 #85CE9D #8592CE #CE85B7
split-complementary
#CEC185 #85B7CE #9D85CE
monochromatic
#9B8A3E #BCAB59 #CEC185 #E0D7B1 #F1EDDC

Accessibility & contrast

On white

1.81
#CEC185 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.59
#CEC185 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC185
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC185#FFFFFF#000000##000000
##CEC1851.001.8111.5911.59
#FFFFFF1.811.0021.0021.00
#00000011.5921.001.001.00
##00000011.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDBE81
Deuteranopia (green-blind)
#D0C387
Tritanopia (blue-blind)
#D9B9B2
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cec185;
/* rgb */ color: rgb(206, 193, 133);
/* oklch */ color: oklch(80.8% 0.080 97.4);
Tailwind
colors: {
  custom: {
    50: '#ded3a9',
    500: '#cec185',
    950: '#000000',
  },
}
SCSS
$custom: #cec185;
$custom-light: #ded3a9;
$custom-dark: #000000;
JSON
{
  "hex": "#cec185",
  "rgb": {
    "r": 206,
    "g": 193,
    "b": 133
  },
  "hsl": {
    "h": 49.315,
    "s": 42.69,
    "l": 66.471
  },
  "oklch": {
    "l": 0.80758,
    "c": 0.07973,
    "h": 97.4
  },
  "luminance": 0.52955
}

Semantic roles & 50–950 ramp

primary
#CEC185
secondary
#5764A1
accent
#48B630
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#151410
muted
#848380

Preview Lab

Preview with #CEC185

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

Preview Lab → · Contrast checker → · Palette generator →

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