#CDB55C#CDB55C

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

Color values

HEX#CDB55C
RGBrgb(205, 181, 92)
HSLhsl(47, 53%, 58%)
HSVhsv(47, 55%, 80%)
CMYKcmyk(0%, 11.7%, 55.1%, 19.6%)
CIE-LABlab(74.06, -2.49, 47.89)
CIE-LCHlch(74.06, 47.95, 92.97°)
OKLaboklab(77.56% -0.0089 0.1124)
OKLCHoklch(77.56% 0.113 94.5)
XYZxyz(43.6341, 46.8016, 16.8584)
Luminance0.4680 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB55C #5C74CD
analogous
#CD7C5C #CDB55C #ACCD5C
triadic
#CDB55C #5CCDB5 #B55CCD
tetradic
#CDB55C #5CCD7C #5C74CD #CD5CAC
square
#CDB55C #5CCD7C #5C74CD #CD5CAC
split-complementary
#CDB55C #5CACCD #7C5CCD
monochromatic
#867229 #B49A37 #CDB55C #DBCA8B #EAE0BA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDB55C#FFFFFF#000000##000000
##CDB55C1.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)
#C5B254
Deuteranopia (green-blind)
#CBB960
Tritanopia (blue-blind)
#DBA9A1
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #cdb55c;
/* rgb */ color: rgb(205, 181, 92);
/* oklch */ color: oklch(77.6% 0.113 94.5);
Tailwind
colors: {
  custom: {
    50: '#dfca8d',
    500: '#cdb55c',
    950: '#000000',
  },
}
SCSS
$custom: #cdb55c;
$custom-light: #dfca8d;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb55c",
  "rgb": {
    "r": 205,
    "g": 181,
    "b": 92
  },
  "hsl": {
    "h": 47.257,
    "s": 53.052,
    "l": 58.235
  },
  "oklch": {
    "l": 0.7756,
    "c": 0.11276,
    "h": 94.5
  },
  "luminance": 0.468
}

Semantic roles & 50–950 ramp

primary
#CDB55C
secondary
#ACB5D9
accent
#6ADC4B
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#15130C
muted
#84827D

Preview Lab

Preview with #CDB55C

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

Preview Lab → · Contrast checker → · Palette generator →

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