#D3B839#D3B839

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

Color values

HEX#D3B839
RGBrgb(211, 184, 57)
HSLhsl(49, 64%, 53%)
HSVhsv(49, 73%, 83%)
CMYKcmyk(0%, 12.8%, 73%, 17.3%)
CIE-LABlab(75.09, -3.68, 64.31)
CIE-LCHlch(75.09, 64.41, 93.28°)
OKLaboklab(78.41% -0.0167 0.142)
OKLCHoklch(78.41% 0.143 96.7)
XYZxyz(44.7453, 48.4276, 10.8607)
Luminance0.4843 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3B839 #3954D3
analogous
#D36B39 #D3B839 #A1D339
triadic
#D3B839 #39D3B8 #B839D3
tetradic
#D3B839 #39D36B #3954D3 #D339A1
square
#D3B839 #39D36B #3954D3 #D339A1
split-complementary
#D3B839 #39A1D3 #6B39D3
monochromatic
#77671A #A99226 #D3B839 #DECA6B #E9DC9D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D3B839#FFFFFF#000000##000000
##D3B8391.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)
#CBB424
Deuteranopia (green-blind)
#D2BD41
Tritanopia (blue-blind)
#E4AA9F
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #d3b839;
/* rgb */ color: rgb(211, 184, 57);
/* oklch */ color: oklch(78.4% 0.143 96.7);
Tailwind
colors: {
  custom: {
    50: '#e5cc78',
    500: '#d3b839',
    950: '#000000',
  },
}
SCSS
$custom: #d3b839;
$custom-light: #e5cc78;
$custom-dark: #000000;
JSON
{
  "hex": "#d3b839",
  "rgb": {
    "r": 211,
    "g": 184,
    "b": 57
  },
  "hsl": {
    "h": 49.481,
    "s": 63.636,
    "l": 52.549
  },
  "oklch": {
    "l": 0.78408,
    "c": 0.14301,
    "h": 96.7
  },
  "luminance": 0.48425
}

Semantic roles & 50–950 ramp

primary
#D3B839
secondary
#929ED5
accent
#5EE741
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #D3B839

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

Preview Lab → · Contrast checker → · Palette generator →

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