#D2BF50#D2BF50

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

Color values

HEX#D2BF50
RGBrgb(210, 191, 80)
HSLhsl(51, 59%, 57%)
HSVhsv(51, 62%, 82%)
CMYKcmyk(0%, 9%, 61.9%, 17.6%)
CIE-LABlab(77.01, -6.47, 56.88)
CIE-LCHlch(77.01, 57.25, 96.48°)
OKLaboklab(79.96% -0.022 0.1301)
OKLCHoklch(79.96% 0.132 99.6)
XYZxyz(46.6590, 51.5444, 15.0792)
Luminance0.5154 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2BF50 #5063D2
analogous
#D27E50 #D2BF50 #A4D250
triadic
#D2BF50 #50D2BF #BF50D2
tetradic
#D2BF50 #50D27E #5063D2 #D250A4
square
#D2BF50 #50D27E #5063D2 #D250A4
split-complementary
#D2BF50 #50A4D2 #7E50D2
monochromatic
#857722 #B6A22F #D2BF50 #DFD181 #EBE3B1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2BF50#FFFFFF#000000##000000
##D2BF501.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)
#D0BA43
Deuteranopia (green-blind)
#D5C156
Tritanopia (blue-blind)
#E1B2A7
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #d2bf50;
/* rgb */ color: rgb(210, 191, 80);
/* oklch */ color: oklch(80.0% 0.132 99.6);
Tailwind
colors: {
  custom: {
    50: '#e3d286',
    500: '#d2bf50',
    950: '#000000',
  },
}
SCSS
$custom: #d2bf50;
$custom-light: #e3d286;
$custom-dark: #000000;
JSON
{
  "hex": "#d2bf50",
  "rgb": {
    "r": 210,
    "g": 191,
    "b": 80
  },
  "hsl": {
    "h": 51.231,
    "s": 59.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.79959,
    "c": 0.13199,
    "h": 99.6
  },
  "luminance": 0.51542
}

Semantic roles & 50–950 ramp

primary
#D2BF50
secondary
#3A468C
accent
#5CE246
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D2BF50

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

Preview Lab → · Contrast checker → · Palette generator →

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