#CDC282#CDC282

#CDC282 is a light, moderate yellow. Relative luminance 0.532; OKLCH L 80.8% C 0.084 H 99.6°. Best body text is #000000 at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#CDC282
RGBrgb(205, 194, 130)
HSLhsl(51, 43%, 66%)
HSVhsv(51, 37%, 80%)
CMYKcmyk(0%, 5.4%, 36.6%, 19.6%)
CIE-LABlab(77.98, -5.53, 33.61)
CIE-LCHlch(77.98, 34.07, 99.35°)
OKLaboklab(80.82% -0.0141 0.0829)
OKLCHoklch(80.82% 0.084 99.6)
XYZxyz(48.4986, 53.1757, 28.8239)
Luminance0.5317 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC282 #828DCD
analogous
#CD9C82 #CDC282 #B2CD82
triadic
#CDC282 #82CDC2 #C282CD
tetradic
#CDC282 #82CD9C #828DCD #CD82B2
square
#CDC282 #82CD9C #828DCD #CD82B2
split-complementary
#CDC282 #82B2CD #9C82CD
monochromatic
#988A3D #BCAD56 #CDC282 #DED7AE #F0EDD9

Accessibility & contrast

On white

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

On black

11.63
#CDC282 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC282
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC282#FFFFFF#000000##000000
##CDC2821.001.8011.6311.63
#FFFFFF1.801.0021.0021.00
#00000011.6321.001.001.00
##00000011.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEBE7D
Deuteranopia (green-blind)
#D1C384
Tritanopia (blue-blind)
#D8B9B2
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cdc282;
/* rgb */ color: rgb(205, 194, 130);
/* oklch */ color: oklch(80.8% 0.084 99.6);
Tailwind
colors: {
  custom: {
    50: '#ddd4a7',
    500: '#cdc282',
    950: '#000000',
  },
}
SCSS
$custom: #cdc282;
$custom-light: #ddd4a7;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc282",
  "rgb": {
    "r": 205,
    "g": 194,
    "b": 130
  },
  "hsl": {
    "h": 51.2,
    "s": 42.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.80824,
    "c": 0.08413,
    "h": 99.6
  },
  "luminance": 0.53174
}

Semantic roles & 50–950 ramp

primary
#CDC282
secondary
#55609E
accent
#43B630
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CDC282

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

Preview Lab → · Contrast checker → · Palette generator →

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