#CDB95F#CDB95F

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

Color values

HEX#CDB95F
RGBrgb(205, 185, 95)
HSLhsl(49, 52%, 59%)
HSVhsv(49, 54%, 80%)
CMYKcmyk(0%, 9.8%, 53.7%, 19.6%)
CIE-LABlab(75.14, -4.34, 47.71)
CIE-LCHlch(75.14, 47.90, 95.19°)
OKLaboklab(78.43% -0.0139 0.1123)
OKLCHoklch(78.43% 0.113 97)
XYZxyz(44.5929, 48.5051, 17.8378)
Luminance0.4850 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB95F #5F73CD
analogous
#CD825F #CDB95F #AACD5F
triadic
#CDB95F #5FCDB9 #B95FCD
tetradic
#CDB95F #5FCD82 #5F73CD #CD5FAA
square
#CDB95F #5FCD82 #5F73CD #CD5FAA
split-complementary
#CDB95F #5FAACD #825FCD
monochromatic
#87762A #B69F39 #CDB95F #DCCD8E #EAE2BC

Accessibility & contrast

On white

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

On black

10.70
#CDB95F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB95F
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB95F#FFFFFF#000000##000000
##CDB95F1.001.9610.7010.70
#FFFFFF1.961.0021.0021.00
#00000010.7021.001.001.00
##00000010.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B557
Deuteranopia (green-blind)
#CEBC63
Tritanopia (blue-blind)
#DBAEA4
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cdb95f;
/* rgb */ color: rgb(205, 185, 95);
/* oklch */ color: oklch(78.4% 0.113 97.0);
Tailwind
colors: {
  custom: {
    50: '#dfcd8f',
    500: '#cdb95f',
    950: '#000000',
  },
}
SCSS
$custom: #cdb95f;
$custom-light: #dfcd8f;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb95f",
  "rgb": {
    "r": 205,
    "g": 185,
    "b": 95
  },
  "hsl": {
    "h": 49.091,
    "s": 52.381,
    "l": 58.824
  },
  "oklch": {
    "l": 0.78425,
    "c": 0.11318,
    "h": 97
  },
  "luminance": 0.48503
}

Semantic roles & 50–950 ramp

primary
#CDB95F
secondary
#AEB6DA
accent
#66DC4C
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CDB95F

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

Preview Lab → · Contrast checker → · Palette generator →

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