#D3B045#D3B045

#D3B045 is a light, vivid yellow. Relative luminance 0.453; OKLCH L 76.9% C 0.130 H 90.7°. Best body text is #000000 at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#D3B045
RGBrgb(211, 176, 69)
HSLhsl(45, 62%, 55%)
HSVhsv(45, 67%, 83%)
CMYKcmyk(0%, 16.6%, 67.3%, 17.3%)
CIE-LABlab(73.11, 1.12, 57.51)
CIE-LCHlch(73.11, 57.52, 88.88°)
OKLaboklab(76.87% -0.0016 0.1298)
OKLCHoklch(76.87% 0.13 90.7)
XYZxyz(43.4657, 45.3317, 12.0896)
Luminance0.4533 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3B045 #4568D3
analogous
#D36945 #D3B045 #AFD345
triadic
#D3B045 #45D3B0 #B045D3
tetradic
#D3B045 #45D369 #4568D3 #D345AF
square
#D3B045 #45D369 #4568D3 #D345AF
split-complementary
#D3B045 #45AFD3 #6945D3
monochromatic
#7F671E #B1902A #D3B045 #DFC576 #EADAA8

Accessibility & contrast

On white

2.09
#D3B045 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.07
#D3B045 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3B045
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3B045#FFFFFF#000000##000000
##D3B0451.002.0910.0710.07
#FFFFFF2.091.0021.0021.00
#00000010.0721.001.001.00
##00000010.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AE38
Deuteranopia (green-blind)
#CBB84A
Tritanopia (blue-blind)
#E4A29A
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #d3b045;
/* rgb */ color: rgb(211, 176, 69);
/* oklch */ color: oklch(76.9% 0.130 90.7);
Tailwind
colors: {
  custom: {
    50: '#e4c77e',
    500: '#d3b045',
    950: '#000000',
  },
}
SCSS
$custom: #d3b045;
$custom-light: #e4c77e;
$custom-dark: #000000;
JSON
{
  "hex": "#d3b045",
  "rgb": {
    "r": 211,
    "g": 176,
    "b": 69
  },
  "hsl": {
    "h": 45.211,
    "s": 61.739,
    "l": 54.902
  },
  "oklch": {
    "l": 0.76868,
    "c": 0.12979,
    "h": 90.7
  },
  "luminance": 0.45329
}

Semantic roles & 50–950 ramp

primary
#D3B045
secondary
#9CABD8
accent
#6BE543
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D3B045

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

Preview Lab → · Contrast checker → · Palette generator →

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