#D2D84F#D2D84F

#D2D84F is a very light, vivid yellow. Relative luminance 0.634; OKLCH L 85.2% C 0.157 H 111.7°. Best body text is #000000 at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#D2D84F
RGBrgb(210, 216, 79)
HSLhsl(63, 64%, 58%)
HSVhsv(63, 63%, 85%)
CMYKcmyk(2.8%, 0%, 63.4%, 15.3%)
CIE-LABlab(83.64, -19.12, 64.40)
CIE-LCHlch(83.64, 67.17, 106.54°)
OKLaboklab(85.24% -0.058 0.1459)
OKLCHoklch(85.24% 0.157 111.7)
XYZxyz(52.5470, 63.3791, 16.8610)
Luminance0.6338 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D84F #554FD8
analogous
#D89A4F #D2D84F #8DD84F
triadic
#D2D84F #4FD2D8 #D84FD2
tetradic
#D2D84F #4FD89A #554FD8 #D84F8D
square
#D2D84F #4FD89A #554FD8 #D84F8D
split-complementary
#D2D84F #4F8DD8 #9A4FD8
monochromatic
#888D1F #B9BF2A #D2D84F #DFE381 #ECEEB3

Accessibility & contrast

On white

1.54
#D2D84F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.68
#D2D84F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D84F
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D84F#FFFFFF#000000##000000
##D2D84F1.001.5413.6813.68
#FFFFFF1.541.0021.0021.00
#00000013.6821.001.001.00
##00000013.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CF3D
Deuteranopia (green-blind)
#E8D258
Tritanopia (blue-blind)
#E0CBBC
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d2d84f;
/* rgb */ color: rgb(210, 216, 79);
/* oklch */ color: oklch(85.2% 0.157 111.7);
Tailwind
colors: {
  custom: {
    50: '#e3e387',
    500: '#d2d84f',
    950: '#000000',
  },
}
SCSS
$custom: #d2d84f;
$custom-light: #e3e387;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d84f",
  "rgb": {
    "r": 210,
    "g": 216,
    "b": 79
  },
  "hsl": {
    "h": 62.628,
    "s": 63.721,
    "l": 57.843
  },
  "oklch": {
    "l": 0.85239,
    "c": 0.15702,
    "h": 111.7
  },
  "luminance": 0.63378
}

Semantic roles & 50–950 ramp

primary
#D2D84F
secondary
#3C3893
accent
#41E748
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D2D84F

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

Preview Lab → · Contrast checker → · Palette generator →

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