#CDB34D#CDB34D

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

Color values

HEX#CDB34D
RGBrgb(205, 179, 77)
HSLhsl(48, 56%, 55%)
HSVhsv(48, 62%, 80%)
CMYKcmyk(0%, 12.7%, 62.4%, 19.6%)
CIE-LABlab(73.39, -2.53, 54.13)
CIE-LCHlch(73.39, 54.19, 92.68°)
OKLaboklab(76.98% -0.0108 0.124)
OKLCHoklch(76.98% 0.124 95)
XYZxyz(42.6384, 45.7573, 13.6059)
Luminance0.4576 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB34D #4D67CD
analogous
#CD734D #CDB34D #A7CD4D
triadic
#CDB34D #4DCDB3 #B34DCD
tetradic
#CDB34D #4DCD73 #4D67CD #CD4DA7
square
#CDB34D #4DCD73 #4D67CD #CD4DA7
split-complementary
#CDB34D #4DA7CD #734DCD
monochromatic
#7D6A23 #AC9330 #CDB34D #DAC77D #E8DCAD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDB34D#FFFFFF#000000##000000
##CDB34D1.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)
#C4B042
Deuteranopia (green-blind)
#CBB852
Tritanopia (blue-blind)
#DCA69D
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #cdb34d;
/* rgb */ color: rgb(205, 179, 77);
/* oklch */ color: oklch(77.0% 0.124 95.0);
Tailwind
colors: {
  custom: {
    50: '#dfc983',
    500: '#cdb34d',
    950: '#000000',
  },
}
SCSS
$custom: #cdb34d;
$custom-light: #dfc983;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb34d",
  "rgb": {
    "r": 205,
    "g": 179,
    "b": 77
  },
  "hsl": {
    "h": 47.813,
    "s": 56.14,
    "l": 55.294
  },
  "oklch": {
    "l": 0.76977,
    "c": 0.12446,
    "h": 95
  },
  "luminance": 0.45755
}

Semantic roles & 50–950 ramp

primary
#CDB34D
secondary
#A0ABD6
accent
#67DF48
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CDB34D

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

Preview Lab → · Contrast checker → · Palette generator →

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