#D2D93B#D2D93B

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

Color values

HEX#D2D93B
RGBrgb(210, 217, 59)
HSLhsl(63, 68%, 54%)
HSVhsv(63, 73%, 85%)
CMYKcmyk(3.2%, 0%, 72.8%, 14.9%)
CIE-LABlab(83.78, -20.67, 71.88)
CIE-LCHlch(83.78, 74.80, 106.04°)
OKLaboklab(85.31% -0.0643 0.1585)
OKLCHoklch(85.31% 0.171 112.1)
XYZxyz(52.1823, 63.6444, 13.6726)
Luminance0.6364 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D93B #423BD9
analogous
#D9913B #D2D93B #83D93B
triadic
#D2D93B #3BD2D9 #D93BD2
tetradic
#D2D93B #3BD991 #423BD9 #D93B83
square
#D2D93B #3BD991 #423BD9 #D93B83
split-complementary
#D2D93B #3B83D9 #913BD9
monochromatic
#7C8119 #ADB423 #D2D93B #DEE36E #EAEDA2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2D93B#FFFFFF#000000##000000
##D2D93B1.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)
#EACF1A
Deuteranopia (green-blind)
#EAD348
Tritanopia (blue-blind)
#E0CCBB
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d2d93b;
/* rgb */ color: rgb(210, 217, 59);
/* oklch */ color: oklch(85.3% 0.171 112.1);
Tailwind
colors: {
  custom: {
    50: '#e4e47c',
    500: '#d2d93b',
    950: '#000000',
  },
}
SCSS
$custom: #d2d93b;
$custom-light: #e4e47c;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d93b",
  "rgb": {
    "r": 210,
    "g": 217,
    "b": 59
  },
  "hsl": {
    "h": 62.658,
    "s": 67.521,
    "l": 54.118
  },
  "oklch": {
    "l": 0.85308,
    "c": 0.17102,
    "h": 112.1
  },
  "luminance": 0.63643
}

Semantic roles & 50–950 ramp

primary
#D2D93B
secondary
#343188
accent
#3DEA45
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150A
muted
#85847D

Preview Lab

Preview with #D2D93B

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

Preview Lab → · Contrast checker → · Palette generator →

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