#D1CB62#D1CB62

#D1CB62 is a very light, vivid yellow. Relative luminance 0.571; OKLCH L 82.6% C 0.128 H 105.9°. Best body text is #000000 at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#D1CB62
RGBrgb(209, 203, 98)
HSLhsl(57, 55%, 60%)
HSVhsv(57, 53%, 82%)
CMYKcmyk(0%, 2.9%, 53.1%, 18%)
CIE-LABlab(80.26, -11.69, 52.36)
CIE-LCHlch(80.26, 53.65, 102.59°)
OKLaboklab(82.58% -0.0349 0.1227)
OKLCHoklch(82.58% 0.128 105.9)
XYZxyz(49.8564, 57.1505, 19.9578)
Luminance0.5715 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1CB62 #6268D1
analogous
#D19462 #D1CB62 #9FD162
triadic
#D1CB62 #62D1CB #CB62D1
tetradic
#D1CB62 #62D194 #6268D1 #D1629F
square
#D1CB62 #62D194 #6268D1 #D1629F
split-complementary
#D1CB62 #629FD1 #9462D1
monochromatic
#8F892A #BEB738 #D1CB62 #DFDB91 #EDEAC1

Accessibility & contrast

On white

1.69
#D1CB62 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.43
#D1CB62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1CB62
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1CB62#FFFFFF#000000##000000
##D1CB621.001.6912.4312.43
#FFFFFF1.691.0021.0021.00
#00000012.4321.001.001.00
##00000012.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC458
Deuteranopia (green-blind)
#DDC967
Tritanopia (blue-blind)
#DEBFB3
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d1cb62;
/* rgb */ color: rgb(209, 203, 98);
/* oklch */ color: oklch(82.6% 0.128 105.9);
Tailwind
colors: {
  custom: {
    50: '#e1da92',
    500: '#d1cb62',
    950: '#000000',
  },
}
SCSS
$custom: #d1cb62;
$custom-light: #e1da92;
$custom-dark: #000000;
JSON
{
  "hex": "#d1cb62",
  "rgb": {
    "r": 209,
    "g": 203,
    "b": 98
  },
  "hsl": {
    "h": 56.757,
    "s": 54.68,
    "l": 60.196
  },
  "oklch": {
    "l": 0.82581,
    "c": 0.12752,
    "h": 105.9
  },
  "luminance": 0.57149
}

Semantic roles & 50–950 ramp

primary
#D1CB62
secondary
#424795
accent
#2CC223
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D1CB62

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

Preview Lab → · Contrast checker → · Palette generator →

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