#CDB45D#CDB45D

#CDB45D is a light, moderate yellow. Relative luminance 0.464; OKLCH L 77.4% C 0.111 H 93.6°. Best body text is #000000 at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#CDB45D
RGBrgb(205, 180, 93)
HSLhsl(47, 53%, 58%)
HSVhsv(47, 55%, 80%)
CMYKcmyk(0%, 12.2%, 54.6%, 19.6%)
CIE-LABlab(73.81, -1.88, 47.11)
CIE-LCHlch(73.81, 47.15, 92.29°)
OKLaboklab(77.37% -0.007 0.1108)
OKLCHoklch(77.37% 0.111 93.6)
XYZxyz(43.4755, 46.4140, 17.0226)
Luminance0.4641 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB45D #5D76CD
analogous
#CD7C5D #CDB45D #AECD5D
triadic
#CDB45D #5DCDB4 #B45DCD
tetradic
#CDB45D #5DCD7C #5D76CD #CD5DAE
square
#CDB45D #5DCD7C #5D76CD #CD5DAE
split-complementary
#CDB45D #5DAECD #7C5DCD
monochromatic
#867129 #B59938 #CDB45D #DBCA8C #EADFBB

Accessibility & contrast

On white

2.04
#CDB45D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.28
#CDB45D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB45D
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB45D#FFFFFF#000000##000000
##CDB45D1.002.0410.2810.28
#FFFFFF2.041.0021.0021.00
#00000010.2821.001.001.00
##00000010.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B155
Deuteranopia (green-blind)
#CAB961
Tritanopia (blue-blind)
#DBA8A0
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #cdb45d;
/* rgb */ color: rgb(205, 180, 93);
/* oklch */ color: oklch(77.4% 0.111 93.6);
Tailwind
colors: {
  custom: {
    50: '#dfca8d',
    500: '#cdb45d',
    950: '#000000',
  },
}
SCSS
$custom: #cdb45d;
$custom-light: #dfca8d;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb45d",
  "rgb": {
    "r": 205,
    "g": 180,
    "b": 93
  },
  "hsl": {
    "h": 46.607,
    "s": 52.83,
    "l": 58.431
  },
  "oklch": {
    "l": 0.77367,
    "c": 0.11104,
    "h": 93.6
  },
  "luminance": 0.46412
}

Semantic roles & 50–950 ramp

primary
#CDB45D
secondary
#ADB7D9
accent
#6CDC4C
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#15130C
muted
#84827D

Preview Lab

Preview with #CDB45D

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

Preview Lab → · Contrast checker → · Palette generator →

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