#D2BF4D#D2BF4D

#D2BF4D is a light, vivid yellow. Relative luminance 0.515; OKLCH L 79.9% C 0.134 H 99.8°. Best body text is #000000 at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#D2BF4D
RGBrgb(210, 191, 77)
HSLhsl(51, 60%, 56%)
HSVhsv(51, 63%, 82%)
CMYKcmyk(0%, 9%, 63.3%, 17.6%)
CIE-LABlab(76.98, -6.66, 58.16)
CIE-LCHlch(76.98, 58.54, 96.53°)
OKLaboklab(79.93% -0.023 0.1324)
OKLCHoklch(79.93% 0.134 99.8)
XYZxyz(46.5506, 51.5011, 14.5084)
Luminance0.5150 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2BF4D #4D60D2
analogous
#D27D4D #D2BF4D #A3D24D
triadic
#D2BF4D #4DD2BF #BF4DD2
tetradic
#D2BF4D #4DD27D #4D60D2 #D24DA3
square
#D2BF4D #4DD27D #4D60D2 #D24DA3
split-complementary
#D2BF4D #4DA3D2 #7D4DD2
monochromatic
#837521 #B4A12E #D2BF4D #DED17E #EBE2AF

Accessibility & contrast

On white

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

On black

11.30
#D2BF4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2BF4D
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2BF4D#FFFFFF#000000##000000
##D2BF4D1.001.8611.3011.30
#FFFFFF1.861.0021.0021.00
#00000011.3021.001.001.00
##00000011.3021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2bf4d;
/* rgb */ color: rgb(210, 191, 77);
/* oklch */ color: oklch(79.9% 0.134 99.8);
Tailwind
colors: {
  custom: {
    50: '#e3d284',
    500: '#d2bf4d',
    950: '#000000',
  },
}
SCSS
$custom: #d2bf4d;
$custom-light: #e3d284;
$custom-dark: #000000;
JSON
{
  "hex": "#d2bf4d",
  "rgb": {
    "r": 210,
    "g": 191,
    "b": 77
  },
  "hsl": {
    "h": 51.429,
    "s": 59.641,
    "l": 56.275
  },
  "oklch": {
    "l": 0.7993,
    "c": 0.1344,
    "h": 99.8
  },
  "luminance": 0.51499
}

Semantic roles & 50–950 ramp

primary
#D2BF4D
secondary
#39448A
accent
#5CE345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D2BF4D

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

Preview Lab → · Contrast checker → · Palette generator →

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