#D5B346#D5B346

#D5B346 is a light, vivid yellow. Relative luminance 0.468; OKLCH L 77.7% C 0.131 H 91.5°. Best body text is #000000 at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#D5B346
RGBrgb(213, 179, 70)
HSLhsl(46, 63%, 55%)
HSVhsv(46, 67%, 84%)
CMYKcmyk(0%, 16%, 67.1%, 16.5%)
CIE-LABlab(74.08, 0.46, 58.16)
CIE-LCHlch(74.08, 58.16, 89.55°)
OKLaboklab(77.68% -0.0035 0.1313)
OKLCHoklch(77.68% 0.131 91.5)
XYZxyz(44.6685, 46.8311, 12.4797)
Luminance0.4683 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5B346 #4668D5
analogous
#D56B46 #D5B346 #B0D546
triadic
#D5B346 #46D5B3 #B346D5
tetradic
#D5B346 #46D56B #4668D5 #D546B0
square
#D5B346 #46D56B #4668D5 #D546B0
split-complementary
#D5B346 #46B0D5 #6B46D5
monochromatic
#836B1E #B59429 #D5B346 #E0C778 #ECDCAA

Accessibility & contrast

On white

2.03
#D5B346 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.37
#D5B346 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5B346
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5B346#FFFFFF#000000##000000
##D5B3461.002.0310.3710.37
#FFFFFF2.031.0021.0021.00
#00000010.3721.001.001.00
##00000010.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B038
Deuteranopia (green-blind)
#CEBA4B
Tritanopia (blue-blind)
#E6A59C
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #d5b346;
/* rgb */ color: rgb(213, 179, 70);
/* oklch */ color: oklch(77.7% 0.131 91.5);
Tailwind
colors: {
  custom: {
    50: '#e6c97f',
    500: '#d5b346',
    950: '#000000',
  },
}
SCSS
$custom: #d5b346;
$custom-light: #e6c97f;
$custom-dark: #000000;
JSON
{
  "hex": "#d5b346",
  "rgb": {
    "r": 213,
    "g": 179,
    "b": 70
  },
  "hsl": {
    "h": 45.734,
    "s": 62.996,
    "l": 55.49
  },
  "oklch": {
    "l": 0.77682,
    "c": 0.13131,
    "h": 91.5
  },
  "luminance": 0.46829
}

Semantic roles & 50–950 ramp

primary
#D5B346
secondary
#9EACD9
accent
#69E642
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #D5B346

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

Preview Lab → · Contrast checker → · Palette generator →

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