#D9BE45#D9BE45

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

Color values

HEX#D9BE45
RGBrgb(217, 190, 69)
HSLhsl(49, 66%, 56%)
HSVhsv(49, 68%, 85%)
CMYKcmyk(0%, 12.4%, 68.2%, 14.9%)
CIE-LABlab(77.29, -3.64, 62.02)
CIE-LCHlch(77.29, 62.13, 93.36°)
OKLaboklab(80.3% -0.0156 0.1391)
OKLCHoklch(80.3% 0.14 96.4)
XYZxyz(48.1052, 52.0107, 13.1343)
Luminance0.5201 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9BE45 #4560D9
analogous
#D97445 #D9BE45 #AAD945
triadic
#D9BE45 #45D9BE #BE45D9
tetradic
#D9BE45 #45D974 #4560D9 #D945AA
square
#D9BE45 #45D974 #4560D9 #D945AA
split-complementary
#D9BE45 #45AAD9 #7445D9
monochromatic
#88741C #BBA026 #D9BE45 #E3D078 #EEE2AB

Accessibility & contrast

On white

1.84
#D9BE45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.40
#D9BE45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9BE45
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9BE45#FFFFFF#000000##000000
##D9BE451.001.8411.4011.40
#FFFFFF1.841.0021.0021.00
#00000011.4021.001.001.00
##00000011.4021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d9be45;
/* rgb */ color: rgb(217, 190, 69);
/* oklch */ color: oklch(80.3% 0.140 96.4);
Tailwind
colors: {
  custom: {
    50: '#e8d17f',
    500: '#d9be45',
    950: '#000000',
  },
}
SCSS
$custom: #d9be45;
$custom-light: #e8d17f;
$custom-dark: #000000;
JSON
{
  "hex": "#d9be45",
  "rgb": {
    "r": 217,
    "g": 190,
    "b": 69
  },
  "hsl": {
    "h": 49.054,
    "s": 66.071,
    "l": 56.078
  },
  "oklch": {
    "l": 0.80301,
    "c": 0.14,
    "h": 96.4
  },
  "luminance": 0.52008
}

Semantic roles & 50–950 ramp

primary
#D9BE45
secondary
#34458E
accent
#5EE93F
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140A
muted
#85837D

Preview Lab

Preview with #D9BE45

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

Preview Lab → · Contrast checker → · Palette generator →

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