#CDBA74#CDBA74

#CDBA74 is a light, moderate yellow. Relative luminance 0.494; OKLCH L 78.9% C 0.092 H 94.7°. Best body text is #000000 at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#CDBA74
RGBrgb(205, 186, 116)
HSLhsl(47, 47%, 63%)
HSVhsv(47, 43%, 80%)
CMYKcmyk(0%, 9.3%, 43.4%, 19.6%)
CIE-LABlab(75.67, -2.90, 37.87)
CIE-LCHlch(75.67, 37.98, 94.38°)
OKLaboklab(78.93% -0.0076 0.0921)
OKLCHoklch(78.93% 0.092 94.7)
XYZxyz(45.8893, 49.3596, 23.6297)
Luminance0.4936 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDBA74 #7487CD
analogous
#CD8D74 #CDBA74 #B3CD74
triadic
#CDBA74 #74CDBA #BA74CD
tetradic
#CDBA74 #74CD8D #7487CD #CD74B3
square
#CDBA74 #74CD8D #7487CD #CD74B3
split-complementary
#CDBA74 #74B3CD #8D74CD
monochromatic
#927E35 #BDA447 #CDBA74 #DDD0A1 #EDE7CE

Accessibility & contrast

On white

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

On black

10.87
#CDBA74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDBA74
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDBA74#FFFFFF#000000##000000
##CDBA741.001.9310.8710.87
#FFFFFF1.931.0021.0021.00
#00000010.8721.001.001.00
##00000010.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B76F
Deuteranopia (green-blind)
#CCBD77
Tritanopia (blue-blind)
#DAB0A9
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cdba74;
/* rgb */ color: rgb(205, 186, 116);
/* oklch */ color: oklch(78.9% 0.092 94.7);
Tailwind
colors: {
  custom: {
    50: '#dece9d',
    500: '#cdba74',
    950: '#000000',
  },
}
SCSS
$custom: #cdba74;
$custom-light: #dece9d;
$custom-dark: #000000;
JSON
{
  "hex": "#cdba74",
  "rgb": {
    "r": 205,
    "g": 186,
    "b": 116
  },
  "hsl": {
    "h": 47.191,
    "s": 47.09,
    "l": 62.941
  },
  "oklch": {
    "l": 0.78933,
    "c": 0.09237,
    "h": 94.7
  },
  "luminance": 0.49358
}

Semantic roles & 50–950 ramp

primary
#CDBA74
secondary
#BEC5DE
accent
#4ABA2B
background
#FDFCF9
surface
#FBF9F2
border
#D4D2CC
text
#15130E
muted
#83827E

Preview Lab

Preview with #CDBA74

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

Preview Lab → · Contrast checker → · Palette generator →

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