#D2BE51#D2BE51

#D2BE51 is a light, vivid yellow. Relative luminance 0.511; OKLCH L 79.8% C 0.130 H 98.9°. Best body text is #000000 at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#D2BE51
RGBrgb(210, 190, 81)
HSLhsl(51, 59%, 57%)
HSVhsv(51, 61%, 82%)
CMYKcmyk(0%, 9.5%, 61.4%, 17.6%)
CIE-LABlab(76.75, -5.88, 56.16)
CIE-LCHlch(76.75, 56.47, 95.98°)
OKLaboklab(79.76% -0.0203 0.1288)
OKLCHoklch(79.76% 0.13 98.9)
XYZxyz(46.4789, 51.1247, 15.2028)
Luminance0.5112 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2BE51 #5165D2
analogous
#D27E51 #D2BE51 #A5D251
triadic
#D2BE51 #51D2BE #BE51D2
tetradic
#D2BE51 #51D27E #5165D2 #D251A5
square
#D2BE51 #51D27E #5165D2 #D251A5
split-complementary
#D2BE51 #51A5D2 #7E51D2
monochromatic
#867723 #B7A22F #D2BE51 #DFD082 #EBE2B2

Accessibility & contrast

On white

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

On black

11.22
#D2BE51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2BE51
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2BE51#FFFFFF#000000##000000
##D2BE511.001.8711.2211.22
#FFFFFF1.871.0021.0021.00
#00000011.2221.001.001.00
##00000011.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB945
Deuteranopia (green-blind)
#D4C157
Tritanopia (blue-blind)
#E1B1A7
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #d2be51;
/* rgb */ color: rgb(210, 190, 81);
/* oklch */ color: oklch(79.8% 0.130 98.9);
Tailwind
colors: {
  custom: {
    50: '#e3d186',
    500: '#d2be51',
    950: '#000000',
  },
}
SCSS
$custom: #d2be51;
$custom-light: #e3d186;
$custom-dark: #000000;
JSON
{
  "hex": "#d2be51",
  "rgb": {
    "r": 210,
    "g": 190,
    "b": 81
  },
  "hsl": {
    "h": 50.698,
    "s": 58.904,
    "l": 57.059
  },
  "oklch": {
    "l": 0.79761,
    "c": 0.13034,
    "h": 98.9
  },
  "luminance": 0.51123
}

Semantic roles & 50–950 ramp

primary
#D2BE51
secondary
#3B478D
accent
#5EE246
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D2BE51

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

Preview Lab → · Contrast checker → · Palette generator →

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