#D2BE4D#D2BE4D

#D2BE4D is a light, vivid yellow. Relative luminance 0.511; OKLCH L 79.7% C 0.134 H 99.3°. Best body text is #000000 at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#D2BE4D
RGBrgb(210, 190, 77)
HSLhsl(51, 60%, 56%)
HSVhsv(51, 63%, 82%)
CMYKcmyk(0%, 9.5%, 63.3%, 17.6%)
CIE-LABlab(76.72, -6.14, 57.88)
CIE-LCHlch(76.72, 58.20, 96.06°)
OKLaboklab(79.72% -0.0215 0.1318)
OKLCHoklch(79.72% 0.134 99.3)
XYZxyz(46.3333, 51.0664, 14.4360)
Luminance0.5106 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2BE4D #4D61D2
analogous
#D27C4D #D2BE4D #A4D24D
triadic
#D2BE4D #4DD2BE #BE4DD2
tetradic
#D2BE4D #4DD27C #4D61D2 #D24DA4
square
#D2BE4D #4DD27C #4D61D2 #D24DA4
split-complementary
#D2BE4D #4DA4D2 #7C4DD2
monochromatic
#837521 #B4A02E #D2BE4D #DED07E #EBE2AF

Accessibility & contrast

On white

1.87
#D2BE4D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.21
#D2BE4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2BE4D
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2BE4D#FFFFFF#000000##000000
##D2BE4D1.001.8711.2111.21
#FFFFFF1.871.0021.0021.00
#00000011.2121.001.001.00
##00000011.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB940
Deuteranopia (green-blind)
#D5C153
Tritanopia (blue-blind)
#E1B1A6
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #d2be4d;
/* rgb */ color: rgb(210, 190, 77);
/* oklch */ color: oklch(79.7% 0.134 99.3);
Tailwind
colors: {
  custom: {
    50: '#e3d184',
    500: '#d2be4d',
    950: '#000000',
  },
}
SCSS
$custom: #d2be4d;
$custom-light: #e3d184;
$custom-dark: #000000;
JSON
{
  "hex": "#d2be4d",
  "rgb": {
    "r": 210,
    "g": 190,
    "b": 77
  },
  "hsl": {
    "h": 50.977,
    "s": 59.641,
    "l": 56.275
  },
  "oklch": {
    "l": 0.79722,
    "c": 0.13357,
    "h": 99.3
  },
  "luminance": 0.51064
}

Semantic roles & 50–950 ramp

primary
#D2BE4D
secondary
#39458A
accent
#5DE345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D2BE4D

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

Preview Lab → · Contrast checker → · Palette generator →

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