#D8BE45#D8BE45

#D8BE45 is a light, vivid yellow. Relative luminance 0.519; OKLCH L 80.2% C 0.140 H 96.9°. Best body text is #000000 at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#D8BE45
RGBrgb(216, 190, 69)
HSLhsl(49, 65%, 56%)
HSVhsv(49, 68%, 85%)
CMYKcmyk(0%, 12%, 68.1%, 15.3%)
CIE-LABlab(77.20, -4.06, 61.90)
CIE-LCHlch(77.20, 62.03, 93.76°)
OKLaboklab(80.21% -0.0168 0.1389)
OKLCHoklch(80.21% 0.14 96.9)
XYZxyz(47.8088, 51.8579, 13.1204)
Luminance0.5186 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8BE45 #455FD8
analogous
#D87445 #D8BE45 #A8D845
triadic
#D8BE45 #45D8BE #BE45D8
tetradic
#D8BE45 #45D874 #455FD8 #D845A8
square
#D8BE45 #45D874 #455FD8 #D845A8
split-complementary
#D8BE45 #45A8D8 #7445D8
monochromatic
#86741C #B99F27 #D8BE45 #E3D078 #EDE1AA

Accessibility & contrast

On white

1.85
#D8BE45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.37
#D8BE45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8BE45
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8BE45#FFFFFF#000000##000000
##D8BE451.001.8511.3711.37
#FFFFFF1.851.0021.0021.00
#00000011.3721.001.001.00
##00000011.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BA35
Deuteranopia (green-blind)
#D7C24C
Tritanopia (blue-blind)
#E9B0A5
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d8be45;
/* rgb */ color: rgb(216, 190, 69);
/* oklch */ color: oklch(80.2% 0.140 96.9);
Tailwind
colors: {
  custom: {
    50: '#e8d17f',
    500: '#d8be45',
    950: '#000000',
  },
}
SCSS
$custom: #d8be45;
$custom-light: #e8d17f;
$custom-dark: #000000;
JSON
{
  "hex": "#d8be45",
  "rgb": {
    "r": 216,
    "g": 190,
    "b": 69
  },
  "hsl": {
    "h": 49.388,
    "s": 65.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.80207,
    "c": 0.13991,
    "h": 96.9
  },
  "luminance": 0.51856
}

Semantic roles & 50–950 ramp

primary
#D8BE45
secondary
#34448D
accent
#5DE840
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140A
muted
#85837D

Preview Lab

Preview with #D8BE45

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

Preview Lab → · Contrast checker → · Palette generator →

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