#D2AD3D#D2AD3D

#D2AD3D is a light, vivid yellow. Relative luminance 0.439; OKLCH L 76.1% C 0.133 H 90.2°. Best body text is #000000 at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#D2AD3D
RGBrgb(210, 173, 61)
HSLhsl(45, 62%, 53%)
HSVhsv(45, 71%, 82%)
CMYKcmyk(0%, 17.6%, 71%, 17.6%)
CIE-LABlab(72.18, 1.85, 59.85)
CIE-LCHlch(72.18, 59.88, 88.23°)
OKLaboklab(76.09% -0.0004 0.1334)
OKLCHoklch(76.09% 0.133 90.2)
XYZxyz(42.3666, 43.9283, 10.6615)
Luminance0.4393 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2AD3D #3D62D2
analogous
#D2633D #D2AD3D #ACD23D
triadic
#D2AD3D #3DD2AD #AD3DD2
tetradic
#D2AD3D #3DD263 #3D62D2 #D23DAC
square
#D2AD3D #3DD263 #3D62D2 #D23DAC
split-complementary
#D2AD3D #3DACD2 #633DD2
monochromatic
#79621C #AA8A28 #D2AD3D #DEC26F #E9D7A0

Accessibility & contrast

On white

2.15
#D2AD3D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.79
#D2AD3D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2AD3D
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2AD3D#FFFFFF#000000##000000
##D2AD3D1.002.159.799.79
#FFFFFF2.151.0021.0021.00
#0000009.7921.001.001.00
##0000009.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AB2D
Deuteranopia (green-blind)
#C9B543
Tritanopia (blue-blind)
#E39F96
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #d2ad3d;
/* rgb */ color: rgb(210, 173, 61);
/* oklch */ color: oklch(76.1% 0.133 90.2);
Tailwind
colors: {
  custom: {
    50: '#e4c579',
    500: '#d2ad3d',
    950: '#000000',
  },
}
SCSS
$custom: #d2ad3d;
$custom-light: #e4c579;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ad3d",
  "rgb": {
    "r": 210,
    "g": 173,
    "b": 61
  },
  "hsl": {
    "h": 45.101,
    "s": 62.343,
    "l": 53.137
  },
  "oklch": {
    "l": 0.76093,
    "c": 0.13338,
    "h": 90.2
  },
  "luminance": 0.43926
}

Semantic roles & 50–950 ramp

primary
#D2AD3D
secondary
#95A5D6
accent
#6BE542
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#161209
muted
#84817B

Preview Lab

Preview with #D2AD3D

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

Preview Lab → · Contrast checker → · Palette generator →

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