#D2D936#D2D936

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

Color values

HEX#D2D936
RGBrgb(210, 217, 54)
HSLhsl(63, 68%, 53%)
HSVhsv(63, 75%, 85%)
CMYKcmyk(3.2%, 0%, 75.1%, 14.9%)
CIE-LABlab(83.75, -20.88, 73.45)
CIE-LCHlch(83.75, 76.36, 105.87°)
OKLaboklab(85.28% -0.0653 0.1609)
OKLCHoklch(85.28% 0.174 112.1)
XYZxyz(52.0588, 63.5950, 13.0220)
Luminance0.6359 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D936 #3D36D9
analogous
#D98F36 #D2D936 #80D936
triadic
#D2D936 #36D2D9 #D936D2
tetradic
#D2D936 #36D98F #3D36D9 #D93680
square
#D2D936 #36D98F #3D36D9 #D93680
split-complementary
#D2D936 #3680D9 #8F36D9
monochromatic
#797D18 #AAB021 #D2D936 #DEE369 #E9EC9D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2D936#FFFFFF#000000##000000
##D2D9361.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)
#EACF0A
Deuteranopia (green-blind)
#EAD344
Tritanopia (blue-blind)
#E1CCBB
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d2d936;
/* rgb */ color: rgb(210, 217, 54);
/* oklch */ color: oklch(85.3% 0.174 112.1);
Tailwind
colors: {
  custom: {
    50: '#e4e47a',
    500: '#d2d936',
    950: '#000000',
  },
}
SCSS
$custom: #d2d936;
$custom-light: #e4e47a;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d936",
  "rgb": {
    "r": 210,
    "g": 217,
    "b": 54
  },
  "hsl": {
    "h": 62.577,
    "s": 68.201,
    "l": 53.137
  },
  "oklch": {
    "l": 0.85279,
    "c": 0.17368,
    "h": 112.1
  },
  "luminance": 0.63594
}

Semantic roles & 50–950 ramp

primary
#D2D936
secondary
#322F84
accent
#3DEB44
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150A
muted
#85847D

Preview Lab

Preview with #D2D936

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

Preview Lab → · Contrast checker → · Palette generator →

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