#D4B91C#D4B91C

#D4B91C is a light, vivid yellow. Relative luminance 0.488; OKLCH L 78.6% C 0.157 H 98.1°. Best body text is #000000 at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#D4B91C
RGBrgb(212, 185, 28)
HSLhsl(51, 77%, 47%)
HSVhsv(51, 87%, 83%)
CMYKcmyk(0%, 12.7%, 86.8%, 16.9%)
CIE-LABlab(75.32, -4.73, 73.12)
CIE-LCHlch(75.32, 73.27, 93.70°)
OKLaboklab(78.56% -0.0222 0.1554)
OKLCHoklch(78.56% 0.157 98.1)
XYZxyz(44.7124, 48.7813, 8.1590)
Luminance0.4878 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4B91C #1C37D4
analogous
#D45D1C #D4B91C #93D41C
triadic
#D4B91C #1CD4B9 #B91CD4
tetradic
#D4B91C #1CD45D #1C37D4 #D41C93
square
#D4B91C #1CD45D #1C37D4 #D41C93
split-complementary
#D4B91C #1C93D4 #5D1CD4
monochromatic
#685B0E #9E8A15 #D4B91C #E7CF47 #EEDD7D

Accessibility & contrast

On white

1.95
#D4B91C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.76
#D4B91C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4B91C
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4B91C#FFFFFF#000000##000000
##D4B91C1.001.9510.7610.76
#FFFFFF1.951.0021.0021.00
#00000010.7621.001.001.00
##00000010.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB400
Deuteranopia (green-blind)
#D4BD2B
Tritanopia (blue-blind)
#E5AA9E
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #d4b91c;
/* rgb */ color: rgb(212, 185, 28);
/* oklch */ color: oklch(78.6% 0.157 98.1);
Tailwind
colors: {
  custom: {
    50: '#e6cd6c',
    500: '#d4b91c',
    950: '#000000',
  },
}
SCSS
$custom: #d4b91c;
$custom-light: #e6cd6c;
$custom-dark: #000000;
JSON
{
  "hex": "#d4b91c",
  "rgb": {
    "r": 212,
    "g": 185,
    "b": 28
  },
  "hsl": {
    "h": 51.196,
    "s": 76.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.78563,
    "c": 0.15702,
    "h": 98.1
  },
  "luminance": 0.48779
}

Semantic roles & 50–950 ramp

primary
#D4B91C
secondary
#7684D6
accent
#51F335
background
#FEFCF6
surface
#FDF8EC
border
#D5D1C7
text
#171308
muted
#85827A

Preview Lab

Preview with #D4B91C

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

Preview Lab → · Contrast checker → · Palette generator →

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