#CDC281#CDC281

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

Color values

HEX#CDC281
RGBrgb(205, 194, 129)
HSLhsl(51, 43%, 65%)
HSVhsv(51, 37%, 80%)
CMYKcmyk(0%, 5.4%, 37.1%, 19.6%)
CIE-LABlab(77.96, -5.65, 34.11)
CIE-LCHlch(77.96, 34.58, 99.40°)
OKLaboklab(80.81% -0.0145 0.0841)
OKLCHoklch(80.81% 0.085 99.8)
XYZxyz(48.4319, 53.1490, 28.4722)
Luminance0.5315 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC281 #818CCD
analogous
#CD9C81 #CDC281 #B2CD81
triadic
#CDC281 #81CDC2 #C281CD
tetradic
#CDC281 #81CD9C #818CCD #CD81B2
square
#CDC281 #81CD9C #818CCD #CD81B2
split-complementary
#CDC281 #81B2CD #9C81CD
monochromatic
#978A3C #BCAD55 #CDC281 #DED7AD #F0ECD9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDC281#FFFFFF#000000##000000
##CDC2811.001.8111.6311.63
#FFFFFF1.811.0021.0021.00
#00000011.6321.001.001.00
##00000011.6321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdc281;
/* rgb */ color: rgb(205, 194, 129);
/* oklch */ color: oklch(80.8% 0.085 99.8);
Tailwind
colors: {
  custom: {
    50: '#ddd4a6',
    500: '#cdc281',
    950: '#000000',
  },
}
SCSS
$custom: #cdc281;
$custom-light: #ddd4a6;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc281",
  "rgb": {
    "r": 205,
    "g": 194,
    "b": 129
  },
  "hsl": {
    "h": 51.316,
    "s": 43.182,
    "l": 65.49
  },
  "oklch": {
    "l": 0.80807,
    "c": 0.0853,
    "h": 99.8
  },
  "luminance": 0.53148
}

Semantic roles & 50–950 ramp

primary
#CDC281
secondary
#545F9E
accent
#43B62F
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CDC281

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

Preview Lab → · Contrast checker → · Palette generator →

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