#D5B746#D5B746

#D5B746 is a light, vivid yellow. Relative luminance 0.485; OKLCH L 78.5% C 0.134 H 94.1°. Best body text is #000000 at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#D5B746
RGBrgb(213, 183, 70)
HSLhsl(47, 63%, 55%)
HSVhsv(47, 67%, 84%)
CMYKcmyk(0%, 14.1%, 67.1%, 16.5%)
CIE-LABlab(75.11, -1.64, 59.24)
CIE-LCHlch(75.11, 59.26, 91.59°)
OKLaboklab(78.5% -0.0096 0.1335)
OKLCHoklch(78.5% 0.134 94.1)
XYZxyz(45.4818, 48.4577, 12.7508)
Luminance0.4845 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5B746 #4664D5
analogous
#D57046 #D5B746 #ABD546
triadic
#D5B746 #46D5B7 #B746D5
tetradic
#D5B746 #46D570 #4664D5 #D546AB
square
#D5B746 #46D570 #4664D5 #D546AB
split-complementary
#D5B746 #46ABD5 #7046D5
monochromatic
#836E1E #B59729 #D5B746 #E0CA78 #ECDEAA

Accessibility & contrast

On white

1.96
#D5B746 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.69
#D5B746 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5B746
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5B746#FFFFFF#000000##000000
##D5B7461.001.9610.6910.69
#FFFFFF1.961.0021.0021.00
#00000010.6921.001.001.00
##00000010.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B438
Deuteranopia (green-blind)
#D1BD4C
Tritanopia (blue-blind)
#E6A9A0
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #d5b746;
/* rgb */ color: rgb(213, 183, 70);
/* oklch */ color: oklch(78.5% 0.134 94.1);
Tailwind
colors: {
  custom: {
    50: '#e6cc7f',
    500: '#d5b746',
    950: '#000000',
  },
}
SCSS
$custom: #d5b746;
$custom-light: #e6cc7f;
$custom-dark: #000000;
JSON
{
  "hex": "#d5b746",
  "rgb": {
    "r": 213,
    "g": 183,
    "b": 70
  },
  "hsl": {
    "h": 47.413,
    "s": 62.996,
    "l": 55.49
  },
  "oklch": {
    "l": 0.78496,
    "c": 0.13388,
    "h": 94.1
  },
  "luminance": 0.48455
}

Semantic roles & 50–950 ramp

primary
#D5B746
secondary
#9EAAD9
accent
#64E642
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #D5B746

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

Preview Lab → · Contrast checker → · Palette generator →

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