#CDB752#CDB752

#CDB752 is a light, vivid yellow. Relative luminance 0.475; OKLCH L 77.9% C 0.123 H 97.1°. Best body text is #000000 at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#CDB752
RGBrgb(205, 183, 82)
HSLhsl(49, 55%, 56%)
HSVhsv(49, 60%, 80%)
CMYKcmyk(0%, 10.7%, 60%, 19.6%)
CIE-LABlab(74.48, -4.29, 53.07)
CIE-LCHlch(74.48, 53.24, 94.62°)
OKLaboklab(77.86% -0.0153 0.1224)
OKLCHoklch(77.86% 0.123 97.1)
XYZxyz(43.6351, 47.4573, 14.8427)
Luminance0.4746 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB752 #5268CD
analogous
#CD7A52 #CDB752 #A6CD52
triadic
#CDB752 #52CDB7 #B752CD
tetradic
#CDB752 #52CD7A #5268CD #CD52A6
square
#CDB752 #52CD7A #5268CD #CD52A6
split-complementary
#CDB752 #52A6CD #7A52CD
monochromatic
#806F25 #AF9933 #CDB752 #DBCB81 #E8DFB1

Accessibility & contrast

On white

2.00
#CDB752 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.49
#CDB752 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB752
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB752#FFFFFF#000000##000000
##CDB7521.002.0010.4910.49
#FFFFFF2.001.0021.0021.00
#00000010.4921.001.001.00
##00000010.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B347
Deuteranopia (green-blind)
#CDBA57
Tritanopia (blue-blind)
#DCABA1
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #cdb752;
/* rgb */ color: rgb(205, 183, 82);
/* oklch */ color: oklch(77.9% 0.123 97.1);
Tailwind
colors: {
  custom: {
    50: '#dfcc86',
    500: '#cdb752',
    950: '#000000',
  },
}
SCSS
$custom: #cdb752;
$custom-light: #dfcc86;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb752",
  "rgb": {
    "r": 205,
    "g": 183,
    "b": 82
  },
  "hsl": {
    "h": 49.268,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.77857,
    "c": 0.12336,
    "h": 97.1
  },
  "luminance": 0.47455
}

Semantic roles & 50–950 ramp

primary
#CDB752
secondary
#A4ADD7
accent
#64DE49
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130B
muted
#84827C

Preview Lab

Preview with #CDB752

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

Preview Lab → · Contrast checker → · Palette generator →

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