#D2D13F#D2D13F

#D2D13F is a very light, vivid yellow. Relative luminance 0.597; OKLCH L 83.6% C 0.161 H 109.0°. Best body text is #000000 at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#D2D13F
RGBrgb(210, 209, 63)
HSLhsl(60, 62%, 54%)
HSVhsv(60, 70%, 82%)
CMYKcmyk(0%, 0.5%, 70%, 17.6%)
CIE-LABlab(81.65, -16.55, 68.47)
CIE-LCHlch(81.65, 70.44, 103.59°)
OKLaboklab(83.62% -0.0524 0.152)
OKLCHoklch(83.62% 0.161 109)
XYZxyz(50.2778, 59.6630, 13.5693)
Luminance0.5966 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D13F #3F40D2
analogous
#D2873F #D2D13F #89D23F
triadic
#D2D13F #3FD2D1 #D13FD2
tetradic
#D2D13F #3FD287 #3F40D2 #D23F89
square
#D2D13F #3FD287 #3F40D2 #D23F89
split-complementary
#D2D13F #3F89D2 #873FD2
monochromatic
#7A791D #ACAB28 #D2D13F #DEDD71 #E9E9A2

Accessibility & contrast

On white

1.62
#D2D13F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.93
#D2D13F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D13F
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D13F#FFFFFF#000000##000000
##D2D13F1.001.6212.9312.93
#FFFFFF1.621.0021.0021.00
#00000012.9321.001.001.00
##00000012.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C826
Deuteranopia (green-blind)
#E4CD4A
Tritanopia (blue-blind)
#E1C4B4
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d2d13f;
/* rgb */ color: rgb(210, 209, 63);
/* oklch */ color: oklch(83.6% 0.161 109.0);
Tailwind
colors: {
  custom: {
    50: '#e3de7d',
    500: '#d2d13f',
    950: '#000000',
  },
}
SCSS
$custom: #d2d13f;
$custom-light: #e3de7d;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d13f",
  "rgb": {
    "r": 210,
    "g": 209,
    "b": 63
  },
  "hsl": {
    "h": 59.592,
    "s": 62.025,
    "l": 53.529
  },
  "oklch": {
    "l": 0.83616,
    "c": 0.16074,
    "h": 109
  },
  "luminance": 0.59661
}

Semantic roles & 50–950 ramp

primary
#D2D13F
secondary
#333482
accent
#44E543
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #D2D13F

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

Preview Lab → · Contrast checker → · Palette generator →

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