#CDB456#CDB456

#CDB456 is a light, moderate yellow. Relative luminance 0.463; OKLCH L 77.3% C 0.117 H 94.6°. Best body text is #000000 at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#CDB456
RGBrgb(205, 180, 86)
HSLhsl(47, 54%, 57%)
HSVhsv(47, 58%, 80%)
CMYKcmyk(0%, 12.2%, 58%, 19.6%)
CIE-LABlab(73.74, -2.43, 50.37)
CIE-LCHlch(73.74, 50.43, 92.76°)
OKLaboklab(77.28% -0.0094 0.1171)
OKLCHoklch(77.28% 0.118 94.6)
XYZxyz(43.1796, 46.2956, 15.4638)
Luminance0.4629 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB456 #566FCD
analogous
#CD7956 #CDB456 #ABCD56
triadic
#CDB456 #56CDB4 #B456CD
tetradic
#CDB456 #56CD79 #566FCD #CD56AB
square
#CDB456 #56CD79 #566FCD #CD56AB
split-complementary
#CDB456 #56ABCD #7956CD
monochromatic
#826F26 #B19734 #CDB456 #DBC985 #E9DEB4

Accessibility & contrast

On white

2.05
#CDB456 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.26
#CDB456 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB456
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB456#FFFFFF#000000##000000
##CDB4561.002.0510.2610.26
#FFFFFF2.051.0021.0021.00
#00000010.2621.001.001.00
##00000010.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B14D
Deuteranopia (green-blind)
#CBB95A
Tritanopia (blue-blind)
#DCA89F
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #cdb456;
/* rgb */ color: rgb(205, 180, 86);
/* oklch */ color: oklch(77.3% 0.117 94.6);
Tailwind
colors: {
  custom: {
    50: '#dfca89',
    500: '#cdb456',
    950: '#000000',
  },
}
SCSS
$custom: #cdb456;
$custom-light: #dfca89;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb456",
  "rgb": {
    "r": 205,
    "g": 180,
    "b": 86
  },
  "hsl": {
    "h": 47.395,
    "s": 54.338,
    "l": 57.059
  },
  "oklch": {
    "l": 0.77282,
    "c": 0.1175,
    "h": 94.6
  },
  "luminance": 0.46294
}

Semantic roles & 50–950 ramp

primary
#CDB456
secondary
#A7B1D8
accent
#69DE4A
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #CDB456

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

Preview Lab → · Contrast checker → · Palette generator →

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