#CDC681#CDC681

#CDC681 is a light, moderate yellow. Relative luminance 0.550; OKLCH L 81.6% C 0.090 H 103.2°. Best body text is #000000 at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#CDC681
RGBrgb(205, 198, 129)
HSLhsl(54, 43%, 65%)
HSVhsv(54, 37%, 80%)
CMYKcmyk(0%, 3.4%, 37.1%, 19.6%)
CIE-LABlab(79.01, -7.72, 35.48)
CIE-LCHlch(79.01, 36.31, 102.27°)
OKLaboklab(81.64% -0.0205 0.0872)
OKLCHoklch(81.64% 0.09 103.2)
XYZxyz(49.3341, 54.9535, 28.7729)
Luminance0.5495 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC681 #8188CD
analogous
#CDA081 #CDC681 #AECD81
triadic
#CDC681 #81CDC6 #C681CD
tetradic
#CDC681 #81CDA0 #8188CD #CD81AE
square
#CDC681 #81CDA0 #8188CD #CD81AE
split-complementary
#CDC681 #81AECD #A081CD
monochromatic
#978F3C #BCB255 #CDC681 #DEDAAD #F0EED9

Accessibility & contrast

On white

1.75
#CDC681 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.99
#CDC681 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC681
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC681#FFFFFF#000000##000000
##CDC6811.001.7511.9911.99
#FFFFFF1.751.0021.0021.00
#00000011.9921.001.001.00
##00000011.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2C17C
Deuteranopia (green-blind)
#D4C584
Tritanopia (blue-blind)
#D8BDB5
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cdc681;
/* rgb */ color: rgb(205, 198, 129);
/* oklch */ color: oklch(81.6% 0.090 103.2);
Tailwind
colors: {
  custom: {
    50: '#ddd7a6',
    500: '#cdc681',
    950: '#000000',
  },
}
SCSS
$custom: #cdc681;
$custom-light: #ddd7a6;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc681",
  "rgb": {
    "r": 205,
    "g": 198,
    "b": 129
  },
  "hsl": {
    "h": 54.474,
    "s": 43.182,
    "l": 65.49
  },
  "oklch": {
    "l": 0.8164,
    "c": 0.08958,
    "h": 103.2
  },
  "luminance": 0.54952
}

Semantic roles & 50–950 ramp

primary
#CDC681
secondary
#545B9E
accent
#3CB62F
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CDC681

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

Preview Lab → · Contrast checker → · Palette generator →

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