#D2B84F#D2B84F

#D2B84F is a light, vivid yellow. Relative luminance 0.485; OKLCH L 78.5% C 0.127 H 95.4°. Best body text is #000000 at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#D2B84F
RGBrgb(210, 184, 79)
HSLhsl(48, 59%, 57%)
HSVhsv(48, 62%, 82%)
CMYKcmyk(0%, 12.4%, 62.4%, 17.6%)
CIE-LABlab(75.17, -2.90, 55.32)
CIE-LCHlch(75.17, 55.39, 93.00°)
OKLaboklab(78.5% -0.0119 0.1267)
OKLCHoklch(78.5% 0.127 95.4)
XYZxyz(45.1321, 48.5493, 14.3893)
Luminance0.4855 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B84F #4F69D2
analogous
#D2774F #D2B84F #AAD24F
triadic
#D2B84F #4FD2B8 #B84FD2
tetradic
#D2B84F #4FD277 #4F69D2 #D24FAA
square
#D2B84F #4FD277 #4F69D2 #D24FAA
split-complementary
#D2B84F #4FAAD2 #774FD2
monochromatic
#857122 #B59B2E #D2B84F #DECC80 #EBDFB0

Accessibility & contrast

On white

1.96
#D2B84F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.71
#D2B84F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B84F
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B84F#FFFFFF#000000##000000
##D2B84F1.001.9610.7110.71
#FFFFFF1.961.0021.0021.00
#00000010.7121.001.001.00
##00000010.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B443
Deuteranopia (green-blind)
#D0BD54
Tritanopia (blue-blind)
#E2ABA1
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #d2b84f;
/* rgb */ color: rgb(210, 184, 79);
/* oklch */ color: oklch(78.5% 0.127 95.4);
Tailwind
colors: {
  custom: {
    50: '#e3cd84',
    500: '#d2b84f',
    950: '#000000',
  },
}
SCSS
$custom: #d2b84f;
$custom-light: #e3cd84;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b84f",
  "rgb": {
    "r": 210,
    "g": 184,
    "b": 79
  },
  "hsl": {
    "h": 48.092,
    "s": 59.276,
    "l": 56.667
  },
  "oklch": {
    "l": 0.78501,
    "c": 0.12723,
    "h": 95.4
  },
  "luminance": 0.48547
}

Semantic roles & 50–950 ramp

primary
#D2B84F
secondary
#A4AED9
accent
#65E245
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D2B84F

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

Preview Lab → · Contrast checker → · Palette generator →

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