#CDCA76#CDCA76

#CDCA76 is a very light, moderate yellow. Relative luminance 0.565; OKLCH L 82.3% C 0.106 H 106.7°. Best body text is #000000 at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#CDCA76
RGBrgb(205, 202, 118)
HSLhsl(58, 47%, 63%)
HSVhsv(58, 42%, 80%)
CMYKcmyk(0%, 1.5%, 42.4%, 19.6%)
CIE-LABlab(79.91, -10.96, 42.19)
CIE-LCHlch(79.91, 43.59, 104.56°)
OKLaboklab(82.3% -0.0306 0.1019)
OKLCHoklch(82.3% 0.106 106.7)
XYZxyz(49.5683, 56.5294, 25.4361)
Luminance0.5653 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCA76 #7679CD
analogous
#CD9E76 #CDCA76 #A4CD76
triadic
#CDCA76 #76CDCA #CA76CD
tetradic
#CDCA76 #76CD9E #7679CD #CD76A4
square
#CDCA76 #76CD9E #7679CD #CD76A4
split-complementary
#CDCA76 #76A4CD #9E76CD
monochromatic
#939036 #BDB949 #CDCA76 #DDDBA3 #EEEDD0

Accessibility & contrast

On white

1.71
#CDCA76 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.31
#CDCA76 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCA76
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCA76#FFFFFF#000000##000000
##CDCA761.001.7112.3112.31
#FFFFFF1.711.0021.0021.00
#00000012.3121.001.001.00
##00000012.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C46F
Deuteranopia (green-blind)
#D9C87A
Tritanopia (blue-blind)
#D8C0B6
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cdca76;
/* rgb */ color: rgb(205, 202, 118);
/* oklch */ color: oklch(82.3% 0.106 106.7);
Tailwind
colors: {
  custom: {
    50: '#deda9f',
    500: '#cdca76',
    950: '#000000',
  },
}
SCSS
$custom: #cdca76;
$custom-light: #deda9f;
$custom-dark: #000000;
JSON
{
  "hex": "#cdca76",
  "rgb": {
    "r": 205,
    "g": 202,
    "b": 118
  },
  "hsl": {
    "h": 57.931,
    "s": 46.524,
    "l": 63.333
  },
  "oklch": {
    "l": 0.82302,
    "c": 0.10644,
    "h": 106.7
  },
  "luminance": 0.56528
}

Semantic roles & 50–950 ramp

primary
#CDCA76
secondary
#4E5199
accent
#31BA2C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CDCA76

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

Preview Lab → · Contrast checker → · Palette generator →

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