#CDB34C#CDB34C

#CDB34C is a light, vivid yellow. Relative luminance 0.457; OKLCH L 77.0% C 0.125 H 95.1°. Best body text is #000000 at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#CDB34C
RGBrgb(205, 179, 76)
HSLhsl(48, 56%, 55%)
HSVhsv(48, 63%, 80%)
CMYKcmyk(0%, 12.7%, 62.9%, 19.6%)
CIE-LABlab(73.38, -2.60, 54.57)
CIE-LCHlch(73.38, 54.63, 92.73°)
OKLaboklab(76.97% -0.0111 0.1248)
OKLCHoklch(76.97% 0.125 95.1)
XYZxyz(42.6034, 45.7433, 13.4214)
Luminance0.4574 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB34C #4C66CD
analogous
#CD724C #CDB34C #A6CD4C
triadic
#CDB34C #4CCDB3 #B34CCD
tetradic
#CDB34C #4CCD72 #4C66CD #CD4CA6
square
#CDB34C #4CCD72 #4C66CD #CD4CA6
split-complementary
#CDB34C #4CA6CD #724CCD
monochromatic
#7C6A23 #AC9330 #CDB34C #DAC77C #E8DCAC

Accessibility & contrast

On white

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

On black

10.15
#CDB34C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB34C
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB34C#FFFFFF#000000##000000
##CDB34C1.002.0710.1510.15
#FFFFFF2.071.0021.0021.00
#00000010.1521.001.001.00
##00000010.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B040
Deuteranopia (green-blind)
#CBB851
Tritanopia (blue-blind)
#DCA69D
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #cdb34c;
/* rgb */ color: rgb(205, 179, 76);
/* oklch */ color: oklch(77.0% 0.125 95.1);
Tailwind
colors: {
  custom: {
    50: '#dfc982',
    500: '#cdb34c',
    950: '#000000',
  },
}
SCSS
$custom: #cdb34c;
$custom-light: #dfc982;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb34c",
  "rgb": {
    "r": 205,
    "g": 179,
    "b": 76
  },
  "hsl": {
    "h": 47.907,
    "s": 56.332,
    "l": 55.098
  },
  "oklch": {
    "l": 0.76967,
    "c": 0.12527,
    "h": 95.1
  },
  "luminance": 0.45741
}

Semantic roles & 50–950 ramp

primary
#CDB34C
secondary
#9FAAD5
accent
#67E048
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CDB34C

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

Preview Lab → · Contrast checker → · Palette generator →

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