#D2D94A#D2D94A

#D2D94A is a very light, vivid yellow. Relative luminance 0.638; OKLCH L 85.4% C 0.162 H 112.1°. Best body text is #000000 at 13.76:1 contrast (WCAG AA passes).

Color values

HEX#D2D94A
RGBrgb(210, 217, 74)
HSLhsl(63, 65%, 57%)
HSVhsv(63, 66%, 85%)
CMYKcmyk(3.2%, 0%, 65.9%, 14.9%)
CIE-LABlab(83.87, -19.91, 66.60)
CIE-LCHlch(83.87, 69.52, 106.64°)
OKLaboklab(85.41% -0.0608 0.1498)
OKLCHoklch(85.41% 0.162 112.1)
XYZxyz(52.6288, 63.8230, 16.0239)
Luminance0.6382 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D94A #514AD9
analogous
#D9994A #D2D94A #8BD94A
triadic
#D2D94A #4AD2D9 #D94AD2
tetradic
#D2D94A #4AD999 #514AD9 #D94A8B
square
#D2D94A #4AD999 #514AD9 #D94A8B
split-complementary
#D2D94A #4A8BD9 #994AD9
monochromatic
#868B1D #B7BE28 #D2D94A #DFE47D #EBEEAF

Accessibility & contrast

On white

1.53
#D2D94A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.76
#D2D94A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D94A
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D94A#FFFFFF#000000##000000
##D2D94A1.001.5313.7613.76
#FFFFFF1.531.0021.0021.00
#00000013.7621.001.001.00
##00000013.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9CF35
Deuteranopia (green-blind)
#E9D354
Tritanopia (blue-blind)
#E0CCBC
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d2d94a;
/* rgb */ color: rgb(210, 217, 74);
/* oklch */ color: oklch(85.4% 0.162 112.1);
Tailwind
colors: {
  custom: {
    50: '#e3e484',
    500: '#d2d94a',
    950: '#000000',
  },
}
SCSS
$custom: #d2d94a;
$custom-light: #e3e484;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d94a",
  "rgb": {
    "r": 210,
    "g": 217,
    "b": 74
  },
  "hsl": {
    "h": 62.937,
    "s": 65.297,
    "l": 57.059
  },
  "oklch": {
    "l": 0.85413,
    "c": 0.16166,
    "h": 112.1
  },
  "luminance": 0.63822
}

Semantic roles & 50–950 ramp

primary
#D2D94A
secondary
#3B3691
accent
#40E848
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D2D94A

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

Preview Lab → · Contrast checker → · Palette generator →

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