#D3BA54#D3BA54

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

Color values

HEX#D3BA54
RGBrgb(211, 186, 84)
HSLhsl(48, 59%, 58%)
HSVhsv(48, 60%, 83%)
CMYKcmyk(0%, 11.8%, 60.2%, 17.3%)
CIE-LABlab(75.83, -3.18, 53.81)
CIE-LCHlch(75.83, 53.91, 93.38°)
OKLaboklab(79.06% -0.0122 0.1241)
OKLCHoklch(79.06% 0.125 95.6)
XYZxyz(46.0251, 49.6090, 15.5370)
Luminance0.4961 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3BA54 #546DD3
analogous
#D37A54 #D3BA54 #ACD354
triadic
#D3BA54 #54D3BA #BA54D3
tetradic
#D3BA54 #54D37A #546DD3 #D354AC
square
#D3BA54 #54D37A #546DD3 #D354AC
split-complementary
#D3BA54 #54ACD3 #7A54D3
monochromatic
#897523 #BA9F30 #D3BA54 #E0CE85 #ECE1B5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D3BA54#FFFFFF#000000##000000
##D3BA541.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)
#CBB649
Deuteranopia (green-blind)
#D2BE59
Tritanopia (blue-blind)
#E2ADA4
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #d3ba54;
/* rgb */ color: rgb(211, 186, 84);
/* oklch */ color: oklch(79.1% 0.125 95.6);
Tailwind
colors: {
  custom: {
    50: '#e3ce88',
    500: '#d3ba54',
    950: '#000000',
  },
}
SCSS
$custom: #d3ba54;
$custom-light: #e3ce88;
$custom-dark: #000000;
JSON
{
  "hex": "#d3ba54",
  "rgb": {
    "r": 211,
    "g": 186,
    "b": 84
  },
  "hsl": {
    "h": 48.189,
    "s": 59.07,
    "l": 57.843
  },
  "oklch": {
    "l": 0.79058,
    "c": 0.12471,
    "h": 95.6
  },
  "luminance": 0.49607
}

Semantic roles & 50–950 ramp

primary
#D3BA54
secondary
#A8B2DB
accent
#64E246
background
#FEFCF8
surface
#FDF9F0
border
#D5D2CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #D3BA54

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

Preview Lab → · Contrast checker → · Palette generator →

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