#CDB45C#CDB45C

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

Color values

HEX#CDB45C
RGBrgb(205, 180, 92)
HSLhsl(47, 53%, 58%)
HSVhsv(47, 55%, 80%)
CMYKcmyk(0%, 12.2%, 55.1%, 19.6%)
CIE-LABlab(73.80, -1.96, 47.58)
CIE-LCHlch(73.80, 47.62, 92.36°)
OKLaboklab(77.35% -0.0074 0.1117)
OKLCHoklch(77.35% 0.112 93.8)
XYZxyz(43.4315, 46.3964, 16.7908)
Luminance0.4639 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB45C #5C75CD
analogous
#CD7B5C #CDB45C #ADCD5C
triadic
#CDB45C #5CCDB4 #B45CCD
tetradic
#CDB45C #5CCD7B #5C75CD #CD5CAD
square
#CDB45C #5CCD7B #5C75CD #CD5CAD
split-complementary
#CDB45C #5CADCD #7B5CCD
monochromatic
#867129 #B49937 #CDB45C #DBCA8B #EADFBA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDB45C#FFFFFF#000000##000000
##CDB45C1.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)
#C4B154
Deuteranopia (green-blind)
#CAB960
Tritanopia (blue-blind)
#DCA8A0
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #cdb45c;
/* rgb */ color: rgb(205, 180, 92);
/* oklch */ color: oklch(77.4% 0.112 93.8);
Tailwind
colors: {
  custom: {
    50: '#dfca8c',
    500: '#cdb45c',
    950: '#000000',
  },
}
SCSS
$custom: #cdb45c;
$custom-light: #dfca8c;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb45c",
  "rgb": {
    "r": 205,
    "g": 180,
    "b": 92
  },
  "hsl": {
    "h": 46.726,
    "s": 53.052,
    "l": 58.235
  },
  "oklch": {
    "l": 0.77354,
    "c": 0.11198,
    "h": 93.8
  },
  "luminance": 0.46394
}

Semantic roles & 50–950 ramp

primary
#CDB45C
secondary
#ACB6D9
accent
#6BDC4B
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#15130C
muted
#84827D

Preview Lab

Preview with #CDB45C

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

Preview Lab → · Contrast checker → · Palette generator →

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