#D4BB45#D4BB45

#D4BB45 is a light, vivid yellow. Relative luminance 0.500; OKLCH L 79.2% C 0.137 H 97.1°. Best body text is #000000 at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#D4BB45
RGBrgb(212, 187, 69)
HSLhsl(50, 62%, 55%)
HSVhsv(50, 67%, 83%)
CMYKcmyk(0%, 11.8%, 67.5%, 16.9%)
CIE-LABlab(76.05, -4.21, 60.60)
CIE-LCHlch(76.05, 60.75, 93.98°)
OKLaboklab(79.21% -0.017 0.1363)
OKLCHoklch(79.21% 0.137 97.1)
XYZxyz(45.9980, 49.9696, 12.8513)
Luminance0.4997 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4BB45 #455ED4
analogous
#D47345 #D4BB45 #A6D445
triadic
#D4BB45 #45D4BB #BB45D4
tetradic
#D4BB45 #45D473 #455ED4 #D445A6
square
#D4BB45 #45D473 #455ED4 #D445A6
split-complementary
#D4BB45 #45A6D4 #7345D4
monochromatic
#81701E #B39B29 #D4BB45 #DFCD77 #EBDFA8

Accessibility & contrast

On white

1.91
#D4BB45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.99
#D4BB45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4BB45
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4BB45#FFFFFF#000000##000000
##D4BB451.001.9110.9910.99
#FFFFFF1.911.0021.0021.00
#00000010.9921.001.001.00
##00000010.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB735
Deuteranopia (green-blind)
#D4BF4B
Tritanopia (blue-blind)
#E4ADA3
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #d4bb45;
/* rgb */ color: rgb(212, 187, 69);
/* oklch */ color: oklch(79.2% 0.137 97.1);
Tailwind
colors: {
  custom: {
    50: '#e5cf7f',
    500: '#d4bb45',
    950: '#000000',
  },
}
SCSS
$custom: #d4bb45;
$custom-light: #e5cf7f;
$custom-dark: #000000;
JSON
{
  "hex": "#d4bb45",
  "rgb": {
    "r": 212,
    "g": 187,
    "b": 69
  },
  "hsl": {
    "h": 49.51,
    "s": 62.445,
    "l": 55.098
  },
  "oklch": {
    "l": 0.79214,
    "c": 0.13734,
    "h": 97.1
  },
  "luminance": 0.49967
}

Semantic roles & 50–950 ramp

primary
#D4BB45
secondary
#9CA7D8
accent
#5FE642
background
#FEFCF8
surface
#FDF9EF
border
#D5D2CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #D4BB45

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

Preview Lab → · Contrast checker → · Palette generator →

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