#CDB45E#CDB45E

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

Color values

HEX#CDB45E
RGBrgb(205, 180, 94)
HSLhsl(46, 53%, 59%)
HSVhsv(46, 54%, 80%)
CMYKcmyk(0%, 12.2%, 54.1%, 19.6%)
CIE-LABlab(73.82, -1.80, 46.64)
CIE-LCHlch(73.82, 46.67, 92.21°)
OKLaboklab(77.38% -0.0067 0.1099)
OKLCHoklch(77.38% 0.11 93.5)
XYZxyz(43.5201, 46.4318, 17.2574)
Luminance0.4643 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB45E #5E77CD
analogous
#CD7C5E #CDB45E #AFCD5E
triadic
#CDB45E #5ECDB4 #B45ECD
tetradic
#CDB45E #5ECD7C #5E77CD #CD5EAF
square
#CDB45E #5ECD7C #5E77CD #CD5EAF
split-complementary
#CDB45E #5EAFCD #7C5ECD
monochromatic
#87722A #B59938 #CDB45E #DCCA8D #EAE0BB

Accessibility & contrast

On white

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

On black

10.29
#CDB45E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB45E
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB45E#FFFFFF#000000##000000
##CDB45E1.002.0410.2910.29
#FFFFFF2.041.0021.0021.00
#00000010.2921.001.001.00
##00000010.2921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdb45e;
/* rgb */ color: rgb(205, 180, 94);
/* oklch */ color: oklch(77.4% 0.110 93.5);
Tailwind
colors: {
  custom: {
    50: '#dfca8e',
    500: '#cdb45e',
    950: '#000000',
  },
}
SCSS
$custom: #cdb45e;
$custom-light: #dfca8e;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb45e",
  "rgb": {
    "r": 205,
    "g": 180,
    "b": 94
  },
  "hsl": {
    "h": 46.486,
    "s": 52.607,
    "l": 58.627
  },
  "oklch": {
    "l": 0.77379,
    "c": 0.11009,
    "h": 93.5
  },
  "luminance": 0.4643
}

Semantic roles & 50–950 ramp

primary
#CDB45E
secondary
#ADB7D9
accent
#6CDC4C
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CDB45E

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

Preview Lab → · Contrast checker → · Palette generator →

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