#D1D834#D1D834

#D1D834 is a very light, vivid yellow. Relative luminance 0.629; OKLCH L 85.0% C 0.174 H 112.1°. Best body text is #000000 at 13.58:1 contrast (WCAG AA passes).

Color values

HEX#D1D834
RGBrgb(209, 216, 52)
HSLhsl(63, 68%, 53%)
HSVhsv(63, 76%, 85%)
CMYKcmyk(3.2%, 0%, 75.9%, 15.3%)
CIE-LABlab(83.40, -20.89, 73.71)
CIE-LCHlch(83.40, 76.61, 105.82°)
OKLaboklab(84.97% -0.0654 0.1612)
OKLCHoklch(84.97% 0.174 112.1)
XYZxyz(51.4719, 62.9163, 12.6808)
Luminance0.6291 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1D834 #3B34D8
analogous
#D88D34 #D1D834 #7FD834
triadic
#D1D834 #34D1D8 #D834D1
tetradic
#D1D834 #34D88D #3B34D8 #D8347F
square
#D1D834 #34D88D #3B34D8 #D8347F
split-complementary
#D1D834 #347FD8 #8D34D8
monochromatic
#767A17 #A7AD21 #D1D834 #DDE267 #E8EC9B

Accessibility & contrast

On white

1.55
#D1D834 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.58
#D1D834 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1D834
13.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1D834#FFFFFF#000000##000000
##D1D8341.001.5513.5813.58
#FFFFFF1.551.0021.0021.00
#00000013.5821.001.001.00
##00000013.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9CE02
Deuteranopia (green-blind)
#E9D242
Tritanopia (blue-blind)
#E0CBBA
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d1d834;
/* rgb */ color: rgb(209, 216, 52);
/* oklch */ color: oklch(85.0% 0.174 112.1);
Tailwind
colors: {
  custom: {
    50: '#e3e379',
    500: '#d1d834',
    950: '#000000',
  },
}
SCSS
$custom: #d1d834;
$custom-light: #e3e379;
$custom-dark: #000000;
JSON
{
  "hex": "#d1d834",
  "rgb": {
    "r": 209,
    "g": 216,
    "b": 52
  },
  "hsl": {
    "h": 62.561,
    "s": 67.769,
    "l": 52.549
  },
  "oklch": {
    "l": 0.84972,
    "c": 0.17394,
    "h": 112.1
  },
  "luminance": 0.62915
}

Semantic roles & 50–950 ramp

primary
#D1D834
secondary
#322E82
accent
#3DEB45
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150A
muted
#85847D

Preview Lab

Preview with #D1D834

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

Preview Lab → · Contrast checker → · Palette generator →

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