#D2AD38#D2AD38

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

Color values

HEX#D2AD38
RGBrgb(210, 173, 56)
HSLhsl(46, 63%, 52%)
HSVhsv(46, 73%, 82%)
CMYKcmyk(0%, 17.6%, 73.3%, 17.6%)
CIE-LABlab(72.15, 1.62, 61.79)
CIE-LCHlch(72.15, 61.81, 88.50°)
OKLaboklab(76.05% -0.0017 0.1365)
OKLCHoklch(76.05% 0.137 90.7)
XYZxyz(42.2381, 43.8769, 9.9850)
Luminance0.4387 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2AD38 #385DD2
analogous
#D26038 #D2AD38 #AAD238
triadic
#D2AD38 #38D2AD #AD38D2
tetradic
#D2AD38 #38D260 #385DD2 #D238AA
square
#D2AD38 #38D260 #385DD2 #D238AA
split-complementary
#D2AD38 #38AAD2 #6038D2
monochromatic
#755F1A #A78826 #D2AD38 #DDC26A #E9D69C

Accessibility & contrast

On white

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

On black

9.77
#D2AD38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2AD38
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2AD38#FFFFFF#000000##000000
##D2AD381.002.159.779.77
#FFFFFF2.151.0021.0021.00
#0000009.7721.001.001.00
##0000009.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AB26
Deuteranopia (green-blind)
#CAB53E
Tritanopia (blue-blind)
#E39E96
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #d2ad38;
/* rgb */ color: rgb(210, 173, 56);
/* oklch */ color: oklch(76.1% 0.137 90.7);
Tailwind
colors: {
  custom: {
    50: '#e4c576',
    500: '#d2ad38',
    950: '#000000',
  },
}
SCSS
$custom: #d2ad38;
$custom-light: #e4c576;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ad38",
  "rgb": {
    "r": 210,
    "g": 173,
    "b": 56
  },
  "hsl": {
    "h": 45.584,
    "s": 63.115,
    "l": 52.157
  },
  "oklch": {
    "l": 0.76055,
    "c": 0.13655,
    "h": 90.7
  },
  "luminance": 0.43874
}

Semantic roles & 50–950 ramp

primary
#D2AD38
secondary
#91A1D5
accent
#69E642
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#161209
muted
#84817B

Preview Lab

Preview with #D2AD38

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

Preview Lab → · Contrast checker → · Palette generator →

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