#CDC286#CDC286

#CDC286 is a light, moderate yellow. Relative luminance 0.533; OKLCH L 80.9% C 0.079 H 99.0°. Best body text is #000000 at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#CDC286
RGBrgb(205, 194, 134)
HSLhsl(51, 42%, 66%)
HSVhsv(51, 35%, 80%)
CMYKcmyk(0%, 5.4%, 34.6%, 19.6%)
CIE-LABlab(78.04, -5.06, 31.62)
CIE-LCHlch(78.04, 32.02, 99.09°)
OKLaboklab(80.9% -0.0125 0.0784)
OKLCHoklch(80.9% 0.079 99)
XYZxyz(48.7724, 53.2852, 30.2655)
Luminance0.5328 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC286 #8691CD
analogous
#CD9F86 #CDC286 #B5CD86
triadic
#CDC286 #86CDC2 #C286CD
tetradic
#CDC286 #86CD9F #8691CD #CD86B5
square
#CDC286 #86CD9F #8691CD #CD86B5
split-complementary
#CDC286 #86B5CD #9F86CD
monochromatic
#998B3F #BBAC5B #CDC286 #DFD8B1 #F1EEDD

Accessibility & contrast

On white

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

On black

11.66
#CDC286 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC286
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC286#FFFFFF#000000##000000
##CDC2861.001.8011.6611.66
#FFFFFF1.801.0021.0021.00
#00000011.6621.001.001.00
##00000011.6621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdc286;
/* rgb */ color: rgb(205, 194, 134);
/* oklch */ color: oklch(80.9% 0.079 99.0);
Tailwind
colors: {
  custom: {
    50: '#ddd4aa',
    500: '#cdc286',
    950: '#000000',
  },
}
SCSS
$custom: #cdc286;
$custom-light: #ddd4aa;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc286",
  "rgb": {
    "r": 205,
    "g": 194,
    "b": 134
  },
  "hsl": {
    "h": 50.704,
    "s": 41.52,
    "l": 66.471
  },
  "oklch": {
    "l": 0.80896,
    "c": 0.07942,
    "h": 99
  },
  "luminance": 0.53284
}

Semantic roles & 50–950 ramp

primary
#CDC286
secondary
#5863A0
accent
#45B531
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CDC286

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

Preview Lab → · Contrast checker → · Palette generator →

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