#CDB95E#CDB95E

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

Color values

HEX#CDB95E
RGBrgb(205, 185, 94)
HSLhsl(49, 53%, 59%)
HSVhsv(49, 54%, 80%)
CMYKcmyk(0%, 9.8%, 54.1%, 19.6%)
CIE-LABlab(75.13, -4.42, 48.18)
CIE-LCHlch(75.13, 48.38, 95.24°)
OKLaboklab(78.41% -0.0142 0.1132)
OKLCHoklch(78.41% 0.114 97.2)
XYZxyz(44.5478, 48.4871, 17.5999)
Luminance0.4849 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB95E #5E72CD
analogous
#CD815E #CDB95E #A9CD5E
triadic
#CDB95E #5ECDB9 #B95ECD
tetradic
#CDB95E #5ECD81 #5E72CD #CD5EA9
square
#CDB95E #5ECD81 #5E72CD #CD5EA9
split-complementary
#CDB95E #5EA9CD #815ECD
monochromatic
#87762A #B59F38 #CDB95E #DCCD8D #EAE2BB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDB95E#FFFFFF#000000##000000
##CDB95E1.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)
#C8B556
Deuteranopia (green-blind)
#CEBC62
Tritanopia (blue-blind)
#DBADA4
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cdb95e;
/* rgb */ color: rgb(205, 185, 94);
/* oklch */ color: oklch(78.4% 0.114 97.2);
Tailwind
colors: {
  custom: {
    50: '#dfcd8e',
    500: '#cdb95e',
    950: '#000000',
  },
}
SCSS
$custom: #cdb95e;
$custom-light: #dfcd8e;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb95e",
  "rgb": {
    "r": 205,
    "g": 185,
    "b": 94
  },
  "hsl": {
    "h": 49.189,
    "s": 52.607,
    "l": 58.627
  },
  "oklch": {
    "l": 0.78412,
    "c": 0.11413,
    "h": 97.2
  },
  "luminance": 0.48485
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CDB95E

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

Preview Lab → · Contrast checker → · Palette generator →

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