#D2B843#D2B843

#D2B843 is a light, vivid yellow. Relative luminance 0.484; OKLCH L 78.4% C 0.136 H 96.5°. Best body text is #000000 at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#D2B843
RGBrgb(210, 184, 67)
HSLhsl(49, 61%, 54%)
HSVhsv(49, 68%, 82%)
CMYKcmyk(0%, 12.4%, 68.1%, 17.6%)
CIE-LABlab(75.07, -3.62, 60.35)
CIE-LCHlch(75.07, 60.46, 93.43°)
OKLaboklab(78.39% -0.0154 0.1355)
OKLCHoklch(78.39% 0.136 96.5)
XYZxyz(44.7341, 48.3901, 12.2931)
Luminance0.4839 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B843 #435DD2
analogous
#D27143 #D2B843 #A5D243
triadic
#D2B843 #43D2B8 #B843D2
tetradic
#D2B843 #43D271 #435DD2 #D243A5
square
#D2B843 #43D271 #435DD2 #D243A5
split-complementary
#D2B843 #43A5D2 #7143D2
monochromatic
#7D6B1E #AE962A #D2B843 #DECB74 #EADDA6

Accessibility & contrast

On white

1.97
#D2B843 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.68
#D2B843 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B843
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B843#FFFFFF#000000##000000
##D2B8431.001.9710.6810.68
#FFFFFF1.971.0021.0021.00
#00000010.6821.001.001.00
##00000010.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB433
Deuteranopia (green-blind)
#D1BC49
Tritanopia (blue-blind)
#E2AAA0
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #d2b843;
/* rgb */ color: rgb(210, 184, 67);
/* oklch */ color: oklch(78.4% 0.136 96.5);
Tailwind
colors: {
  custom: {
    50: '#e3cd7d',
    500: '#d2b843',
    950: '#000000',
  },
}
SCSS
$custom: #d2b843;
$custom-light: #e3cd7d;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b843",
  "rgb": {
    "r": 210,
    "g": 184,
    "b": 67
  },
  "hsl": {
    "h": 49.091,
    "s": 61.373,
    "l": 54.314
  },
  "oklch": {
    "l": 0.7839,
    "c": 0.13637,
    "h": 96.5
  },
  "luminance": 0.48388
}

Semantic roles & 50–950 ramp

primary
#D2B843
secondary
#9AA5D7
accent
#61E443
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D2B843

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

Preview Lab → · Contrast checker → · Palette generator →

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