#D7B13E#D7B13E

#D7B13E is a light, vivid yellow. Relative luminance 0.462; OKLCH L 77.4% C 0.136 H 90.1°. Best body text is #000000 at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#D7B13E
RGBrgb(215, 177, 62)
HSLhsl(45, 66%, 54%)
HSVhsv(45, 71%, 84%)
CMYKcmyk(0%, 17.7%, 71.2%, 15.7%)
CIE-LABlab(73.70, 1.95, 61.14)
CIE-LCHlch(73.70, 61.17, 88.18°)
OKLaboklab(77.41% -0.0003 0.1361)
OKLCHoklch(77.41% 0.136 90.1)
XYZxyz(44.6185, 46.2419, 11.1320)
Luminance0.4624 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7B13E #3E64D7
analogous
#D7653E #D7B13E #B1D73E
triadic
#D7B13E #3ED7B1 #B13ED7
tetradic
#D7B13E #3ED765 #3E64D7 #D73EB1
square
#D7B13E #3ED765 #3E64D7 #D73EB1
split-complementary
#D7B13E #3EB1D7 #653ED7
monochromatic
#80671B #B39025 #D7B13E #E2C571 #ECDAA3

Accessibility & contrast

On white

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

On black

10.25
#D7B13E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7B13E
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7B13E#FFFFFF#000000##000000
##D7B13E1.002.0510.2510.25
#FFFFFF2.051.0021.0021.00
#00000010.2521.001.001.00
##00000010.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF2E
Deuteranopia (green-blind)
#CEBA44
Tritanopia (blue-blind)
#E8A29A
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #d7b13e;
/* rgb */ color: rgb(215, 177, 62);
/* oklch */ color: oklch(77.4% 0.136 90.1);
Tailwind
colors: {
  custom: {
    50: '#e7c87a',
    500: '#d7b13e',
    950: '#000000',
  },
}
SCSS
$custom: #d7b13e;
$custom-light: #e7c87a;
$custom-dark: #000000;
JSON
{
  "hex": "#d7b13e",
  "rgb": {
    "r": 215,
    "g": 177,
    "b": 62
  },
  "hsl": {
    "h": 45.098,
    "s": 65.665,
    "l": 54.314
  },
  "oklch": {
    "l": 0.77408,
    "c": 0.1361,
    "h": 90.1
  },
  "luminance": 0.46239
}

Semantic roles & 50–950 ramp

primary
#D7B13E
secondary
#98A8D9
accent
#69E93F
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#17130A
muted
#85827C

Preview Lab

Preview with #D7B13E

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

Preview Lab → · Contrast checker → · Palette generator →

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