#CDB552#CDB552

#CDB552 is a light, vivid yellow. Relative luminance 0.466; OKLCH L 77.4% C 0.122 H 95.8°. Best body text is #000000 at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#CDB552
RGBrgb(205, 181, 82)
HSLhsl(48, 55%, 56%)
HSVhsv(48, 60%, 80%)
CMYKcmyk(0%, 11.7%, 60%, 19.6%)
CIE-LABlab(73.96, -3.24, 52.48)
CIE-LCHlch(73.96, 52.58, 93.53°)
OKLaboklab(77.44% -0.0122 0.1212)
OKLCHoklch(77.44% 0.122 95.8)
XYZxyz(43.2255, 46.6381, 14.7062)
Luminance0.4664 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB552 #526ACD
analogous
#CD7852 #CDB552 #A8CD52
triadic
#CDB552 #52CDB5 #B552CD
tetradic
#CDB552 #52CD78 #526ACD #CD52A8
square
#CDB552 #52CD78 #526ACD #CD52A8
split-complementary
#CDB552 #52A8CD #7852CD
monochromatic
#806E25 #AF9733 #CDB552 #DBC981 #E8DEB1

Accessibility & contrast

On white

2.03
#CDB552 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.33
#CDB552 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB552
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB552#FFFFFF#000000##000000
##CDB5521.002.0310.3310.33
#FFFFFF2.031.0021.0021.00
#00000010.3321.001.001.00
##00000010.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B148
Deuteranopia (green-blind)
#CCB957
Tritanopia (blue-blind)
#DCA99F
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #cdb552;
/* rgb */ color: rgb(205, 181, 82);
/* oklch */ color: oklch(77.4% 0.122 95.8);
Tailwind
colors: {
  custom: {
    50: '#dfca86',
    500: '#cdb552',
    950: '#000000',
  },
}
SCSS
$custom: #cdb552;
$custom-light: #dfca86;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb552",
  "rgb": {
    "r": 205,
    "g": 181,
    "b": 82
  },
  "hsl": {
    "h": 48.293,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.77443,
    "c": 0.12178,
    "h": 95.8
  },
  "luminance": 0.46636
}

Semantic roles & 50–950 ramp

primary
#CDB552
secondary
#A4AED7
accent
#66DE49
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130B
muted
#84827C

Preview Lab

Preview with #CDB552

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

Preview Lab → · Contrast checker → · Palette generator →

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