#CDBA48#CDBA48

#CDBA48 is a light, vivid yellow. Relative luminance 0.486; OKLCH L 78.4% C 0.134 H 99.8°. Best body text is #000000 at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#CDBA48
RGBrgb(205, 186, 72)
HSLhsl(51, 57%, 54%)
HSVhsv(51, 65%, 80%)
CMYKcmyk(0%, 9.3%, 64.9%, 19.6%)
CIE-LABlab(75.18, -6.50, 58.25)
CIE-LCHlch(75.18, 58.61, 96.37°)
OKLaboklab(78.38% -0.0228 0.132)
OKLCHoklch(78.38% 0.134 99.8)
XYZxyz(43.9073, 48.5668, 13.1912)
Luminance0.4857 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDBA48 #485BCD
analogous
#CD7848 #CDBA48 #9DCD48
triadic
#CDBA48 #48CDBA #BA48CD
tetradic
#CDBA48 #48CD78 #485BCD #CD489D
square
#CDBA48 #48CD78 #485BCD #CD489D
split-complementary
#CDBA48 #489DCD #7848CD
monochromatic
#796D21 #A9982E #CDBA48 #DACC78 #E7DEA8

Accessibility & contrast

On white

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

On black

10.71
#CDBA48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDBA48
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDBA48#FFFFFF#000000##000000
##CDBA481.001.9610.7110.71
#FFFFFF1.961.0021.0021.00
#00000010.7121.001.001.00
##00000010.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB53A
Deuteranopia (green-blind)
#D0BC4E
Tritanopia (blue-blind)
#DCADA2
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cdba48;
/* rgb */ color: rgb(205, 186, 72);
/* oklch */ color: oklch(78.4% 0.134 99.8);
Tailwind
colors: {
  custom: {
    50: '#dfce80',
    500: '#cdba48',
    950: '#000000',
  },
}
SCSS
$custom: #cdba48;
$custom-light: #dfce80;
$custom-dark: #000000;
JSON
{
  "hex": "#cdba48",
  "rgb": {
    "r": 205,
    "g": 186,
    "b": 72
  },
  "hsl": {
    "h": 51.429,
    "s": 57.082,
    "l": 54.314
  },
  "oklch": {
    "l": 0.78383,
    "c": 0.13395,
    "h": 99.8
  },
  "luminance": 0.48565
}

Semantic roles & 50–950 ramp

primary
#CDBA48
secondary
#9CA4D5
accent
#5DE047
background
#FEFCF8
surface
#FCF9EF
border
#D5D2CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CDBA48

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

Preview Lab → · Contrast checker → · Palette generator →

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