#CDB34E#CDB34E

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

Color values

HEX#CDB34E
RGBrgb(205, 179, 78)
HSLhsl(48, 56%, 55%)
HSVhsv(48, 62%, 80%)
CMYKcmyk(0%, 12.7%, 62%, 19.6%)
CIE-LABlab(73.40, -2.47, 53.69)
CIE-LCHlch(73.40, 53.74, 92.63°)
OKLaboklab(76.99% -0.0105 0.1232)
OKLCHoklch(76.99% 0.124 94.9)
XYZxyz(42.6740, 45.7715, 13.7933)
Luminance0.4577 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB34E #4E68CD
analogous
#CD744E #CDB34E #A7CD4E
triadic
#CDB34E #4ECDB3 #B34ECD
tetradic
#CDB34E #4ECD74 #4E68CD #CD4EA7
square
#CDB34E #4ECD74 #4E68CD #CD4EA7
split-complementary
#CDB34E #4EA7CD #744ECD
monochromatic
#7D6B23 #AD9431 #CDB34E #DAC77E #E8DCAD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDB34E#FFFFFF#000000##000000
##CDB34E1.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)
#C4B043
Deuteranopia (green-blind)
#CBB853
Tritanopia (blue-blind)
#DCA69D
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #cdb34e;
/* rgb */ color: rgb(205, 179, 78);
/* oklch */ color: oklch(77.0% 0.124 94.9);
Tailwind
colors: {
  custom: {
    50: '#dfc983',
    500: '#cdb34e',
    950: '#000000',
  },
}
SCSS
$custom: #cdb34e;
$custom-light: #dfc983;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb34e",
  "rgb": {
    "r": 205,
    "g": 179,
    "b": 78
  },
  "hsl": {
    "h": 47.717,
    "s": 55.947,
    "l": 55.49
  },
  "oklch": {
    "l": 0.76987,
    "c": 0.12364,
    "h": 94.9
  },
  "luminance": 0.45769
}

Semantic roles & 50–950 ramp

primary
#CDB34E
secondary
#A1ACD6
accent
#67DF49
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CDB34E

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

Preview Lab → · Contrast checker → · Palette generator →

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