#CDC181#CDC181

#CDC181 is a light, moderate yellow. Relative luminance 0.527; OKLCH L 80.6% C 0.084 H 98.9°. Best body text is #000000 at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#CDC181
RGBrgb(205, 193, 129)
HSLhsl(51, 43%, 65%)
HSVhsv(51, 37%, 80%)
CMYKcmyk(0%, 5.9%, 37.1%, 19.6%)
CIE-LABlab(77.70, -5.13, 33.77)
CIE-LCHlch(77.70, 34.16, 98.64°)
OKLaboklab(80.6% -0.013 0.0833)
OKLCHoklch(80.6% 0.084 98.9)
XYZxyz(48.2100, 52.7054, 28.3982)
Luminance0.5270 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC181 #818DCD
analogous
#CD9B81 #CDC181 #B3CD81
triadic
#CDC181 #81CDC1 #C181CD
tetradic
#CDC181 #81CD9B #818DCD #CD81B3
square
#CDC181 #81CD9B #818DCD #CD81B3
split-complementary
#CDC181 #81B3CD #9B81CD
monochromatic
#97893C #BCAB55 #CDC181 #DED7AD #F0ECD9

Accessibility & contrast

On white

1.82
#CDC181 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.54
#CDC181 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC181
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC181#FFFFFF#000000##000000
##CDC1811.001.8211.5411.54
#FFFFFF1.821.0021.0021.00
#00000011.5421.001.001.00
##00000011.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDBD7C
Deuteranopia (green-blind)
#D0C283
Tritanopia (blue-blind)
#D8B8B1
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cdc181;
/* rgb */ color: rgb(205, 193, 129);
/* oklch */ color: oklch(80.6% 0.084 98.9);
Tailwind
colors: {
  custom: {
    50: '#ddd3a6',
    500: '#cdc181',
    950: '#000000',
  },
}
SCSS
$custom: #cdc181;
$custom-light: #ddd3a6;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc181",
  "rgb": {
    "r": 205,
    "g": 193,
    "b": 129
  },
  "hsl": {
    "h": 50.526,
    "s": 43.182,
    "l": 65.49
  },
  "oklch": {
    "l": 0.80599,
    "c": 0.08428,
    "h": 98.9
  },
  "luminance": 0.52704
}

Semantic roles & 50–950 ramp

primary
#CDC181
secondary
#54609E
accent
#45B62F
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CDC181

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

Preview Lab → · Contrast checker → · Palette generator →

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