#CDB557#CDB557

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

Color values

HEX#CDB557
RGBrgb(205, 181, 87)
HSLhsl(48, 54%, 57%)
HSVhsv(48, 58%, 80%)
CMYKcmyk(0%, 11.7%, 57.6%, 19.6%)
CIE-LABlab(74.01, -2.88, 50.21)
CIE-LCHlch(74.01, 50.29, 93.28°)
OKLaboklab(77.5% -0.0106 0.1169)
OKLCHoklch(77.5% 0.117 95.2)
XYZxyz(43.4228, 46.7170, 15.7450)
Luminance0.4672 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB557 #576FCD
analogous
#CD7A57 #CDB557 #AACD57
triadic
#CDB557 #57CDB5 #B557CD
tetradic
#CDB557 #57CD7A #576FCD #CD57AA
square
#CDB557 #57CD7A #576FCD #CD57AA
split-complementary
#CDB557 #57AACD #7A57CD
monochromatic
#837027 #B29835 #CDB557 #DBCA86 #E9DFB5

Accessibility & contrast

On white

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

On black

10.34
#CDB557 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB557
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB557#FFFFFF#000000##000000
##CDB5571.002.0310.3410.34
#FFFFFF2.031.0021.0021.00
#00000010.3421.001.001.00
##00000010.3421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdb557;
/* rgb */ color: rgb(205, 181, 87);
/* oklch */ color: oklch(77.5% 0.117 95.2);
Tailwind
colors: {
  custom: {
    50: '#dfca89',
    500: '#cdb557',
    950: '#000000',
  },
}
SCSS
$custom: #cdb557;
$custom-light: #dfca89;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb557",
  "rgb": {
    "r": 205,
    "g": 181,
    "b": 87
  },
  "hsl": {
    "h": 47.797,
    "s": 54.128,
    "l": 57.255
  },
  "oklch": {
    "l": 0.775,
    "c": 0.11737,
    "h": 95.2
  },
  "luminance": 0.46715
}

Semantic roles & 50–950 ramp

primary
#CDB557
secondary
#A8B2D8
accent
#68DD4A
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #CDB557

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

Preview Lab → · Contrast checker → · Palette generator →

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