#D4AF3B#D4AF3B

#D4AF3B is a light, vivid yellow. Relative luminance 0.450; OKLCH L 76.7% C 0.136 H 90.7°. Best body text is #000000 at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#D4AF3B
RGBrgb(212, 175, 59)
HSLhsl(45, 64%, 53%)
HSVhsv(45, 72%, 83%)
CMYKcmyk(0%, 17.5%, 72.2%, 16.9%)
CIE-LABlab(72.88, 1.56, 61.41)
CIE-LCHlch(72.88, 61.43, 88.54°)
OKLaboklab(76.68% -0.0016 0.1362)
OKLCHoklch(76.68% 0.136 90.7)
XYZxyz(43.2732, 44.9754, 10.5387)
Luminance0.4497 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4AF3B #3B60D4
analogous
#D4623B #D4AF3B #ADD43B
triadic
#D4AF3B #3BD4AF #AF3BD4
tetradic
#D4AF3B #3BD462 #3B60D4 #D43BAD
square
#D4AF3B #3BD462 #3B60D4 #D43BAD
split-complementary
#D4AF3B #3BADD4 #623BD4
monochromatic
#7A631B #AC8C26 #D4AF3B #DFC36D #EAD89F

Accessibility & contrast

On white

2.10
#D4AF3B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.99
#D4AF3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4AF3B
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4AF3B#FFFFFF#000000##000000
##D4AF3B1.002.109.999.99
#FFFFFF2.101.0021.0021.00
#0000009.9921.001.001.00
##0000009.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AD2A
Deuteranopia (green-blind)
#CCB741
Tritanopia (blue-blind)
#E5A098
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #d4af3b;
/* rgb */ color: rgb(212, 175, 59);
/* oklch */ color: oklch(76.7% 0.136 90.7);
Tailwind
colors: {
  custom: {
    50: '#e5c678',
    500: '#d4af3b',
    950: '#000000',
  },
}
SCSS
$custom: #d4af3b;
$custom-light: #e5c678;
$custom-dark: #000000;
JSON
{
  "hex": "#d4af3b",
  "rgb": {
    "r": 212,
    "g": 175,
    "b": 59
  },
  "hsl": {
    "h": 45.49,
    "s": 64.017,
    "l": 53.137
  },
  "oklch": {
    "l": 0.76682,
    "c": 0.13623,
    "h": 90.7
  },
  "luminance": 0.44973
}

Semantic roles & 50–950 ramp

primary
#D4AF3B
secondary
#94A4D6
accent
#69E741
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #D4AF3B

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

Preview Lab → · Contrast checker → · Palette generator →

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