#D2D949#D2D949

#D2D949 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#D2D949
RGBrgb(210, 217, 73)
HSLhsl(63, 65%, 57%)
HSVhsv(63, 66%, 85%)
CMYKcmyk(3.2%, 0%, 66.4%, 14.9%)
CIE-LABlab(83.87, -19.97, 66.98)
CIE-LCHlch(83.87, 69.89, 106.60°)
OKLaboklab(85.41% -0.061 0.1505)
OKLCHoklch(85.41% 0.162 112.1)
XYZxyz(52.5954, 63.8096, 15.8479)
Luminance0.6381 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D949 #5049D9
analogous
#D99849 #D2D949 #8AD949
triadic
#D2D949 #49D2D9 #D949D2
tetradic
#D2D949 #49D998 #5049D9 #D9498A
square
#D2D949 #49D998 #5049D9 #D9498A
split-complementary
#D2D949 #498AD9 #9849D9
monochromatic
#858B1D #B6BD28 #D2D949 #DFE47C #EBEEAE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2D949#FFFFFF#000000##000000
##D2D9491.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)
#E9CF34
Deuteranopia (green-blind)
#E9D353
Tritanopia (blue-blind)
#E0CCBC
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d2d949;
/* rgb */ color: rgb(210, 217, 73);
/* oklch */ color: oklch(85.4% 0.162 112.1);
Tailwind
colors: {
  custom: {
    50: '#e3e483',
    500: '#d2d949',
    950: '#000000',
  },
}
SCSS
$custom: #d2d949;
$custom-light: #e3e483;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d949",
  "rgb": {
    "r": 210,
    "g": 217,
    "b": 73
  },
  "hsl": {
    "h": 62.917,
    "s": 65.455,
    "l": 56.863
  },
  "oklch": {
    "l": 0.85405,
    "c": 0.16235,
    "h": 112.1
  },
  "luminance": 0.63808
}

Semantic roles & 50–950 ramp

primary
#D2D949
secondary
#3A3691
accent
#3FE848
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D2D949

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

Preview Lab → · Contrast checker → · Palette generator →

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