#D1CB34#D1CB34

#D1CB34 is a very light, vivid yellow. Relative luminance 0.565; OKLCH L 82.2% C 0.162 H 107.1°. Best body text is #000000 at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#D1CB34
RGBrgb(209, 203, 52)
HSLhsl(58, 63%, 51%)
HSVhsv(58, 75%, 82%)
CMYKcmyk(0%, 2.9%, 75.1%, 18%)
CIE-LABlab(79.91, -14.47, 70.51)
CIE-LCHlch(79.91, 71.98, 101.60°)
OKLaboklab(82.18% -0.0475 0.1543)
OKLCHoklch(82.18% 0.162 107.1)
XYZxyz(48.2722, 56.5168, 11.6142)
Luminance0.5652 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1CB34 #343AD1
analogous
#D17C34 #D1CB34 #88D134
triadic
#D1CB34 #34D1CB #CB34D1
tetradic
#D1CB34 #34D17C #343AD1 #D13488
square
#D1CB34 #34D17C #343AD1 #D13488
split-complementary
#D1CB34 #3488D1 #7C34D1
monochromatic
#716E1A #A39E25 #D1CB34 #DCD866 #E8E598

Accessibility & contrast

On white

1.71
#D1CB34 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.30
#D1CB34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1CB34
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1CB34#FFFFFF#000000##000000
##D1CB341.001.7112.3012.30
#FFFFFF1.711.0021.0021.00
#00000012.3021.001.001.00
##00000012.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC30F
Deuteranopia (green-blind)
#DFC940
Tritanopia (blue-blind)
#E0BDAF
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d1cb34;
/* rgb */ color: rgb(209, 203, 52);
/* oklch */ color: oklch(82.2% 0.162 107.1);
Tailwind
colors: {
  custom: {
    50: '#e3da77',
    500: '#d1cb34',
    950: '#000000',
  },
}
SCSS
$custom: #d1cb34;
$custom-light: #e3da77;
$custom-dark: #000000;
JSON
{
  "hex": "#d1cb34",
  "rgb": {
    "r": 209,
    "g": 203,
    "b": 52
  },
  "hsl": {
    "h": 57.707,
    "s": 63.052,
    "l": 51.176
  },
  "oklch": {
    "l": 0.82183,
    "c": 0.1615,
    "h": 107.1
  },
  "luminance": 0.56515
}

Semantic roles & 50–950 ramp

primary
#D1CB34
secondary
#2F327A
accent
#48E642
background
#FFFEFB
surface
#FEFBF1
border
#D6D4CB
text
#16140A
muted
#85837D

Preview Lab

Preview with #D1CB34

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

Preview Lab → · Contrast checker → · Palette generator →

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