#D4AB2C#D4AB2C

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

Color values

HEX#D4AB2C
RGBrgb(212, 171, 44)
HSLhsl(45, 66%, 50%)
HSVhsv(45, 79%, 83%)
CMYKcmyk(0%, 19.3%, 79.2%, 16.9%)
CIE-LABlab(71.76, 3.07, 65.77)
CIE-LCHlch(71.76, 65.84, 87.33°)
OKLaboklab(75.78% 0.0011 0.1425)
OKLCHoklch(75.78% 0.143 89.5)
XYZxyz(42.1715, 43.3075, 8.5204)
Luminance0.4330 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4AB2C #2C55D4
analogous
#D4572C #D4AB2C #A9D42C
triadic
#D4AB2C #2CD4AB #AB2CD4
tetradic
#D4AB2C #2CD457 #2C55D4 #D42CA9
square
#D4AB2C #2CD457 #2C55D4 #D42CA9
split-complementary
#D4AB2C #2CA9D4 #572CD4
monochromatic
#6F5917 #A28221 #D4AB2C #DEBF5F #E9D392

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D4AB2C#FFFFFF#000000##000000
##D4AB2C1.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)
#BFA90E
Deuteranopia (green-blind)
#C9B534
Tritanopia (blue-blind)
#E69C93
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #d4ab2c;
/* rgb */ color: rgb(212, 171, 44);
/* oklch */ color: oklch(75.8% 0.143 89.5);
Tailwind
colors: {
  custom: {
    50: '#e6c370',
    500: '#d4ab2c',
    950: '#000000',
  },
}
SCSS
$custom: #d4ab2c;
$custom-light: #e6c370;
$custom-dark: #000000;
JSON
{
  "hex": "#d4ab2c",
  "rgb": {
    "r": 212,
    "g": 171,
    "b": 44
  },
  "hsl": {
    "h": 45.357,
    "s": 66.142,
    "l": 50.196
  },
  "oklch": {
    "l": 0.75776,
    "c": 0.14252,
    "h": 89.5
  },
  "luminance": 0.43305
}

Semantic roles & 50–950 ramp

primary
#D4AB2C
secondary
#889BD3
accent
#68E93F
background
#FEFBF7
surface
#FDF7ED
border
#D5D0C8
text
#171208
muted
#85817B

Preview Lab

Preview with #D4AB2C

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

Preview Lab → · Contrast checker → · Palette generator →

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