#CDB352#CDB352

#CDB352 is a light, vivid yellow. Relative luminance 0.458; OKLCH L 77.0% C 0.120 H 94.4°. Best body text is #000000 at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#CDB352
RGBrgb(205, 179, 82)
HSLhsl(47, 55%, 56%)
HSVhsv(47, 60%, 80%)
CMYKcmyk(0%, 12.7%, 60%, 19.6%)
CIE-LABlab(73.44, -2.19, 51.90)
CIE-LCHlch(73.44, 51.94, 92.42°)
OKLaboklab(77.03% -0.0092 0.1199)
OKLCHoklch(77.03% 0.12 94.4)
XYZxyz(42.8218, 45.8306, 14.5716)
Luminance0.4583 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB352 #526CCD
analogous
#CD7652 #CDB352 #AACD52
triadic
#CDB352 #52CDB3 #B352CD
tetradic
#CDB352 #52CD76 #526CCD #CD52AA
square
#CDB352 #52CD76 #526CCD #CD52AA
split-complementary
#CDB352 #52AACD #7652CD
monochromatic
#806D25 #AF9533 #CDB352 #DBC881 #E8DDB1

Accessibility & contrast

On white

2.07
#CDB352 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.17
#CDB352 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB352
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB352#FFFFFF#000000##000000
##CDB3521.002.0710.1710.17
#FFFFFF2.071.0021.0021.00
#00000010.1721.001.001.00
##00000010.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B048
Deuteranopia (green-blind)
#CAB856
Tritanopia (blue-blind)
#DCA79E
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #cdb352;
/* rgb */ color: rgb(205, 179, 82);
/* oklch */ color: oklch(77.0% 0.120 94.4);
Tailwind
colors: {
  custom: {
    50: '#dfc986',
    500: '#cdb352',
    950: '#000000',
  },
}
SCSS
$custom: #cdb352;
$custom-light: #dfc986;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb352",
  "rgb": {
    "r": 205,
    "g": 179,
    "b": 82
  },
  "hsl": {
    "h": 47.317,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.7703,
    "c": 0.12025,
    "h": 94.4
  },
  "luminance": 0.45829
}

Semantic roles & 50–950 ramp

primary
#CDB352
secondary
#A4AFD7
accent
#69DE49
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130B
muted
#84827C

Preview Lab

Preview with #CDB352

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

Preview Lab → · Contrast checker → · Palette generator →

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