#D3B74B#D3B74B

#D3B74B is a light, vivid yellow. Relative luminance 0.482; OKLCH L 78.4% C 0.130 H 94.6°. Best body text is #000000 at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#D3B74B
RGBrgb(211, 183, 75)
HSLhsl(48, 61%, 56%)
HSVhsv(48, 64%, 83%)
CMYKcmyk(0%, 13.3%, 64.5%, 17.3%)
CIE-LABlab(74.97, -2.20, 56.89)
CIE-LCHlch(74.97, 56.93, 92.22°)
OKLaboklab(78.35% -0.0105 0.1294)
OKLCHoklch(78.35% 0.13 94.6)
XYZxyz(45.0696, 48.2262, 13.5899)
Luminance0.4822 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3B74B #4B67D3
analogous
#D3734B #D3B74B #ABD34B
triadic
#D3B74B #4BD3B7 #B74BD3
tetradic
#D3B74B #4BD373 #4B67D3 #D34BAB
square
#D3B74B #4BD373 #4B67D3 #D34BAB
split-complementary
#D3B74B #4BABD3 #734BD3
monochromatic
#836F20 #B5992C #D3B74B #DFCB7C #EBDEAD

Accessibility & contrast

On white

1.97
#D3B74B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.64
#D3B74B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3B74B
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3B74B#FFFFFF#000000##000000
##D3B74B1.001.9710.6410.64
#FFFFFF1.971.0021.0021.00
#00000010.6421.001.001.00
##00000010.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B43E
Deuteranopia (green-blind)
#D0BC50
Tritanopia (blue-blind)
#E3AAA0
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #d3b74b;
/* rgb */ color: rgb(211, 183, 75);
/* oklch */ color: oklch(78.4% 0.130 94.6);
Tailwind
colors: {
  custom: {
    50: '#e4cc82',
    500: '#d3b74b',
    950: '#000000',
  },
}
SCSS
$custom: #d3b74b;
$custom-light: #e4cc82;
$custom-dark: #000000;
JSON
{
  "hex": "#d3b74b",
  "rgb": {
    "r": 211,
    "g": 183,
    "b": 75
  },
  "hsl": {
    "h": 47.647,
    "s": 60.714,
    "l": 56.078
  },
  "oklch": {
    "l": 0.78351,
    "c": 0.12983,
    "h": 94.6
  },
  "luminance": 0.48224
}

Semantic roles & 50–950 ramp

primary
#D3B74B
secondary
#A1ACD9
accent
#65E444
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D3B74B

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

Preview Lab → · Contrast checker → · Palette generator →

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