#D2BE45#D2BE45

#D2BE45 is a light, vivid yellow. Relative luminance 0.510; OKLCH L 79.7% C 0.140 H 99.8°. Best body text is #000000 at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#D2BE45
RGBrgb(210, 190, 69)
HSLhsl(51, 61%, 55%)
HSVhsv(51, 67%, 82%)
CMYKcmyk(0%, 9.5%, 67.1%, 17.6%)
CIE-LABlab(76.66, -6.62, 61.17)
CIE-LCHlch(76.66, 61.53, 96.17°)
OKLaboklab(79.65% -0.0237 0.1376)
OKLCHoklch(79.65% 0.14 99.8)
XYZxyz(46.0680, 50.9603, 13.0388)
Luminance0.5096 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2BE45 #4559D2
analogous
#D27745 #D2BE45 #A0D245
triadic
#D2BE45 #45D2BE #BE45D2
tetradic
#D2BE45 #45D277 #4559D2 #D245A0
square
#D2BE45 #45D277 #4559D2 #D245A0
split-complementary
#D2BE45 #45A0D2 #7745D2
monochromatic
#7E711F #AF9D2A #D2BE45 #DECF76 #EAE0A8

Accessibility & contrast

On white

1.88
#D2BE45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.19
#D2BE45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2BE45
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2BE45#FFFFFF#000000##000000
##D2BE451.001.8811.1911.19
#FFFFFF1.881.0021.0021.00
#00000011.1921.001.001.00
##00000011.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B935
Deuteranopia (green-blind)
#D5C04C
Tritanopia (blue-blind)
#E2B1A5
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #d2be45;
/* rgb */ color: rgb(210, 190, 69);
/* oklch */ color: oklch(79.7% 0.140 99.8);
Tailwind
colors: {
  custom: {
    50: '#e3d17f',
    500: '#d2be45',
    950: '#000000',
  },
}
SCSS
$custom: #d2be45;
$custom-light: #e3d17f;
$custom-dark: #000000;
JSON
{
  "hex": "#d2be45",
  "rgb": {
    "r": 210,
    "g": 190,
    "b": 69
  },
  "hsl": {
    "h": 51.489,
    "s": 61.039,
    "l": 54.706
  },
  "oklch": {
    "l": 0.7965,
    "c": 0.13958,
    "h": 99.8
  },
  "luminance": 0.50958
}

Semantic roles & 50–950 ramp

primary
#D2BE45
secondary
#364186
accent
#5AE444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #D2BE45

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

Preview Lab → · Contrast checker → · Palette generator →

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