#D3B13F#D3B13F

#D3B13F is a light, vivid yellow. Relative luminance 0.457; OKLCH L 77.0% C 0.135 H 92.0°. Best body text is #000000 at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#D3B13F
RGBrgb(211, 177, 63)
HSLhsl(46, 63%, 54%)
HSVhsv(46, 70%, 83%)
CMYKcmyk(0%, 16.1%, 70.1%, 17.3%)
CIE-LABlab(73.32, 0.27, 60.23)
CIE-LCHlch(73.32, 60.23, 89.74°)
OKLaboklab(77.02% -0.0048 0.1345)
OKLCHoklch(77.02% 0.135 92)
XYZxyz(43.4856, 45.6546, 11.2234)
Luminance0.4565 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3B13F #3F61D3
analogous
#D3673F #D3B13F #ABD33F
triadic
#D3B13F #3FD3B1 #B13FD3
tetradic
#D3B13F #3FD367 #3F61D3 #D33FAB
square
#D3B13F #3FD367 #3F61D3 #D33FAB
split-complementary
#D3B13F #3FABD3 #673FD3
monochromatic
#7B651C #AD8E28 #D3B13F #DEC571 #EAD9A3

Accessibility & contrast

On white

2.07
#D3B13F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.13
#D3B13F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3B13F
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3B13F#FFFFFF#000000##000000
##D3B13F1.002.0710.1310.13
#FFFFFF2.071.0021.0021.00
#00000010.1321.001.001.00
##00000010.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE2F
Deuteranopia (green-blind)
#CCB845
Tritanopia (blue-blind)
#E4A39A
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #d3b13f;
/* rgb */ color: rgb(211, 177, 63);
/* oklch */ color: oklch(77.0% 0.135 92.0);
Tailwind
colors: {
  custom: {
    50: '#e4c87a',
    500: '#d3b13f',
    950: '#000000',
  },
}
SCSS
$custom: #d3b13f;
$custom-light: #e4c87a;
$custom-dark: #000000;
JSON
{
  "hex": "#d3b13f",
  "rgb": {
    "r": 211,
    "g": 177,
    "b": 63
  },
  "hsl": {
    "h": 46.216,
    "s": 62.712,
    "l": 53.725
  },
  "oklch": {
    "l": 0.7702,
    "c": 0.13458,
    "h": 92
  },
  "luminance": 0.45652
}

Semantic roles & 50–950 ramp

primary
#D3B13F
secondary
#97A6D7
accent
#68E642
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D3B13F

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

Preview Lab → · Contrast checker → · Palette generator →

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