#D2D93F#D2D93F

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

Color values

HEX#D2D93F
RGBrgb(210, 217, 63)
HSLhsl(63, 67%, 55%)
HSVhsv(63, 71%, 85%)
CMYKcmyk(3.2%, 0%, 71%, 14.9%)
CIE-LABlab(83.80, -20.49, 70.55)
CIE-LCHlch(83.80, 73.47, 106.19°)
OKLaboklab(85.33% -0.0634 0.1564)
OKLCHoklch(85.33% 0.169 112.1)
XYZxyz(52.2901, 63.6875, 14.2401)
Luminance0.6369 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D93F #463FD9
analogous
#D9933F #D2D93F #85D93F
triadic
#D2D93F #3FD2D9 #D93FD2
tetradic
#D2D93F #3FD993 #463FD9 #D93F85
square
#D2D93F #3FD993 #463FD9 #D93F85
split-complementary
#D2D93F #3F85D9 #933FD9
monochromatic
#7F841A #B0B724 #D2D93F #DEE372 #EAEDA5

Accessibility & contrast

On white

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

On black

13.74
#D2D93F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D93F
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D93F#FFFFFF#000000##000000
##D2D93F1.001.5313.7413.74
#FFFFFF1.531.0021.0021.00
#00000013.7421.001.001.00
##00000013.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2d93f;
/* rgb */ color: rgb(210, 217, 63);
/* oklch */ color: oklch(85.3% 0.169 112.1);
Tailwind
colors: {
  custom: {
    50: '#e3e47e',
    500: '#d2d93f',
    950: '#000000',
  },
}
SCSS
$custom: #d2d93f;
$custom-light: #e3e47e;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d93f",
  "rgb": {
    "r": 210,
    "g": 217,
    "b": 63
  },
  "hsl": {
    "h": 62.727,
    "s": 66.957,
    "l": 54.902
  },
  "oklch": {
    "l": 0.85333,
    "c": 0.16872,
    "h": 112.1
  },
  "luminance": 0.63686
}

Semantic roles & 50–950 ramp

primary
#D2D93F
secondary
#36328A
accent
#3EEA46
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D2D93F

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

Preview Lab → · Contrast checker → · Palette generator →

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