#D1D937#D1D937

#D1D937 is a very light, vivid yellow. Relative luminance 0.635; OKLCH L 85.2% C 0.173 H 112.4°. Best body text is #000000 at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#D1D937
RGBrgb(209, 217, 55)
HSLhsl(63, 68%, 53%)
HSVhsv(63, 75%, 85%)
CMYKcmyk(3.7%, 0%, 74.7%, 14.9%)
CIE-LABlab(83.68, -21.26, 73.05)
CIE-LCHlch(83.68, 76.08, 106.23°)
OKLaboklab(85.21% -0.0662 0.1603)
OKLCHoklch(85.21% 0.173 112.4)
XYZxyz(51.7986, 63.4581, 13.1337)
Luminance0.6346 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1D937 #3F37D9
analogous
#D99037 #D1D937 #80D937
triadic
#D1D937 #37D1D9 #D937D1
tetradic
#D1D937 #37D990 #3F37D9 #D93780
square
#D1D937 #37D990 #3F37D9 #D93780
split-complementary
#D1D937 #3780D9 #9037D9
monochromatic
#797E18 #AAB122 #D1D937 #DDE36A #E9ED9E

Accessibility & contrast

On white

1.53
#D1D937 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.69
#D1D937 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1D937
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1D937#FFFFFF#000000##000000
##D1D9371.001.5313.6913.69
#FFFFFF1.531.0021.0021.00
#00000013.6921.001.001.00
##00000013.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EACF0E
Deuteranopia (green-blind)
#EAD245
Tritanopia (blue-blind)
#DFCCBB
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d1d937;
/* rgb */ color: rgb(209, 217, 55);
/* oklch */ color: oklch(85.2% 0.173 112.4);
Tailwind
colors: {
  custom: {
    50: '#e3e47a',
    500: '#d1d937',
    950: '#000000',
  },
}
SCSS
$custom: #d1d937;
$custom-light: #e3e47a;
$custom-dark: #000000;
JSON
{
  "hex": "#d1d937",
  "rgb": {
    "r": 209,
    "g": 217,
    "b": 55
  },
  "hsl": {
    "h": 62.963,
    "s": 68.067,
    "l": 53.333
  },
  "oklch": {
    "l": 0.85205,
    "c": 0.17342,
    "h": 112.4
  },
  "luminance": 0.63457
}

Semantic roles & 50–950 ramp

primary
#D1D937
secondary
#332F85
accent
#3DEB45
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #D1D937

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

Preview Lab → · Contrast checker → · Palette generator →

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