#D2D94F#D2D94F

#D2D94F is a very light, vivid yellow. Relative luminance 0.639; OKLCH L 85.5% C 0.158 H 112.1°. Best body text is #000000 at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#D2D94F
RGBrgb(210, 217, 79)
HSLhsl(63, 64%, 58%)
HSVhsv(63, 64%, 85%)
CMYKcmyk(3.2%, 0%, 63.6%, 14.9%)
CIE-LABlab(83.91, -19.61, 64.68)
CIE-LCHlch(83.91, 67.58, 106.87°)
OKLaboklab(85.45% -0.0594 0.1465)
OKLCHoklch(85.45% 0.158 112.1)
XYZxyz(52.8040, 63.8930, 16.9466)
Luminance0.6389 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D94F #564FD9
analogous
#D99B4F #D2D94F #8DD94F
triadic
#D2D94F #4FD2D9 #D94FD2
tetradic
#D2D94F #4FD99B #564FD9 #D94F8D
square
#D2D94F #4FD99B #564FD9 #D94F8D
split-complementary
#D2D94F #4F8DD9 #9B4FD9
monochromatic
#898F1F #B9C12A #D2D94F #DFE481 #ECEFB4

Accessibility & contrast

On white

1.52
#D2D94F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.78
#D2D94F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D94F
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D94F#FFFFFF#000000##000000
##D2D94F1.001.5213.7813.78
#FFFFFF1.521.0021.0021.00
#00000013.7821.001.001.00
##00000013.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9CF3D
Deuteranopia (green-blind)
#E9D358
Tritanopia (blue-blind)
#E0CCBD
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d2d94f;
/* rgb */ color: rgb(210, 217, 79);
/* oklch */ color: oklch(85.5% 0.158 112.1);
Tailwind
colors: {
  custom: {
    50: '#e3e487',
    500: '#d2d94f',
    950: '#000000',
  },
}
SCSS
$custom: #d2d94f;
$custom-light: #e3e487;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d94f",
  "rgb": {
    "r": 210,
    "g": 217,
    "b": 79
  },
  "hsl": {
    "h": 63.043,
    "s": 64.486,
    "l": 58.039
  },
  "oklch": {
    "l": 0.85454,
    "c": 0.1581,
    "h": 112.1
  },
  "luminance": 0.63892
}

Semantic roles & 50–950 ramp

primary
#D2D94F
secondary
#3D3894
accent
#40E749
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D2D94F

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

Preview Lab → · Contrast checker → · Palette generator →

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