#D2BF51#D2BF51

#D2BF51 is a light, vivid yellow. Relative luminance 0.516; OKLCH L 80.0% C 0.131 H 99.5°. Best body text is #000000 at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#D2BF51
RGBrgb(210, 191, 81)
HSLhsl(51, 59%, 57%)
HSVhsv(51, 61%, 82%)
CMYKcmyk(0%, 9%, 61.4%, 17.6%)
CIE-LABlab(77.02, -6.40, 56.45)
CIE-LCHlch(77.02, 56.81, 96.47°)
OKLaboklab(79.97% -0.0217 0.1294)
OKLCHoklch(79.97% 0.131 99.5)
XYZxyz(46.6962, 51.5593, 15.2752)
Luminance0.5156 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2BF51 #5164D2
analogous
#D27F51 #D2BF51 #A4D251
triadic
#D2BF51 #51D2BF #BF51D2
tetradic
#D2BF51 #51D27F #5164D2 #D251A4
square
#D2BF51 #51D27F #5164D2 #D251A4
split-complementary
#D2BF51 #51A4D2 #7F51D2
monochromatic
#867723 #B7A32F #D2BF51 #DFD182 #EBE3B2

Accessibility & contrast

On white

1.86
#D2BF51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.31
#D2BF51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2BF51
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2BF51#FFFFFF#000000##000000
##D2BF511.001.8611.3111.31
#FFFFFF1.861.0021.0021.00
#00000011.3121.001.001.00
##00000011.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BA45
Deuteranopia (green-blind)
#D5C157
Tritanopia (blue-blind)
#E1B2A7
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #d2bf51;
/* rgb */ color: rgb(210, 191, 81);
/* oklch */ color: oklch(80.0% 0.131 99.5);
Tailwind
colors: {
  custom: {
    50: '#e3d286',
    500: '#d2bf51',
    950: '#000000',
  },
}
SCSS
$custom: #d2bf51;
$custom-light: #e3d286;
$custom-dark: #000000;
JSON
{
  "hex": "#d2bf51",
  "rgb": {
    "r": 210,
    "g": 191,
    "b": 81
  },
  "hsl": {
    "h": 51.163,
    "s": 58.904,
    "l": 57.059
  },
  "oklch": {
    "l": 0.79969,
    "c": 0.13118,
    "h": 99.5
  },
  "luminance": 0.51557
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2BF51

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

Preview Lab → · Contrast checker → · Palette generator →

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