#D7B134#D7B134

#D7B134 is a light, vivid yellow. Relative luminance 0.461; OKLCH L 77.3% C 0.142 H 91.1°. Best body text is #000000 at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#D7B134
RGBrgb(215, 177, 52)
HSLhsl(46, 67%, 52%)
HSVhsv(46, 76%, 84%)
CMYKcmyk(0%, 17.7%, 75.8%, 15.7%)
CIE-LABlab(73.64, 1.50, 64.86)
CIE-LCHlch(73.64, 64.88, 88.68°)
OKLaboklab(77.34% -0.0027 0.1421)
OKLCHoklch(77.34% 0.142 91.1)
XYZxyz(44.3689, 46.1421, 9.8175)
Luminance0.4614 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7B134 #345AD7
analogous
#D75F34 #D7B134 #ACD734
triadic
#D7B134 #34D7B1 #B134D7
tetradic
#D7B134 #34D75F #345AD7 #D734AC
square
#D7B134 #34D75F #345AD7 #D734AC
split-complementary
#D7B134 #34ACD7 #5F34D7
monochromatic
#796218 #AC8C22 #D7B134 #E1C567 #EBD89A

Accessibility & contrast

On white

2.05
#D7B134 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.23
#D7B134 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7B134
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7B134#FFFFFF#000000##000000
##D7B1341.002.0510.2310.23
#FFFFFF2.051.0021.0021.00
#00000010.2321.001.001.00
##00000010.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF1D
Deuteranopia (green-blind)
#CEB93B
Tritanopia (blue-blind)
#E9A299
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #d7b134;
/* rgb */ color: rgb(215, 177, 52);
/* oklch */ color: oklch(77.3% 0.142 91.1);
Tailwind
colors: {
  custom: {
    50: '#e8c775',
    500: '#d7b134',
    950: '#000000',
  },
}
SCSS
$custom: #d7b134;
$custom-light: #e8c775;
$custom-dark: #000000;
JSON
{
  "hex": "#d7b134",
  "rgb": {
    "r": 215,
    "g": 177,
    "b": 52
  },
  "hsl": {
    "h": 46.012,
    "s": 67.078,
    "l": 52.353
  },
  "oklch": {
    "l": 0.77337,
    "c": 0.14211,
    "h": 91.1
  },
  "luminance": 0.46139
}

Semantic roles & 50–950 ramp

primary
#D7B134
secondary
#90A0D7
accent
#66EA3E
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#171309
muted
#85827B

Preview Lab

Preview with #D7B134

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

Preview Lab → · Contrast checker → · Palette generator →

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