#CEC286#CEC286

#CEC286 is a light, moderate yellow. Relative luminance 0.534; OKLCH L 81.0% C 0.080 H 98.2°. Best body text is #000000 at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#CEC286
RGBrgb(206, 194, 134)
HSLhsl(50, 42%, 67%)
HSVhsv(50, 35%, 81%)
CMYKcmyk(0%, 5.8%, 35%, 19.2%)
CIE-LABlab(78.13, -4.67, 31.74)
CIE-LCHlch(78.13, 32.09, 98.36°)
OKLaboklab(80.98% -0.0114 0.0787)
OKLCHoklch(80.98% 0.08 98.2)
XYZxyz(49.0492, 53.4279, 30.2785)
Luminance0.5343 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC286 #8692CE
analogous
#CE9E86 #CEC286 #B6CE86
triadic
#CEC286 #86CEC2 #C286CE
tetradic
#CEC286 #86CE9E #8692CE #CE86B6
square
#CEC286 #86CE9E #8692CE #CE86B6
split-complementary
#CEC286 #86B6CE #9E86CE
monochromatic
#9B8C3F #BCAC5A #CEC286 #E0D8B2 #F1EEDD

Accessibility & contrast

On white

1.80
#CEC286 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.69
#CEC286 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC286
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC286#FFFFFF#000000##000000
##CEC2861.001.8011.6911.69
#FFFFFF1.801.0021.0021.00
#00000011.6921.001.001.00
##00000011.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDBF82
Deuteranopia (green-blind)
#D1C388
Tritanopia (blue-blind)
#D9BAB3
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cec286;
/* rgb */ color: rgb(206, 194, 134);
/* oklch */ color: oklch(81.0% 0.080 98.2);
Tailwind
colors: {
  custom: {
    50: '#ded4aa',
    500: '#cec286',
    950: '#000000',
  },
}
SCSS
$custom: #cec286;
$custom-light: #ded4aa;
$custom-dark: #000000;
JSON
{
  "hex": "#cec286",
  "rgb": {
    "r": 206,
    "g": 194,
    "b": 134
  },
  "hsl": {
    "h": 50,
    "s": 42.353,
    "l": 66.667
  },
  "oklch": {
    "l": 0.80983,
    "c": 0.07954,
    "h": 98.2
  },
  "luminance": 0.53427
}

Semantic roles & 50–950 ramp

primary
#CEC286
secondary
#5764A1
accent
#46B530
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CEC286

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

Preview Lab → · Contrast checker → · Palette generator →

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