#D7B034#D7B034

#D7B034 is a light, vivid yellow. Relative luminance 0.457; OKLCH L 77.1% C 0.142 H 90.5°. Best body text is #000000 at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#D7B034
RGBrgb(215, 176, 52)
HSLhsl(46, 67%, 52%)
HSVhsv(46, 76%, 84%)
CMYKcmyk(0%, 18.1%, 75.8%, 15.7%)
CIE-LABlab(73.38, 2.03, 64.62)
CIE-LCHlch(73.38, 64.66, 88.20°)
OKLaboklab(77.13% -0.0012 0.1416)
OKLCHoklch(77.13% 0.142 90.5)
XYZxyz(44.1721, 45.7485, 9.7519)
Luminance0.4575 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7B034 #345BD7
analogous
#D75E34 #D7B034 #ADD734
triadic
#D7B034 #34D7B0 #B034D7
tetradic
#D7B034 #34D75E #345BD7 #D734AD
square
#D7B034 #34D75E #345BD7 #D734AD
split-complementary
#D7B034 #34ADD7 #5E34D7
monochromatic
#796218 #AC8B22 #D7B034 #E1C467 #EBD89A

Accessibility & contrast

On white

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

On black

10.15
#D7B034 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7B034
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7B034#FFFFFF#000000##000000
##D7B0341.002.0710.1510.15
#FFFFFF2.071.0021.0021.00
#00000010.1521.001.001.00
##00000010.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE1D
Deuteranopia (green-blind)
#CEB93B
Tritanopia (blue-blind)
#E9A198
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #d7b034;
/* rgb */ color: rgb(215, 176, 52);
/* oklch */ color: oklch(77.1% 0.142 90.5);
Tailwind
colors: {
  custom: {
    50: '#e8c775',
    500: '#d7b034',
    950: '#000000',
  },
}
SCSS
$custom: #d7b034;
$custom-light: #e8c775;
$custom-dark: #000000;
JSON
{
  "hex": "#d7b034",
  "rgb": {
    "r": 215,
    "g": 176,
    "b": 52
  },
  "hsl": {
    "h": 45.644,
    "s": 67.078,
    "l": 52.353
  },
  "oklch": {
    "l": 0.77135,
    "c": 0.14158,
    "h": 90.5
  },
  "luminance": 0.45746
}

Semantic roles & 50–950 ramp

primary
#D7B034
secondary
#90A1D7
accent
#67EA3E
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#171309
muted
#85827B

Preview Lab

Preview with #D7B034

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

Preview Lab → · Contrast checker → · Palette generator →

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