#D2D14F#D2D14F

#D2D14F 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#D2D14F
RGBrgb(210, 209, 79)
HSLhsl(60, 59%, 57%)
HSVhsv(60, 62%, 82%)
CMYKcmyk(0%, 0.5%, 62.4%, 17.6%)
CIE-LABlab(81.77, -15.66, 62.42)
CIE-LCHlch(81.77, 64.35, 104.08°)
OKLaboklab(83.74% -0.0483 0.1417)
OKLCHoklch(83.74% 0.15 108.8)
XYZxyz(50.7917, 59.8685, 16.2759)
Luminance0.5987 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D14F #4F50D2
analogous
#D2904F #D2D14F #92D24F
triadic
#D2D14F #4FD2D1 #D14FD2
tetradic
#D2D14F #4FD290 #4F50D2 #D24F92
square
#D2D14F #4FD290 #4F50D2 #D24F92
split-complementary
#D2D14F #4F92D2 #904FD2
monochromatic
#858422 #B5B42E #D2D14F #DEDE80 #EBEAB0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2D14F#FFFFFF#000000##000000
##D2D14F1.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)
#E1C93F
Deuteranopia (green-blind)
#E3CD57
Tritanopia (blue-blind)
#E0C4B6
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d2d14f;
/* rgb */ color: rgb(210, 209, 79);
/* oklch */ color: oklch(83.7% 0.150 108.8);
Tailwind
colors: {
  custom: {
    50: '#e3de86',
    500: '#d2d14f',
    950: '#000000',
  },
}
SCSS
$custom: #d2d14f;
$custom-light: #e3de86;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d14f",
  "rgb": {
    "r": 210,
    "g": 209,
    "b": 79
  },
  "hsl": {
    "h": 59.542,
    "s": 59.276,
    "l": 56.667
  },
  "oklch": {
    "l": 0.83742,
    "c": 0.14973,
    "h": 108.8
  },
  "luminance": 0.59867
}

Semantic roles & 50–950 ramp

primary
#D2D14F
secondary
#3A3A8C
accent
#47E245
background
#FEFEFC
surface
#FDFCF3
border
#D5D5CD
text
#16150C
muted
#84847F

Preview Lab

Preview with #D2D14F

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

Preview Lab → · Contrast checker → · Palette generator →

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