#D4AE3B#D4AE3B

#D4AE3B is a light, vivid yellow. Relative luminance 0.446; OKLCH L 76.5% C 0.136 H 90.0°. Best body text is #000000 at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#D4AE3B
RGBrgb(212, 174, 59)
HSLhsl(45, 64%, 53%)
HSVhsv(45, 72%, 83%)
CMYKcmyk(0%, 17.9%, 72.2%, 16.9%)
CIE-LABlab(72.62, 2.09, 61.15)
CIE-LCHlch(72.62, 61.19, 88.04°)
OKLaboklab(76.48% -0.0001 0.1357)
OKLCHoklch(76.48% 0.136 90)
XYZxyz(43.0793, 44.5876, 10.4741)
Luminance0.4459 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4AE3B #3B61D4
analogous
#D4613B #D4AE3B #ADD43B
triadic
#D4AE3B #3BD4AE #AE3BD4
tetradic
#D4AE3B #3BD461 #3B61D4 #D43BAD
square
#D4AE3B #3BD461 #3B61D4 #D43BAD
split-complementary
#D4AE3B #3BADD4 #613BD4
monochromatic
#7A621B #AC8B26 #D4AE3B #DFC36D #EAD79F

Accessibility & contrast

On white

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

On black

9.92
#D4AE3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4AE3B
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4AE3B#FFFFFF#000000##000000
##D4AE3B1.002.129.929.92
#FFFFFF2.121.0021.0021.00
#0000009.9221.001.001.00
##0000009.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC2A
Deuteranopia (green-blind)
#CBB741
Tritanopia (blue-blind)
#E59F97
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #d4ae3b;
/* rgb */ color: rgb(212, 174, 59);
/* oklch */ color: oklch(76.5% 0.136 90.0);
Tailwind
colors: {
  custom: {
    50: '#e5c578',
    500: '#d4ae3b',
    950: '#000000',
  },
}
SCSS
$custom: #d4ae3b;
$custom-light: #e5c578;
$custom-dark: #000000;
JSON
{
  "hex": "#d4ae3b",
  "rgb": {
    "r": 212,
    "g": 174,
    "b": 59
  },
  "hsl": {
    "h": 45.098,
    "s": 64.017,
    "l": 53.137
  },
  "oklch": {
    "l": 0.7648,
    "c": 0.13569,
    "h": 90
  },
  "luminance": 0.44585
}

Semantic roles & 50–950 ramp

primary
#D4AE3B
secondary
#94A5D6
accent
#6AE741
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#161209
muted
#84817B

Preview Lab

Preview with #D4AE3B

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

Preview Lab → · Contrast checker → · Palette generator →

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