#CDCB81#CDCB81

#CDCB81 is a very light, moderate yellow. Relative luminance 0.573; OKLCH L 82.7% C 0.095 H 107.0°. Best body text is #000000 at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#CDCB81
RGBrgb(205, 203, 129)
HSLhsl(58, 43%, 65%)
HSVhsv(58, 37%, 80%)
CMYKcmyk(0%, 1%, 37.1%, 19.6%)
CIE-LABlab(80.34, -10.28, 37.18)
CIE-LCHlch(80.34, 38.57, 105.46°)
OKLaboklab(82.69% -0.0278 0.0911)
OKLCHoklch(82.69% 0.095 107)
XYZxyz(50.4959, 57.2770, 29.1602)
Luminance0.5728 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCB81 #8183CD
analogous
#CDA581 #CDCB81 #A9CD81
triadic
#CDCB81 #81CDCB #CB81CD
tetradic
#CDCB81 #81CDA5 #8183CD #CD81A9
square
#CDCB81 #81CDA5 #8183CD #CD81A9
split-complementary
#CDCB81 #81A9CD #A581CD
monochromatic
#97953C #BCB955 #CDCB81 #DEDDAD #F0EFD9

Accessibility & contrast

On white

1.69
#CDCB81 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.46
#CDCB81 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCB81
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCB81#FFFFFF#000000##000000
##CDCB811.001.6912.4612.46
#FFFFFF1.691.0021.0021.00
#00000012.4621.001.001.00
##00000012.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C57C
Deuteranopia (green-blind)
#D8C984
Tritanopia (blue-blind)
#D7C2B9
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cdcb81;
/* rgb */ color: rgb(205, 203, 129);
/* oklch */ color: oklch(82.7% 0.095 107.0);
Tailwind
colors: {
  custom: {
    50: '#dddaa6',
    500: '#cdcb81',
    950: '#000000',
  },
}
SCSS
$custom: #cdcb81;
$custom-light: #dddaa6;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcb81",
  "rgb": {
    "r": 205,
    "g": 203,
    "b": 129
  },
  "hsl": {
    "h": 58.421,
    "s": 43.182,
    "l": 65.49
  },
  "oklch": {
    "l": 0.82687,
    "c": 0.09528,
    "h": 107
  },
  "luminance": 0.57276
}

Semantic roles & 50–950 ramp

primary
#CDCB81
secondary
#54569E
accent
#33B62F
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CDCB81

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

Preview Lab → · Contrast checker → · Palette generator →

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