#CEC487#CEC487

#CEC487 is a light, moderate yellow. Relative luminance 0.544; OKLCH L 81.4% C 0.080 H 100.0°. Best body text is #000000 at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#CEC487
RGBrgb(206, 196, 135)
HSLhsl(52, 42%, 67%)
HSVhsv(52, 34%, 81%)
CMYKcmyk(0%, 4.9%, 34.5%, 19.2%)
CIE-LABlab(78.67, -5.59, 31.93)
CIE-LCHlch(78.67, 32.42, 99.92°)
OKLaboklab(81.42% -0.014 0.0792)
OKLCHoklch(81.42% 0.08 100)
XYZxyz(49.5673, 54.3522, 30.7969)
Luminance0.5435 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC487 #8791CE
analogous
#CEA187 #CEC487 #B5CE87
triadic
#CEC487 #87CEC4 #C487CE
tetradic
#CEC487 #87CEA1 #8791CE #CE87B5
square
#CEC487 #87CEA1 #8791CE #CE87B5
split-complementary
#CEC487 #87B5CE #A187CE
monochromatic
#9B8E3F #BCAF5C #CEC487 #E0D9B2 #F1EFDE

Accessibility & contrast

On white

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

On black

11.87
#CEC487 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC487
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC487#FFFFFF#000000##000000
##CEC4871.001.7711.8711.87
#FFFFFF1.771.0021.0021.00
#00000011.8721.001.001.00
##00000011.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFC083
Deuteranopia (green-blind)
#D2C589
Tritanopia (blue-blind)
#D8BCB4
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cec487;
/* rgb */ color: rgb(206, 196, 135);
/* oklch */ color: oklch(81.4% 0.080 100.0);
Tailwind
colors: {
  custom: {
    50: '#ded5aa',
    500: '#cec487',
    950: '#000000',
  },
}
SCSS
$custom: #cec487;
$custom-light: #ded5aa;
$custom-dark: #000000;
JSON
{
  "hex": "#cec487",
  "rgb": {
    "r": 206,
    "g": 196,
    "b": 135
  },
  "hsl": {
    "h": 51.549,
    "s": 42.012,
    "l": 66.863
  },
  "oklch": {
    "l": 0.81415,
    "c": 0.08042,
    "h": 100
  },
  "luminance": 0.54351
}

Semantic roles & 50–950 ramp

primary
#CEC487
secondary
#5862A1
accent
#43B530
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CEC487

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

Preview Lab → · Contrast checker → · Palette generator →

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