#CDB558#CDB558

#CDB558 is a light, moderate yellow. Relative luminance 0.467; OKLCH L 77.5% C 0.116 H 95.1°. Best body text is #000000 at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#CDB558
RGBrgb(205, 181, 88)
HSLhsl(48, 54%, 57%)
HSVhsv(48, 57%, 80%)
CMYKcmyk(0%, 11.7%, 57.1%, 19.6%)
CIE-LABlab(74.02, -2.80, 49.75)
CIE-LCHlch(74.02, 49.83, 93.22°)
OKLaboklab(77.51% -0.0103 0.116)
OKLCHoklch(77.51% 0.116 95.1)
XYZxyz(43.4639, 46.7335, 15.9617)
Luminance0.4673 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB558 #5870CD
analogous
#CD7A58 #CDB558 #ABCD58
triadic
#CDB558 #58CDB5 #B558CD
tetradic
#CDB558 #58CD7A #5870CD #CD58AB
square
#CDB558 #58CD7A #5870CD #CD58AB
split-complementary
#CDB558 #58ABCD #7A58CD
monochromatic
#837027 #B29935 #CDB558 #DBCA87 #E9DFB6

Accessibility & contrast

On white

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

On black

10.35
#CDB558 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB558
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB558#FFFFFF#000000##000000
##CDB5581.002.0310.3510.35
#FFFFFF2.031.0021.0021.00
#00000010.3521.001.001.00
##00000010.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B24F
Deuteranopia (green-blind)
#CBB95C
Tritanopia (blue-blind)
#DCA9A0
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #cdb558;
/* rgb */ color: rgb(205, 181, 88);
/* oklch */ color: oklch(77.5% 0.116 95.1);
Tailwind
colors: {
  custom: {
    50: '#dfca8a',
    500: '#cdb558',
    950: '#000000',
  },
}
SCSS
$custom: #cdb558;
$custom-light: #dfca8a;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb558",
  "rgb": {
    "r": 205,
    "g": 181,
    "b": 88
  },
  "hsl": {
    "h": 47.692,
    "s": 53.917,
    "l": 57.451
  },
  "oklch": {
    "l": 0.77511,
    "c": 0.11646,
    "h": 95.1
  },
  "luminance": 0.46731
}

Semantic roles & 50–950 ramp

primary
#CDB558
secondary
#A9B2D8
accent
#69DD4B
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #CDB558

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

Preview Lab → · Contrast checker → · Palette generator →

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