#CDCB74#CDCB74

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

Color values

HEX#CDCB74
RGBrgb(205, 203, 116)
HSLhsl(59, 47%, 63%)
HSVhsv(59, 43%, 80%)
CMYKcmyk(0%, 1%, 43.4%, 19.6%)
CIE-LABlab(80.15, -11.67, 43.48)
CIE-LCHlch(80.15, 45.02, 105.03°)
OKLaboklab(82.48% -0.0329 0.1047)
OKLCHoklch(82.48% 0.11 107.4)
XYZxyz(49.6861, 56.9531, 24.8953)
Luminance0.5695 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCB74 #7476CD
analogous
#CD9F74 #CDCB74 #A2CD74
triadic
#CDCB74 #74CDCB #CB74CD
tetradic
#CDCB74 #74CD9F #7476CD #CD74A2
square
#CDCB74 #74CD9F #7476CD #CD74A2
split-complementary
#CDCB74 #74A2CD #9F74CD
monochromatic
#929035 #BDBA47 #CDCB74 #DDDCA1 #EDEDCE

Accessibility & contrast

On white

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

On black

12.39
#CDCB74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCB74
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCB74#FFFFFF#000000##000000
##CDCB741.001.6912.3912.39
#FFFFFF1.691.0021.0021.00
#00000012.3921.001.001.00
##00000012.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C56D
Deuteranopia (green-blind)
#DAC978
Tritanopia (blue-blind)
#D8C1B6
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cdcb74;
/* rgb */ color: rgb(205, 203, 116);
/* oklch */ color: oklch(82.5% 0.110 107.4);
Tailwind
colors: {
  custom: {
    50: '#deda9d',
    500: '#cdcb74',
    950: '#000000',
  },
}
SCSS
$custom: #cdcb74;
$custom-light: #deda9d;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcb74",
  "rgb": {
    "r": 205,
    "g": 203,
    "b": 116
  },
  "hsl": {
    "h": 58.652,
    "s": 47.09,
    "l": 62.941
  },
  "oklch": {
    "l": 0.82483,
    "c": 0.10974,
    "h": 107.4
  },
  "luminance": 0.56952
}

Semantic roles & 50–950 ramp

primary
#CDCB74
secondary
#4D4F98
accent
#2EBA2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CDCB74

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

Preview Lab → · Contrast checker → · Palette generator →

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