#CDB97A#CDB97A

#CDB97A is a light, moderate yellow. Relative luminance 0.491; OKLCH L 78.8% C 0.085 H 92.5°. Best body text is #000000 at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#CDB97A
RGBrgb(205, 185, 122)
HSLhsl(46, 45%, 64%)
HSVhsv(46, 40%, 80%)
CMYKcmyk(0%, 9.8%, 40.5%, 19.6%)
CIE-LABlab(75.50, -1.74, 34.55)
CIE-LCHlch(75.50, 34.60, 92.87°)
OKLaboklab(78.83% -0.0037 0.0848)
OKLCHoklch(78.83% 0.085 92.5)
XYZxyz(46.0397, 49.0838, 25.4575)
Luminance0.4908 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB97A #7A8ECD
analogous
#CD907A #CDB97A #B8CD7A
triadic
#CDB97A #7ACDB9 #B97ACD
tetradic
#CDB97A #7ACD90 #7A8ECD #CD7AB8
square
#CDB97A #7ACD90 #7A8ECD #CD7AB8
split-complementary
#CDB97A #7AB8CD #907ACD
monochromatic
#957E38 #BCA24E #CDB97A #DED0A6 #EEE8D3

Accessibility & contrast

On white

1.94
#CDB97A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.82
#CDB97A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB97A
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB97A#FFFFFF#000000##000000
##CDB97A1.001.9410.8210.82
#FFFFFF1.941.0021.0021.00
#00000010.8221.001.001.00
##00000010.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B775
Deuteranopia (green-blind)
#CBBD7C
Tritanopia (blue-blind)
#D9B0A9
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cdb97a;
/* rgb */ color: rgb(205, 185, 122);
/* oklch */ color: oklch(78.8% 0.085 92.5);
Tailwind
colors: {
  custom: {
    50: '#ddcda1',
    500: '#cdb97a',
    950: '#000000',
  },
}
SCSS
$custom: #cdb97a;
$custom-light: #ddcda1;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb97a",
  "rgb": {
    "r": 205,
    "g": 185,
    "b": 122
  },
  "hsl": {
    "h": 45.542,
    "s": 45.355,
    "l": 64.118
  },
  "oklch": {
    "l": 0.78827,
    "c": 0.08487,
    "h": 92.5
  },
  "luminance": 0.49082
}

Semantic roles & 50–950 ramp

primary
#CDB97A
secondary
#C3CAE0
accent
#4FB92D
background
#FDFCF9
surface
#FBF9F2
border
#D4D2CC
text
#15130F
muted
#83827E

Preview Lab

Preview with #CDB97A

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

Preview Lab → · Contrast checker → · Palette generator →

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