#D2D14E#D2D14E

#D2D14E is a very light, vivid yellow. Relative luminance 0.599; OKLCH L 83.7% C 0.150 H 108.8°. Best body text is #000000 at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#D2D14E
RGBrgb(210, 209, 78)
HSLhsl(60, 59%, 56%)
HSVhsv(60, 63%, 82%)
CMYKcmyk(0%, 0.5%, 62.9%, 17.6%)
CIE-LABlab(81.76, -15.72, 62.82)
CIE-LCHlch(81.76, 64.76, 104.05°)
OKLaboklab(83.73% -0.0486 0.1424)
OKLCHoklch(83.73% 0.151 108.8)
XYZxyz(50.7556, 59.8541, 16.0856)
Luminance0.5985 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D14E #4E4FD2
analogous
#D28F4E #D2D14E #91D24E
triadic
#D2D14E #4ED2D1 #D14ED2
tetradic
#D2D14E #4ED28F #4E4FD2 #D24E91
square
#D2D14E #4ED28F #4E4FD2 #D24E91
split-complementary
#D2D14E #4E91D2 #8F4ED2
monochromatic
#848322 #B5B42E #D2D14E #DEDE7F #EBEAB0

Accessibility & contrast

On white

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

On black

12.97
#D2D14E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D14E
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D14E#FFFFFF#000000##000000
##D2D14E1.001.6212.9712.97
#FFFFFF1.621.0021.0021.00
#00000012.9721.001.001.00
##00000012.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C93D
Deuteranopia (green-blind)
#E3CD56
Tritanopia (blue-blind)
#E0C4B6
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d2d14e;
/* rgb */ color: rgb(210, 209, 78);
/* oklch */ color: oklch(83.7% 0.150 108.8);
Tailwind
colors: {
  custom: {
    50: '#e3de86',
    500: '#d2d14e',
    950: '#000000',
  },
}
SCSS
$custom: #d2d14e;
$custom-light: #e3de86;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d14e",
  "rgb": {
    "r": 210,
    "g": 209,
    "b": 78
  },
  "hsl": {
    "h": 59.545,
    "s": 59.459,
    "l": 56.471
  },
  "oklch": {
    "l": 0.83733,
    "c": 0.1505,
    "h": 108.8
  },
  "luminance": 0.59853
}

Semantic roles & 50–950 ramp

primary
#D2D14E
secondary
#393A8B
accent
#46E345
background
#FEFEFC
surface
#FDFCF3
border
#D5D5CD
text
#16150C
muted
#84847F

Preview Lab

Preview with #D2D14E

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

Preview Lab → · Contrast checker → · Palette generator →

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