#D2D937#D2D937

#D2D937 is a very light, vivid yellow. Relative luminance 0.636; OKLCH L 85.3% C 0.173 H 112.1°. Best body text is #000000 at 13.72:1 contrast (WCAG AA passes).

Color values

HEX#D2D937
RGBrgb(210, 217, 55)
HSLhsl(63, 68%, 53%)
HSVhsv(63, 75%, 85%)
CMYKcmyk(3.2%, 0%, 74.7%, 14.9%)
CIE-LABlab(83.76, -20.84, 73.15)
CIE-LCHlch(83.76, 76.06, 105.90°)
OKLaboklab(85.29% -0.0651 0.1605)
OKLCHoklch(85.29% 0.173 112.1)
XYZxyz(52.0825, 63.6045, 13.1470)
Luminance0.6360 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D937 #3E37D9
analogous
#D98F37 #D2D937 #81D937
triadic
#D2D937 #37D2D9 #D937D2
tetradic
#D2D937 #37D98F #3E37D9 #D93781
square
#D2D937 #37D98F #3E37D9 #D93781
split-complementary
#D2D937 #3781D9 #8F37D9
monochromatic
#797E18 #ABB122 #D2D937 #DEE36A #E9ED9E

Accessibility & contrast

On white

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

On black

13.72
#D2D937 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D937
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D937#FFFFFF#000000##000000
##D2D9371.001.5313.7213.72
#FFFFFF1.531.0021.0021.00
#00000013.7221.001.001.00
##00000013.7221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2d937;
/* rgb */ color: rgb(210, 217, 55);
/* oklch */ color: oklch(85.3% 0.173 112.1);
Tailwind
colors: {
  custom: {
    50: '#e4e47a',
    500: '#d2d937',
    950: '#000000',
  },
}
SCSS
$custom: #d2d937;
$custom-light: #e4e47a;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d937",
  "rgb": {
    "r": 210,
    "g": 217,
    "b": 55
  },
  "hsl": {
    "h": 62.593,
    "s": 68.067,
    "l": 53.333
  },
  "oklch": {
    "l": 0.85285,
    "c": 0.17316,
    "h": 112.1
  },
  "luminance": 0.63603
}

Semantic roles & 50–950 ramp

primary
#D2D937
secondary
#332F85
accent
#3DEB44
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150A
muted
#85847D

Preview Lab

Preview with #D2D937

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

Preview Lab → · Contrast checker → · Palette generator →

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