#D1CB56#D1CB56

#D1CB56 is a very light, vivid yellow. Relative luminance 0.569; OKLCH L 82.5% C 0.138 H 106.3°. Best body text is #000000 at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#D1CB56
RGBrgb(209, 203, 86)
HSLhsl(57, 57%, 58%)
HSVhsv(57, 59%, 82%)
CMYKcmyk(0%, 2.9%, 58.9%, 18%)
CIE-LABlab(80.15, -12.60, 57.67)
CIE-LCHlch(80.15, 59.03, 102.33°)
OKLaboklab(82.45% -0.0388 0.1326)
OKLCHoklch(82.45% 0.138 106.3)
XYZxyz(49.3317, 56.9406, 17.1943)
Luminance0.5694 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1CB56 #565CD1
analogous
#D18D56 #D1CB56 #99D156
triadic
#D1CB56 #56D1CB #CB56D1
tetradic
#D1CB56 #56D18D #565CD1 #D15699
square
#D1CB56 #56D18D #565CD1 #D15699
split-complementary
#D1CB56 #5699D1 #8D56D1
monochromatic
#888325 #B8B132 #D1CB56 #DEDA86 #EBE9B6

Accessibility & contrast

On white

1.70
#D1CB56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.39
#D1CB56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1CB56
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1CB56#FFFFFF#000000##000000
##D1CB561.001.7012.3912.39
#FFFFFF1.701.0021.0021.00
#00000012.3921.001.001.00
##00000012.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC449
Deuteranopia (green-blind)
#DEC95D
Tritanopia (blue-blind)
#DFBFB2
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d1cb56;
/* rgb */ color: rgb(209, 203, 86);
/* oklch */ color: oklch(82.5% 0.138 106.3);
Tailwind
colors: {
  custom: {
    50: '#e2da8a',
    500: '#d1cb56',
    950: '#000000',
  },
}
SCSS
$custom: #d1cb56;
$custom-light: #e2da8a;
$custom-dark: #000000;
JSON
{
  "hex": "#d1cb56",
  "rgb": {
    "r": 209,
    "g": 203,
    "b": 86
  },
  "hsl": {
    "h": 57.073,
    "s": 57.209,
    "l": 57.843
  },
  "oklch": {
    "l": 0.8245,
    "c": 0.1382,
    "h": 106.3
  },
  "luminance": 0.56939
}

Semantic roles & 50–950 ramp

primary
#D1CB56
secondary
#3D418E
accent
#4FE047
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D1CB56

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

Preview Lab → · Contrast checker → · Palette generator →

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