#CDCB78#CDCB78

#CDCB78 is a very light, moderate yellow. Relative luminance 0.570; OKLCH L 82.5% C 0.105 H 107.3°. Best body text is #000000 at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#CDCB78
RGBrgb(205, 203, 120)
HSLhsl(59, 46%, 64%)
HSVhsv(59, 41%, 80%)
CMYKcmyk(0%, 1%, 41.5%, 19.6%)
CIE-LABlab(80.21, -11.26, 41.56)
CIE-LCHlch(80.21, 43.06, 105.16°)
OKLaboklab(82.54% -0.0313 0.1006)
OKLCHoklch(82.54% 0.105 107.3)
XYZxyz(49.9238, 57.0482, 26.1472)
Luminance0.5705 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCB78 #787ACD
analogous
#CDA078 #CDCB78 #A4CD78
triadic
#CDCB78 #78CDCB #CB78CD
tetradic
#CDCB78 #78CDA0 #787ACD #CD78A4
square
#CDCB78 #78CDA0 #787ACD #CD78A4
split-complementary
#CDCB78 #78A4CD #A078CD
monochromatic
#949237 #BCBA4B #CDCB78 #DEDCA5 #EEEDD1

Accessibility & contrast

On white

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

On black

12.41
#CDCB78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCB78
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCB78#FFFFFF#000000##000000
##CDCB781.001.6912.4112.41
#FFFFFF1.691.0021.0021.00
#00000012.4121.001.001.00
##00000012.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C571
Deuteranopia (green-blind)
#D9C97C
Tritanopia (blue-blind)
#D8C1B7
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cdcb78;
/* rgb */ color: rgb(205, 203, 120);
/* oklch */ color: oklch(82.5% 0.105 107.3);
Tailwind
colors: {
  custom: {
    50: '#dedaa0',
    500: '#cdcb78',
    950: '#000000',
  },
}
SCSS
$custom: #cdcb78;
$custom-light: #dedaa0;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcb78",
  "rgb": {
    "r": 205,
    "g": 203,
    "b": 120
  },
  "hsl": {
    "h": 58.588,
    "s": 45.946,
    "l": 63.725
  },
  "oklch": {
    "l": 0.82543,
    "c": 0.10539,
    "h": 107.3
  },
  "luminance": 0.57047
}

Semantic roles & 50–950 ramp

primary
#CDCB78
secondary
#4F519A
accent
#30B92C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CDCB78

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

Preview Lab → · Contrast checker → · Palette generator →

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