#CDB45A#CDB45A

#CDB45A is a light, moderate yellow. Relative luminance 0.464; OKLCH L 77.3% C 0.114 H 94.1°. Best body text is #000000 at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#CDB45A
RGBrgb(205, 180, 90)
HSLhsl(47, 53%, 58%)
HSVhsv(47, 56%, 80%)
CMYKcmyk(0%, 12.2%, 56.1%, 19.6%)
CIE-LABlab(73.78, -2.12, 48.52)
CIE-LCHlch(73.78, 48.56, 92.50°)
OKLaboklab(77.33% -0.0081 0.1136)
OKLCHoklch(77.33% 0.114 94.1)
XYZxyz(43.3453, 46.3619, 16.3365)
Luminance0.4636 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB45A #5A73CD
analogous
#CD7B5A #CDB45A #ACCD5A
triadic
#CDB45A #5ACDB4 #B45ACD
tetradic
#CDB45A #5ACD7B #5A73CD #CD5AAC
square
#CDB45A #5ACD7B #5A73CD #CD5AAC
split-complementary
#CDB45A #5AACCD #7B5ACD
monochromatic
#847028 #B39836 #CDB45A #DBC989 #E9DFB8

Accessibility & contrast

On white

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

On black

10.27
#CDB45A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB45A
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB45A#FFFFFF#000000##000000
##CDB45A1.002.0410.2710.27
#FFFFFF2.041.0021.0021.00
#00000010.2721.001.001.00
##00000010.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B151
Deuteranopia (green-blind)
#CAB95E
Tritanopia (blue-blind)
#DCA8A0
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #cdb45a;
/* rgb */ color: rgb(205, 180, 90);
/* oklch */ color: oklch(77.3% 0.114 94.1);
Tailwind
colors: {
  custom: {
    50: '#dfca8b',
    500: '#cdb45a',
    950: '#000000',
  },
}
SCSS
$custom: #cdb45a;
$custom-light: #dfca8b;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb45a",
  "rgb": {
    "r": 205,
    "g": 180,
    "b": 90
  },
  "hsl": {
    "h": 46.957,
    "s": 53.488,
    "l": 57.843
  },
  "oklch": {
    "l": 0.77329,
    "c": 0.11386,
    "h": 94.1
  },
  "luminance": 0.4636
}

Semantic roles & 50–950 ramp

primary
#CDB45A
secondary
#AAB4D8
accent
#6BDD4B
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#15130C
muted
#84827D

Preview Lab

Preview with #CDB45A

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

Preview Lab → · Contrast checker → · Palette generator →

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