#D4B93F#D4B93F

#D4B93F is a light, vivid yellow. Relative luminance 0.491; OKLCH L 78.8% C 0.140 H 96.4°. Best body text is #000000 at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#D4B93F
RGBrgb(212, 185, 63)
HSLhsl(49, 63%, 54%)
HSVhsv(49, 70%, 83%)
CMYKcmyk(0%, 12.7%, 70.3%, 16.9%)
CIE-LABlab(75.49, -3.49, 62.44)
CIE-LCHlch(75.49, 62.53, 93.20°)
OKLaboklab(78.75% -0.0156 0.1391)
OKLCHoklch(78.75% 0.14 96.4)
XYZxyz(45.3998, 49.0562, 11.7791)
Luminance0.4905 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4B93F #3F5AD4
analogous
#D46F3F #D4B93F #A4D43F
triadic
#D4B93F #3FD4B9 #B93FD4
tetradic
#D4B93F #3FD46F #3F5AD4 #D43FA4
square
#D4B93F #3FD46F #3F5AD4 #D43FA4
split-complementary
#D4B93F #3FA4D4 #6F3FD4
monochromatic
#7D6B1C #AF9627 #D4B93F #DFCB71 #EADDA3

Accessibility & contrast

On white

1.94
#D4B93F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.81
#D4B93F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4B93F
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4B93F#FFFFFF#000000##000000
##D4B93F1.001.9410.8110.81
#FFFFFF1.941.0021.0021.00
#00000010.8121.001.001.00
##00000010.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB52D
Deuteranopia (green-blind)
#D3BE46
Tritanopia (blue-blind)
#E5ABA0
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #d4b93f;
/* rgb */ color: rgb(212, 185, 63);
/* oklch */ color: oklch(78.8% 0.140 96.4);
Tailwind
colors: {
  custom: {
    50: '#e5cd7b',
    500: '#d4b93f',
    950: '#000000',
  },
}
SCSS
$custom: #d4b93f;
$custom-light: #e5cd7b;
$custom-dark: #000000;
JSON
{
  "hex": "#d4b93f",
  "rgb": {
    "r": 212,
    "g": 185,
    "b": 63
  },
  "hsl": {
    "h": 49.128,
    "s": 63.404,
    "l": 53.922
  },
  "oklch": {
    "l": 0.78753,
    "c": 0.14001,
    "h": 96.4
  },
  "luminance": 0.49054
}

Semantic roles & 50–950 ramp

primary
#D4B93F
secondary
#98A3D7
accent
#5FE641
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D4B93F

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

Preview Lab → · Contrast checker → · Palette generator →

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