#D3BA52#D3BA52

#D3BA52 is a light, vivid yellow. Relative luminance 0.496; OKLCH L 79.0% C 0.126 H 95.8°. Best body text is #000000 at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#D3BA52
RGBrgb(211, 186, 82)
HSLhsl(48, 59%, 57%)
HSVhsv(48, 61%, 83%)
CMYKcmyk(0%, 11.8%, 61.1%, 17.3%)
CIE-LABlab(75.81, -3.32, 54.70)
CIE-LCHlch(75.81, 54.80, 93.47°)
OKLaboklab(79.04% -0.0128 0.1257)
OKLCHoklch(79.04% 0.126 95.8)
XYZxyz(45.9478, 49.5781, 15.1303)
Luminance0.4958 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3BA52 #526BD3
analogous
#D37952 #D3BA52 #ACD352
triadic
#D3BA52 #52D3BA #BA52D3
tetradic
#D3BA52 #52D379 #526BD3 #D352AC
square
#D3BA52 #52D379 #526BD3 #D352AC
split-complementary
#D3BA52 #52ACD3 #7952D3
monochromatic
#887423 #B99E2F #D3BA52 #DFCD83 #ECE1B4

Accessibility & contrast

On white

1.92
#D3BA52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.92
#D3BA52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3BA52
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3BA52#FFFFFF#000000##000000
##D3BA521.001.9210.9210.92
#FFFFFF1.921.0021.0021.00
#00000010.9221.001.001.00
##00000010.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB647
Deuteranopia (green-blind)
#D2BE57
Tritanopia (blue-blind)
#E3ADA3
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #d3ba52;
/* rgb */ color: rgb(211, 186, 82);
/* oklch */ color: oklch(79.0% 0.126 95.8);
Tailwind
colors: {
  custom: {
    50: '#e4ce86',
    500: '#d3ba52',
    950: '#000000',
  },
}
SCSS
$custom: #d3ba52;
$custom-light: #e4ce86;
$custom-dark: #000000;
JSON
{
  "hex": "#d3ba52",
  "rgb": {
    "r": 211,
    "g": 186,
    "b": 82
  },
  "hsl": {
    "h": 48.372,
    "s": 59.447,
    "l": 57.451
  },
  "oklch": {
    "l": 0.79037,
    "c": 0.12639,
    "h": 95.8
  },
  "luminance": 0.49576
}

Semantic roles & 50–950 ramp

primary
#D3BA52
secondary
#A6B0DA
accent
#64E345
background
#FEFCF8
surface
#FDF9F0
border
#D5D2CB
text
#16130B
muted
#84827C

Preview Lab

Preview with #D3BA52

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

Preview Lab → · Contrast checker → · Palette generator →

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