#D2D030#D2D030

#D2D030 is a very light, vivid yellow. Relative luminance 0.590; OKLCH L 83.3% C 0.168 H 108.8°. Best body text is #000000 at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#D2D030
RGBrgb(210, 208, 48)
HSLhsl(59, 64%, 51%)
HSVhsv(59, 77%, 82%)
CMYKcmyk(0%, 1%, 77.1%, 17.6%)
CIE-LABlab(81.31, -16.69, 73.03)
CIE-LCHlch(81.31, 74.92, 102.87°)
OKLaboklab(83.31% -0.0541 0.159)
OKLCHoklch(83.31% 0.168 108.8)
XYZxyz(49.6697, 59.0284, 11.5729)
Luminance0.5903 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D030 #3032D2
analogous
#D27F30 #D2D030 #83D230
triadic
#D2D030 #30D2D0 #D030D2
tetradic
#D2D030 #30D27F #3032D2 #D23083
square
#D2D030 #30D27F #3032D2 #D23083
split-complementary
#D2D030 #3083D2 #7F30D2
monochromatic
#6F6E18 #A2A023 #D2D030 #DDDB62 #E8E795

Accessibility & contrast

On white

1.64
#D2D030 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.81
#D2D030 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D030
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D030#FFFFFF#000000##000000
##D2D0301.001.6412.8112.81
#FFFFFF1.641.0021.0021.00
#00000012.8121.001.001.00
##00000012.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C700
Deuteranopia (green-blind)
#E4CC3E
Tritanopia (blue-blind)
#E1C2B3
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d2d030;
/* rgb */ color: rgb(210, 208, 48);
/* oklch */ color: oklch(83.3% 0.168 108.8);
Tailwind
colors: {
  custom: {
    50: '#e4de76',
    500: '#d2d030',
    950: '#000000',
  },
}
SCSS
$custom: #d2d030;
$custom-light: #e4de76;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d030",
  "rgb": {
    "r": 210,
    "g": 208,
    "b": 48
  },
  "hsl": {
    "h": 59.259,
    "s": 64.286,
    "l": 50.588
  },
  "oklch": {
    "l": 0.83314,
    "c": 0.16794,
    "h": 108.8
  },
  "luminance": 0.59027
}

Semantic roles & 50–950 ramp

primary
#D2D030
secondary
#2E2F78
accent
#43E741
background
#FFFEFB
surface
#FEFCF1
border
#D6D5CB
text
#161509
muted
#85847D

Preview Lab

Preview with #D2D030

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

Preview Lab → · Contrast checker → · Palette generator →

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