#CDC481#CDC481

#CDC481 is a light, moderate yellow. Relative luminance 0.540; OKLCH L 81.2% C 0.087 H 101.5°. Best body text is #000000 at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#CDC481
RGBrgb(205, 196, 129)
HSLhsl(53, 43%, 65%)
HSVhsv(53, 37%, 80%)
CMYKcmyk(0%, 4.4%, 37.1%, 19.6%)
CIE-LABlab(78.49, -6.69, 34.79)
CIE-LCHlch(78.49, 35.43, 100.88°)
OKLaboklab(81.22% -0.0175 0.0856)
OKLCHoklch(81.22% 0.087 101.5)
XYZxyz(48.8800, 54.0452, 28.6215)
Luminance0.5404 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC481 #818ACD
analogous
#CD9E81 #CDC481 #B0CD81
triadic
#CDC481 #81CDC4 #C481CD
tetradic
#CDC481 #81CD9E #818ACD #CD81B0
square
#CDC481 #81CD9E #818ACD #CD81B0
split-complementary
#CDC481 #81B0CD #9E81CD
monochromatic
#978D3C #BCAF55 #CDC481 #DED9AD #F0EDD9

Accessibility & contrast

On white

1.78
#CDC481 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.81
#CDC481 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC481
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC481#FFFFFF#000000##000000
##CDC4811.001.7811.8111.81
#FFFFFF1.781.0021.0021.00
#00000011.8121.001.001.00
##00000011.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0C07C
Deuteranopia (green-blind)
#D3C484
Tritanopia (blue-blind)
#D8BBB3
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cdc481;
/* rgb */ color: rgb(205, 196, 129);
/* oklch */ color: oklch(81.2% 0.087 101.5);
Tailwind
colors: {
  custom: {
    50: '#ddd5a6',
    500: '#cdc481',
    950: '#000000',
  },
}
SCSS
$custom: #cdc481;
$custom-light: #ddd5a6;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc481",
  "rgb": {
    "r": 205,
    "g": 196,
    "b": 129
  },
  "hsl": {
    "h": 52.895,
    "s": 43.182,
    "l": 65.49
  },
  "oklch": {
    "l": 0.81223,
    "c": 0.0874,
    "h": 101.5
  },
  "luminance": 0.54044
}

Semantic roles & 50–950 ramp

primary
#CDC481
secondary
#545D9E
accent
#3FB62F
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CDC481

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

Preview Lab → · Contrast checker → · Palette generator →

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