#D4AE2D#D4AE2D

#D4AE2D is a light, vivid yellow. Relative luminance 0.445; OKLCH L 76.4% C 0.144 H 91.3°. Best body text is #000000 at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#D4AE2D
RGBrgb(212, 174, 45)
HSLhsl(46, 66%, 50%)
HSVhsv(46, 79%, 83%)
CMYKcmyk(0%, 17.9%, 78.8%, 16.9%)
CIE-LABlab(72.54, 1.51, 66.14)
CIE-LCHlch(72.54, 66.16, 88.69°)
OKLaboklab(76.39% -0.0032 0.1435)
OKLCHoklch(76.39% 0.144 91.3)
XYZxyz(42.7636, 44.4613, 8.8116)
Luminance0.4446 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4AE2D #2D53D4
analogous
#D45A2D #D4AE2D #A7D42D
triadic
#D4AE2D #2DD4AE #AE2DD4
tetradic
#D4AE2D #2DD45A #2D53D4 #D42DA7
square
#D4AE2D #2DD45A #2D53D4 #D42DA7
split-complementary
#D4AE2D #2DA7D4 #5A2DD4
monochromatic
#705C17 #A38521 #D4AE2D #DEC260 #E9D593

Accessibility & contrast

On white

2.12
#D4AE2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.89
#D4AE2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4AE2D
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4AE2D#FFFFFF#000000##000000
##D4AE2D1.002.129.899.89
#FFFFFF2.121.0021.0021.00
#0000009.8921.001.001.00
##0000009.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC0F
Deuteranopia (green-blind)
#CBB635
Tritanopia (blue-blind)
#E69F96
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #d4ae2d;
/* rgb */ color: rgb(212, 174, 45);
/* oklch */ color: oklch(76.4% 0.144 91.3);
Tailwind
colors: {
  custom: {
    50: '#e6c571',
    500: '#d4ae2d',
    950: '#000000',
  },
}
SCSS
$custom: #d4ae2d;
$custom-light: #e6c571;
$custom-dark: #000000;
JSON
{
  "hex": "#d4ae2d",
  "rgb": {
    "r": 212,
    "g": 174,
    "b": 45
  },
  "hsl": {
    "h": 46.347,
    "s": 66.008,
    "l": 50.392
  },
  "oklch": {
    "l": 0.76387,
    "c": 0.14356,
    "h": 91.3
  },
  "luminance": 0.44459
}

Semantic roles & 50–950 ramp

primary
#D4AE2D
secondary
#899AD4
accent
#66E93F
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#171208
muted
#85817B

Preview Lab

Preview with #D4AE2D

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

Preview Lab → · Contrast checker → · Palette generator →

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