#D2D93C#D2D93C

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

Color values

HEX#D2D93C
RGBrgb(210, 217, 60)
HSLhsl(63, 67%, 54%)
HSVhsv(63, 72%, 85%)
CMYKcmyk(3.2%, 0%, 72.4%, 14.9%)
CIE-LABlab(83.79, -20.63, 71.56)
CIE-LCHlch(83.79, 74.47, 106.08°)
OKLaboklab(85.31% -0.0641 0.158)
OKLCHoklch(85.31% 0.17 112.1)
XYZxyz(52.2085, 63.6549, 13.8105)
Luminance0.6365 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D93C #433CD9
analogous
#D9923C #D2D93C #84D93C
triadic
#D2D93C #3CD2D9 #D93CD2
tetradic
#D2D93C #3CD992 #433CD9 #D93C84
square
#D2D93C #3CD992 #433CD9 #D93C84
split-complementary
#D2D93C #3C84D9 #923CD9
monochromatic
#7D8119 #AEB523 #D2D93C #DEE36F #EAEDA2

Accessibility & contrast

On white

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

On black

13.73
#D2D93C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D93C
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D93C#FFFFFF#000000##000000
##D2D93C1.001.5313.7313.73
#FFFFFF1.531.0021.0021.00
#00000013.7321.001.001.00
##00000013.7321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2d93c;
/* rgb */ color: rgb(210, 217, 60);
/* oklch */ color: oklch(85.3% 0.170 112.1);
Tailwind
colors: {
  custom: {
    50: '#e4e47d',
    500: '#d2d93c',
    950: '#000000',
  },
}
SCSS
$custom: #d2d93c;
$custom-light: #e4e47d;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d93c",
  "rgb": {
    "r": 210,
    "g": 217,
    "b": 60
  },
  "hsl": {
    "h": 62.675,
    "s": 67.382,
    "l": 54.314
  },
  "oklch": {
    "l": 0.85314,
    "c": 0.17046,
    "h": 112.1
  },
  "luminance": 0.63654
}

Semantic roles & 50–950 ramp

primary
#D2D93C
secondary
#353188
accent
#3EEA45
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150A
muted
#85847D

Preview Lab

Preview with #D2D93C

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

Preview Lab → · Contrast checker → · Palette generator →

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