#D2AD3E#D2AD3E

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

Color values

HEX#D2AD3E
RGBrgb(210, 173, 62)
HSLhsl(45, 62%, 53%)
HSVhsv(45, 70%, 82%)
CMYKcmyk(0%, 17.6%, 70.5%, 17.6%)
CIE-LABlab(72.19, 1.90, 59.45)
CIE-LCHlch(72.19, 59.48, 88.17°)
OKLaboklab(76.1% -0.0001 0.1327)
OKLCHoklch(76.1% 0.133 90.1)
XYZxyz(42.3937, 43.9392, 10.8047)
Luminance0.4394 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2AD3E #3E63D2
analogous
#D2633E #D2AD3E #ADD23E
triadic
#D2AD3E #3ED2AD #AD3ED2
tetradic
#D2AD3E #3ED263 #3E63D2 #D23EAD
square
#D2AD3E #3ED263 #3E63D2 #D23EAD
split-complementary
#D2AD3E #3EADD2 #633ED2
monochromatic
#79621C #AB8A28 #D2AD3E #DEC270 #E9D7A1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2AD3E#FFFFFF#000000##000000
##D2AD3E1.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)
#C0AB2F
Deuteranopia (green-blind)
#C9B544
Tritanopia (blue-blind)
#E39F96
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #d2ad3e;
/* rgb */ color: rgb(210, 173, 62);
/* oklch */ color: oklch(76.1% 0.133 90.1);
Tailwind
colors: {
  custom: {
    50: '#e4c57a',
    500: '#d2ad3e',
    950: '#000000',
  },
}
SCSS
$custom: #d2ad3e;
$custom-light: #e4c57a;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ad3e",
  "rgb": {
    "r": 210,
    "g": 173,
    "b": 62
  },
  "hsl": {
    "h": 45,
    "s": 62.185,
    "l": 53.333
  },
  "oklch": {
    "l": 0.76101,
    "c": 0.13272,
    "h": 90.1
  },
  "luminance": 0.43937
}

Semantic roles & 50–950 ramp

primary
#D2AD3E
secondary
#96A6D6
accent
#6BE543
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#161209
muted
#84817B

Preview Lab

Preview with #D2AD3E

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

Preview Lab → · Contrast checker → · Palette generator →

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