#CDB55D#CDB55D

#CDB55D is a light, moderate yellow. Relative luminance 0.468; OKLCH L 77.6% C 0.112 H 94.4°. Best body text is #000000 at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#CDB55D
RGBrgb(205, 181, 93)
HSLhsl(47, 53%, 58%)
HSVhsv(47, 55%, 80%)
CMYKcmyk(0%, 11.7%, 54.6%, 19.6%)
CIE-LABlab(74.07, -2.41, 47.42)
CIE-LCHlch(74.07, 47.48, 92.90°)
OKLaboklab(77.57% -0.0085 0.1115)
OKLCHoklch(77.57% 0.112 94.4)
XYZxyz(43.6781, 46.8192, 17.0901)
Luminance0.4682 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB55D #5D75CD
analogous
#CD7D5D #CDB55D #ADCD5D
triadic
#CDB55D #5DCDB5 #B55DCD
tetradic
#CDB55D #5DCD7D #5D75CD #CD5DAD
square
#CDB55D #5DCD7D #5D75CD #CD5DAD
split-complementary
#CDB55D #5DADCD #7D5DCD
monochromatic
#867229 #B59A38 #CDB55D #DBCA8C #EAE0BB

Accessibility & contrast

On white

2.03
#CDB55D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.36
#CDB55D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB55D
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB55D#FFFFFF#000000##000000
##CDB55D1.002.0310.3610.36
#FFFFFF2.031.0021.0021.00
#00000010.3621.001.001.00
##00000010.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B255
Deuteranopia (green-blind)
#CBB961
Tritanopia (blue-blind)
#DBA9A1
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #cdb55d;
/* rgb */ color: rgb(205, 181, 93);
/* oklch */ color: oklch(77.6% 0.112 94.4);
Tailwind
colors: {
  custom: {
    50: '#dfca8d',
    500: '#cdb55d',
    950: '#000000',
  },
}
SCSS
$custom: #cdb55d;
$custom-light: #dfca8d;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb55d",
  "rgb": {
    "r": 205,
    "g": 181,
    "b": 93
  },
  "hsl": {
    "h": 47.143,
    "s": 52.83,
    "l": 58.431
  },
  "oklch": {
    "l": 0.77572,
    "c": 0.11182,
    "h": 94.4
  },
  "luminance": 0.46817
}

Semantic roles & 50–950 ramp

primary
#CDB55D
secondary
#ADB6D9
accent
#6BDC4C
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#15130C
muted
#84827D

Preview Lab

Preview with #CDB55D

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

Preview Lab → · Contrast checker → · Palette generator →

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