#CDB856#CDB856

#CDB856 is a light, vivid yellow. Relative luminance 0.479; OKLCH L 78.1% C 0.121 H 97.4°. Best body text is #000000 at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#CDB856
RGBrgb(205, 184, 86)
HSLhsl(49, 54%, 57%)
HSVhsv(49, 58%, 80%)
CMYKcmyk(0%, 10.2%, 58%, 19.6%)
CIE-LABlab(74.78, -4.52, 51.56)
CIE-LCHlch(74.78, 51.76, 95.01°)
OKLaboklab(78.11% -0.0155 0.1197)
OKLCHoklch(78.11% 0.121 97.4)
XYZxyz(43.9988, 47.9339, 15.7369)
Luminance0.4793 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB856 #566BCD
analogous
#CD7D56 #CDB856 #A6CD56
triadic
#CDB856 #56CDB8 #B856CD
tetradic
#CDB856 #56CD7D #566BCD #CD56A6
square
#CDB856 #56CD7D #566BCD #CD56A6
split-complementary
#CDB856 #56A6CD #7D56CD
monochromatic
#827226 #B19B34 #CDB856 #DBCC85 #E9E0B4

Accessibility & contrast

On white

1.98
#CDB856 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.59
#CDB856 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB856
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB856#FFFFFF#000000##000000
##CDB8561.001.9810.5910.59
#FFFFFF1.981.0021.0021.00
#00000010.5921.001.001.00
##00000010.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B44C
Deuteranopia (green-blind)
#CEBB5B
Tritanopia (blue-blind)
#DCACA2
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #cdb856;
/* rgb */ color: rgb(205, 184, 86);
/* oklch */ color: oklch(78.1% 0.121 97.4);
Tailwind
colors: {
  custom: {
    50: '#dfcd89',
    500: '#cdb856',
    950: '#000000',
  },
}
SCSS
$custom: #cdb856;
$custom-light: #dfcd89;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb856",
  "rgb": {
    "r": 205,
    "g": 184,
    "b": 86
  },
  "hsl": {
    "h": 49.412,
    "s": 54.338,
    "l": 57.059
  },
  "oklch": {
    "l": 0.78109,
    "c": 0.12067,
    "h": 97.4
  },
  "luminance": 0.47932
}

Semantic roles & 50–950 ramp

primary
#CDB856
secondary
#A7B0D8
accent
#64DE4A
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #CDB856

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

Preview Lab → · Contrast checker → · Palette generator →

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