#D3B950#D3B950

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

Color values

HEX#D3B950
RGBrgb(211, 185, 80)
HSLhsl(48, 60%, 57%)
HSVhsv(48, 62%, 83%)
CMYKcmyk(0%, 12.3%, 62.1%, 17.3%)
CIE-LABlab(75.53, -2.93, 55.29)
CIE-LCHlch(75.53, 55.37, 93.03°)
OKLaboklab(78.81% -0.012 0.1267)
OKLCHoklch(78.81% 0.127 95.4)
XYZxyz(45.6629, 49.1282, 14.6653)
Luminance0.4913 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3B950 #506AD3
analogous
#D37850 #D3B950 #ABD350
triadic
#D3B950 #50D3B9 #B950D3
tetradic
#D3B950 #50D378 #506AD3 #D350AB
square
#D3B950 #50D378 #506AD3 #D350AB
split-complementary
#D3B950 #50ABD3 #7850D3
monochromatic
#877322 #B89C2E #D3B950 #DFCD81 #ECE0B2

Accessibility & contrast

On white

1.94
#D3B950 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.83
#D3B950 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3B950
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3B950#FFFFFF#000000##000000
##D3B9501.001.9410.8310.83
#FFFFFF1.941.0021.0021.00
#00000010.8321.001.001.00
##00000010.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB544
Deuteranopia (green-blind)
#D1BE55
Tritanopia (blue-blind)
#E3ACA2
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #d3b950;
/* rgb */ color: rgb(211, 185, 80);
/* oklch */ color: oklch(78.8% 0.127 95.4);
Tailwind
colors: {
  custom: {
    50: '#e4cd85',
    500: '#d3b950',
    950: '#000000',
  },
}
SCSS
$custom: #d3b950;
$custom-light: #e4cd85;
$custom-dark: #000000;
JSON
{
  "hex": "#d3b950",
  "rgb": {
    "r": 211,
    "g": 185,
    "b": 80
  },
  "hsl": {
    "h": 48.092,
    "s": 59.817,
    "l": 57.059
  },
  "oklch": {
    "l": 0.78811,
    "c": 0.12729,
    "h": 95.4
  },
  "luminance": 0.49126
}

Semantic roles & 50–950 ramp

primary
#D3B950
secondary
#A5AFDA
accent
#64E345
background
#FEFCF8
surface
#FDF9EF
border
#D5D2CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D3B950

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

Preview Lab → · Contrast checker → · Palette generator →

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