#D1CB41#D1CB41

#D1CB41 is a very light, vivid yellow. Relative luminance 0.566; OKLCH L 82.3% C 0.154 H 106.9°. Best body text is #000000 at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#D1CB41
RGBrgb(209, 203, 65)
HSLhsl(58, 61%, 54%)
HSVhsv(58, 69%, 82%)
CMYKcmyk(0%, 2.9%, 68.9%, 18%)
CIE-LABlab(79.98, -13.88, 66.07)
CIE-LCHlch(79.98, 67.51, 101.86°)
OKLaboklab(82.27% -0.0446 0.1473)
OKLCHoklch(82.27% 0.154 106.9)
XYZxyz(48.6064, 56.6505, 13.3743)
Luminance0.5665 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1CB41 #4147D1
analogous
#D18341 #D1CB41 #8FD141
triadic
#D1CB41 #41D1CB #CB41D1
tetradic
#D1CB41 #41D183 #4147D1 #D1418F
square
#D1CB41 #41D183 #4147D1 #D1418F
split-complementary
#D1CB41 #418FD1 #8341D1
monochromatic
#7A761E #ABA629 #D1CB41 #DDD872 #E9E6A4

Accessibility & contrast

On white

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

On black

12.33
#D1CB41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1CB41
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1CB41#FFFFFF#000000##000000
##D1CB411.001.7012.3312.33
#FFFFFF1.701.0021.0021.00
#00000012.3321.001.001.00
##00000012.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC32B
Deuteranopia (green-blind)
#DFC94A
Tritanopia (blue-blind)
#E0BEB0
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d1cb41;
/* rgb */ color: rgb(209, 203, 65);
/* oklch */ color: oklch(82.3% 0.154 106.9);
Tailwind
colors: {
  custom: {
    50: '#e3da7e',
    500: '#d1cb41',
    950: '#000000',
  },
}
SCSS
$custom: #d1cb41;
$custom-light: #e3da7e;
$custom-dark: #000000;
JSON
{
  "hex": "#d1cb41",
  "rgb": {
    "r": 209,
    "g": 203,
    "b": 65
  },
  "hsl": {
    "h": 57.5,
    "s": 61.017,
    "l": 53.725
  },
  "oklch": {
    "l": 0.82267,
    "c": 0.15388,
    "h": 106.9
  },
  "luminance": 0.56649
}

Semantic roles & 50–950 ramp

primary
#D1CB41
secondary
#343782
accent
#4AE444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #D1CB41

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

Preview Lab → · Contrast checker → · Palette generator →

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