#D2BF47#D2BF47

#D2BF47 is a light, vivid yellow. Relative luminance 0.514; OKLCH L 79.9% C 0.139 H 100.2°. Best body text is #000000 at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#D2BF47
RGBrgb(210, 191, 71)
HSLhsl(52, 61%, 55%)
HSVhsv(52, 66%, 82%)
CMYKcmyk(0%, 9%, 66.2%, 17.6%)
CIE-LABlab(76.93, -7.02, 60.64)
CIE-LCHlch(76.93, 61.04, 96.60°)
OKLaboklab(79.88% -0.0247 0.1368)
OKLCHoklch(79.88% 0.139 100.2)
XYZxyz(46.3485, 51.4202, 13.4437)
Luminance0.5142 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2BF47 #475AD2
analogous
#D27A47 #D2BF47 #9FD247
triadic
#D2BF47 #47D2BF #BF47D2
tetradic
#D2BF47 #47D27A #475AD2 #D2479F
square
#D2BF47 #47D27A #475AD2 #D2479F
split-complementary
#D2BF47 #479FD2 #7A47D2
monochromatic
#7F721F #B19E2B #D2BF47 #DED078 #EAE1A9

Accessibility & contrast

On white

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

On black

11.28
#D2BF47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2BF47
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2BF47#FFFFFF#000000##000000
##D2BF471.001.8611.2811.28
#FFFFFF1.861.0021.0021.00
#00000011.2821.001.001.00
##00000011.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BA37
Deuteranopia (green-blind)
#D6C14E
Tritanopia (blue-blind)
#E2B2A6
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #d2bf47;
/* rgb */ color: rgb(210, 191, 71);
/* oklch */ color: oklch(79.9% 0.139 100.2);
Tailwind
colors: {
  custom: {
    50: '#e3d280',
    500: '#d2bf47',
    950: '#000000',
  },
}
SCSS
$custom: #d2bf47;
$custom-light: #e3d280;
$custom-dark: #000000;
JSON
{
  "hex": "#d2bf47",
  "rgb": {
    "r": 210,
    "g": 191,
    "b": 71
  },
  "hsl": {
    "h": 51.799,
    "s": 60.699,
    "l": 55.098
  },
  "oklch": {
    "l": 0.79876,
    "c": 0.13896,
    "h": 100.2
  },
  "luminance": 0.51418
}

Semantic roles & 50–950 ramp

primary
#D2BF47
secondary
#364187
accent
#5AE444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D2BF47

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

Preview Lab → · Contrast checker → · Palette generator →

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