#CDBD48#CDBD48

#CDBD48 is a light, vivid yellow. Relative luminance 0.498; OKLCH L 79.0% C 0.137 H 101.5°. Best body text is #000000 at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#CDBD48
RGBrgb(205, 189, 72)
HSLhsl(53, 57%, 54%)
HSVhsv(53, 65%, 80%)
CMYKcmyk(0%, 7.8%, 64.9%, 19.6%)
CIE-LABlab(75.97, -8.05, 59.08)
CIE-LCHlch(75.97, 59.63, 97.76°)
OKLaboklab(79.01% -0.0272 0.1338)
OKLCHoklch(79.01% 0.137 101.5)
XYZxyz(44.5460, 49.8441, 13.4041)
Luminance0.4984 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDBD48 #4858CD
analogous
#CD7B48 #CDBD48 #9BCD48
triadic
#CDBD48 #48CDBD #BD48CD
tetradic
#CDBD48 #48CD7B #4858CD #CD489B
square
#CDBD48 #48CD7B #4858CD #CD489B
split-complementary
#CDBD48 #489BCD #7B48CD
monochromatic
#796F21 #A99B2E #CDBD48 #DACE78 #E7E0A8

Accessibility & contrast

On white

1.91
#CDBD48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.97
#CDBD48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDBD48
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDBD48#FFFFFF#000000##000000
##CDBD481.001.9110.9710.97
#FFFFFF1.911.0021.0021.00
#00000010.9721.001.001.00
##00000010.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB839
Deuteranopia (green-blind)
#D2BE4F
Tritanopia (blue-blind)
#DCB0A5
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #cdbd48;
/* rgb */ color: rgb(205, 189, 72);
/* oklch */ color: oklch(79.0% 0.137 101.5);
Tailwind
colors: {
  custom: {
    50: '#dfd081',
    500: '#cdbd48',
    950: '#000000',
  },
}
SCSS
$custom: #cdbd48;
$custom-light: #dfd081;
$custom-dark: #000000;
JSON
{
  "hex": "#cdbd48",
  "rgb": {
    "r": 205,
    "g": 189,
    "b": 72
  },
  "hsl": {
    "h": 52.782,
    "s": 57.082,
    "l": 54.314
  },
  "oklch": {
    "l": 0.79012,
    "c": 0.13651,
    "h": 101.5
  },
  "luminance": 0.49842
}

Semantic roles & 50–950 ramp

primary
#CDBD48
secondary
#9CA3D5
accent
#5AE047
background
#FEFCF8
surface
#FCF9EF
border
#D5D2CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CDBD48

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

Preview Lab → · Contrast checker → · Palette generator →

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