#CDBA7C#CDBA7C

#CDBA7C is a light, moderate yellow. Relative luminance 0.496; OKLCH L 79.1% C 0.083 H 93.0°. Best body text is #000000 at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#CDBA7C
RGBrgb(205, 186, 124)
HSLhsl(46, 45%, 65%)
HSVhsv(46, 40%, 80%)
CMYKcmyk(0%, 9.3%, 39.5%, 19.6%)
CIE-LABlab(75.79, -2.04, 33.89)
CIE-LCHlch(75.79, 33.95, 93.44°)
OKLaboklab(79.07% -0.0044 0.0833)
OKLCHoklch(79.07% 0.083 93)
XYZxyz(46.3748, 49.5538, 26.1869)
Luminance0.4955 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDBA7C #7C8FCD
analogous
#CD927C #CDBA7C #B8CD7C
triadic
#CDBA7C #7CCDBA #BA7CCD
tetradic
#CDBA7C #7CCD92 #7C8FCD #CD7CB8
square
#CDBA7C #7CCD92 #7C8FCD #CD7CB8
split-complementary
#CDBA7C #7CB8CD #927CCD
monochromatic
#968039 #BCA350 #CDBA7C #DED1A8 #EFE9D5

Accessibility & contrast

On white

1.92
#CDBA7C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.91
#CDBA7C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDBA7C
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDBA7C#FFFFFF#000000##000000
##CDBA7C1.001.9210.9110.91
#FFFFFF1.921.0021.0021.00
#00000010.9121.001.001.00
##00000010.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B777
Deuteranopia (green-blind)
#CCBD7E
Tritanopia (blue-blind)
#D9B1AA
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #cdba7c;
/* rgb */ color: rgb(205, 186, 124);
/* oklch */ color: oklch(79.1% 0.083 93.0);
Tailwind
colors: {
  custom: {
    50: '#ddcea2',
    500: '#cdba7c',
    950: '#000000',
  },
}
SCSS
$custom: #cdba7c;
$custom-light: #ddcea2;
$custom-dark: #000000;
JSON
{
  "hex": "#cdba7c",
  "rgb": {
    "r": 205,
    "g": 186,
    "b": 124
  },
  "hsl": {
    "h": 45.926,
    "s": 44.751,
    "l": 64.51
  },
  "oklch": {
    "l": 0.79067,
    "c": 0.08346,
    "h": 93
  },
  "luminance": 0.49552
}

Semantic roles & 50–950 ramp

primary
#CDBA7C
secondary
#C4CBE0
accent
#4EB82E
background
#FDFCFA
surface
#FBF9F3
border
#D4D2CD
text
#15130F
muted
#83827F

Preview Lab

Preview with #CDBA7C

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

Preview Lab → · Contrast checker → · Palette generator →

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