#D2B944#D2B944

#D2B944 is a light, vivid yellow. Relative luminance 0.488; OKLCH L 78.6% C 0.136 H 97.0°. Best body text is #000000 at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#D2B944
RGBrgb(210, 185, 68)
HSLhsl(49, 61%, 55%)
HSVhsv(49, 68%, 82%)
CMYKcmyk(0%, 11.9%, 67.6%, 17.6%)
CIE-LABlab(75.34, -4.08, 60.22)
CIE-LCHlch(75.34, 60.36, 93.88°)
OKLaboklab(78.61% -0.0166 0.1354)
OKLCHoklch(78.61% 0.136 97)
XYZxyz(44.9728, 48.8192, 12.5219)
Luminance0.4882 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B944 #445DD2
analogous
#D27244 #D2B944 #A4D244
triadic
#D2B944 #44D2B9 #B944D2
tetradic
#D2B944 #44D272 #445DD2 #D244A4
square
#D2B944 #44D272 #445DD2 #D244A4
split-complementary
#D2B944 #44A4D2 #7244D2
monochromatic
#7D6D1E #AF972A #D2B944 #DECB75 #EADEA7

Accessibility & contrast

On white

1.95
#D2B944 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.76
#D2B944 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B944
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B944#FFFFFF#000000##000000
##D2B9441.001.9510.7610.76
#FFFFFF1.951.0021.0021.00
#00000010.7621.001.001.00
##00000010.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB534
Deuteranopia (green-blind)
#D2BD4A
Tritanopia (blue-blind)
#E2ABA1
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #d2b944;
/* rgb */ color: rgb(210, 185, 68);
/* oklch */ color: oklch(78.6% 0.136 97.0);
Tailwind
colors: {
  custom: {
    50: '#e3cd7e',
    500: '#d2b944',
    950: '#000000',
  },
}
SCSS
$custom: #d2b944;
$custom-light: #e3cd7e;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b944",
  "rgb": {
    "r": 210,
    "g": 185,
    "b": 68
  },
  "hsl": {
    "h": 49.437,
    "s": 61.207,
    "l": 54.51
  },
  "oklch": {
    "l": 0.78605,
    "c": 0.1364,
    "h": 97
  },
  "luminance": 0.48817
}

Semantic roles & 50–950 ramp

primary
#D2B944
secondary
#9BA5D7
accent
#60E443
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D2B944

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

Preview Lab → · Contrast checker → · Palette generator →

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