#D4AB2A#D4AB2A

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

Color values

HEX#D4AB2A
RGBrgb(212, 171, 42)
HSLhsl(46, 67%, 50%)
HSVhsv(46, 80%, 83%)
CMYKcmyk(0%, 19.3%, 80.2%, 16.9%)
CIE-LABlab(71.75, 3.00, 66.41)
CIE-LCHlch(71.75, 66.47, 87.41°)
OKLaboklab(75.77% 0.0008 0.1435)
OKLCHoklch(75.77% 0.143 89.7)
XYZxyz(42.1348, 43.2928, 8.3271)
Luminance0.4329 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4AB2A #2A53D4
analogous
#D4562A #D4AB2A #A8D42A
triadic
#D4AB2A #2AD4AB #AB2AD4
tetradic
#D4AB2A #2AD456 #2A53D4 #D42AA8
square
#D4AB2A #2AD456 #2A53D4 #D42AA8
split-complementary
#D4AB2A #2AA8D4 #562AD4
monochromatic
#6E5916 #A18220 #D4AB2A #DFBF5C #E9D38F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D4AB2A#FFFFFF#000000##000000
##D4AB2A1.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)
#C0A907
Deuteranopia (green-blind)
#C9B532
Tritanopia (blue-blind)
#E69C93
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #d4ab2a;
/* rgb */ color: rgb(212, 171, 42);
/* oklch */ color: oklch(75.8% 0.143 89.7);
Tailwind
colors: {
  custom: {
    50: '#e6c36f',
    500: '#d4ab2a',
    950: '#000000',
  },
}
SCSS
$custom: #d4ab2a;
$custom-light: #e6c36f;
$custom-dark: #000000;
JSON
{
  "hex": "#d4ab2a",
  "rgb": {
    "r": 212,
    "g": 171,
    "b": 42
  },
  "hsl": {
    "h": 45.529,
    "s": 66.929,
    "l": 49.804
  },
  "oklch": {
    "l": 0.75766,
    "c": 0.14346,
    "h": 89.7
  },
  "luminance": 0.4329
}

Semantic roles & 50–950 ramp

primary
#D4AB2A
secondary
#8699D3
accent
#67EA3E
background
#FEFBF7
surface
#FDF7ED
border
#D5D0C8
text
#171208
muted
#85817B

Preview Lab

Preview with #D4AB2A

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

Preview Lab → · Contrast checker → · Palette generator →

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