#CDBA70#CDBA70

#CDBA70 is a light, moderate yellow. Relative luminance 0.493; OKLCH L 78.9% C 0.097 H 95.4°. Best body text is #000000 at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#CDBA70
RGBrgb(205, 186, 112)
HSLhsl(48, 48%, 62%)
HSVhsv(48, 45%, 80%)
CMYKcmyk(0%, 9.3%, 45.4%, 19.6%)
CIE-LABlab(75.62, -3.31, 39.84)
CIE-LCHlch(75.62, 39.98, 94.74°)
OKLaboklab(78.87% -0.0091 0.0963)
OKLCHoklch(78.87% 0.097 95.4)
XYZxyz(45.6616, 49.2685, 22.4306)
Luminance0.4927 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDBA70 #7083CD
analogous
#CD8C70 #CDBA70 #B2CD70
triadic
#CDBA70 #70CDBA #BA70CD
tetradic
#CDBA70 #70CD8C #7083CD #CD70B2
square
#CDBA70 #70CD8C #7083CD #CD70B2
split-complementary
#CDBA70 #70B2CD #8C70CD
monochromatic
#907D32 #BDA443 #CDBA70 #DDD09D #EDE6CB

Accessibility & contrast

On white

1.93
#CDBA70 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.85
#CDBA70 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDBA70
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDBA70#FFFFFF#000000##000000
##CDBA701.001.9310.8510.85
#FFFFFF1.931.0021.0021.00
#00000010.8521.001.001.00
##00000010.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B76A
Deuteranopia (green-blind)
#CDBD73
Tritanopia (blue-blind)
#DAB0A8
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cdba70;
/* rgb */ color: rgb(205, 186, 112);
/* oklch */ color: oklch(78.9% 0.097 95.4);
Tailwind
colors: {
  custom: {
    50: '#dece9a',
    500: '#cdba70',
    950: '#000000',
  },
}
SCSS
$custom: #cdba70;
$custom-light: #dece9a;
$custom-dark: #000000;
JSON
{
  "hex": "#cdba70",
  "rgb": {
    "r": 205,
    "g": 186,
    "b": 112
  },
  "hsl": {
    "h": 47.742,
    "s": 48.187,
    "l": 62.157
  },
  "oklch": {
    "l": 0.7887,
    "c": 0.09671,
    "h": 95.4
  },
  "luminance": 0.49267
}

Semantic roles & 50–950 ramp

primary
#CDBA70
secondary
#BBC2DD
accent
#48BB2A
background
#FDFCF9
surface
#FBF9F2
border
#D4D2CC
text
#15130E
muted
#83827E

Preview Lab

Preview with #CDBA70

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

Preview Lab → · Contrast checker → · Palette generator →

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