#CDB95D#CDB95D

#CDB95D is a light, moderate yellow. Relative luminance 0.485; OKLCH L 78.4% C 0.115 H 97.3°. Best body text is #000000 at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#CDB95D
RGBrgb(205, 185, 93)
HSLhsl(49, 53%, 58%)
HSVhsv(49, 55%, 80%)
CMYKcmyk(0%, 9.8%, 54.6%, 19.6%)
CIE-LABlab(75.12, -4.50, 48.64)
CIE-LCHlch(75.12, 48.85, 95.28°)
OKLaboklab(78.4% -0.0146 0.1142)
OKLCHoklch(78.4% 0.115 97.3)
XYZxyz(44.5032, 48.4692, 17.3651)
Luminance0.4847 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB95D #5D71CD
analogous
#CD815D #CDB95D #A9CD5D
triadic
#CDB95D #5DCDB9 #B95DCD
tetradic
#CDB95D #5DCD81 #5D71CD #CD5DA9
square
#CDB95D #5DCD81 #5D71CD #CD5DA9
split-complementary
#CDB95D #5DA9CD #815DCD
monochromatic
#867629 #B59F38 #CDB95D #DBCD8C #EAE1BB

Accessibility & contrast

On white

1.96
#CDB95D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.69
#CDB95D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB95D
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB95D#FFFFFF#000000##000000
##CDB95D1.001.9610.6910.69
#FFFFFF1.961.0021.0021.00
#00000010.6921.001.001.00
##00000010.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B554
Deuteranopia (green-blind)
#CEBC61
Tritanopia (blue-blind)
#DBADA4
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cdb95d;
/* rgb */ color: rgb(205, 185, 93);
/* oklch */ color: oklch(78.4% 0.115 97.3);
Tailwind
colors: {
  custom: {
    50: '#dfcd8d',
    500: '#cdb95d',
    950: '#000000',
  },
}
SCSS
$custom: #cdb95d;
$custom-light: #dfcd8d;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb95d",
  "rgb": {
    "r": 205,
    "g": 185,
    "b": 93
  },
  "hsl": {
    "h": 49.286,
    "s": 52.83,
    "l": 58.431
  },
  "oklch": {
    "l": 0.784,
    "c": 0.11508,
    "h": 97.3
  },
  "luminance": 0.48467
}

Semantic roles & 50–950 ramp

primary
#CDB95D
secondary
#ADB5D9
accent
#65DC4C
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CDB95D

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

Preview Lab → · Contrast checker → · Palette generator →

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