#D4AB2D#D4AB2D

#D4AB2D is a light, vivid yellow. Relative luminance 0.433; OKLCH L 75.8% C 0.142 H 89.5°. Best body text is #000000 at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#D4AB2D
RGBrgb(212, 171, 45)
HSLhsl(45, 66%, 50%)
HSVhsv(45, 79%, 83%)
CMYKcmyk(0%, 19.3%, 78.8%, 16.9%)
CIE-LABlab(71.77, 3.10, 65.45)
CIE-LCHlch(71.77, 65.52, 87.29°)
OKLaboklab(75.78% 0.0013 0.142)
OKLCHoklch(75.78% 0.142 89.5)
XYZxyz(42.1905, 43.3151, 8.6206)
Luminance0.4331 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4AB2D #2D56D4
analogous
#D4572D #D4AB2D #AAD42D
triadic
#D4AB2D #2DD4AB #AB2DD4
tetradic
#D4AB2D #2DD457 #2D56D4 #D42DAA
square
#D4AB2D #2DD457 #2D56D4 #D42DAA
split-complementary
#D4AB2D #2DAAD4 #572DD4
monochromatic
#705A17 #A38321 #D4AB2D #DEBF60 #E9D493

Accessibility & contrast

On white

2.17
#D4AB2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.66
#D4AB2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4AB2D
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4AB2D#FFFFFF#000000##000000
##D4AB2D1.002.179.669.66
#FFFFFF2.171.0021.0021.00
#0000009.6621.001.001.00
##0000009.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA911
Deuteranopia (green-blind)
#C9B535
Tritanopia (blue-blind)
#E69C93
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #d4ab2d;
/* rgb */ color: rgb(212, 171, 45);
/* oklch */ color: oklch(75.8% 0.142 89.5);
Tailwind
colors: {
  custom: {
    50: '#e6c370',
    500: '#d4ab2d',
    950: '#000000',
  },
}
SCSS
$custom: #d4ab2d;
$custom-light: #e6c370;
$custom-dark: #000000;
JSON
{
  "hex": "#d4ab2d",
  "rgb": {
    "r": 212,
    "g": 171,
    "b": 45
  },
  "hsl": {
    "h": 45.269,
    "s": 66.008,
    "l": 50.392
  },
  "oklch": {
    "l": 0.75782,
    "c": 0.14204,
    "h": 89.5
  },
  "luminance": 0.43312
}

Semantic roles & 50–950 ramp

primary
#D4AB2D
secondary
#899BD4
accent
#69E93F
background
#FEFBF7
surface
#FDF7ED
border
#D5D0C8
text
#171208
muted
#85817B

Preview Lab

Preview with #D4AB2D

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

Preview Lab → · Contrast checker → · Palette generator →

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