#D7B343#D7B343

#D7B343 is a light, vivid yellow. Relative luminance 0.471; OKLCH L 77.9% C 0.134 H 90.9°. Best body text is #000000 at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#D7B343
RGBrgb(215, 179, 67)
HSLhsl(45, 65%, 55%)
HSVhsv(45, 69%, 84%)
CMYKcmyk(0%, 16.7%, 68.8%, 15.7%)
CIE-LABlab(74.25, 1.15, 59.66)
CIE-LCHlch(74.25, 59.67, 88.90°)
OKLaboklab(77.85% -0.002 0.1339)
OKLCHoklch(77.85% 0.134 90.9)
XYZxyz(45.1600, 47.0952, 12.0207)
Luminance0.4709 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7B343 #4367D7
analogous
#D76943 #D7B343 #B1D743
triadic
#D7B343 #43D7B3 #B343D7
tetradic
#D7B343 #43D769 #4367D7 #D743B1
square
#D7B343 #43D769 #4367D7 #D743B1
split-complementary
#D7B343 #43B1D7 #6943D7
monochromatic
#846A1C #B69327 #D7B343 #E2C775 #ECDCA8

Accessibility & contrast

On white

2.02
#D7B343 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.42
#D7B343 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7B343
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7B343#FFFFFF#000000##000000
##D7B3431.002.0210.4210.42
#FFFFFF2.021.0021.0021.00
#00000010.4221.001.001.00
##00000010.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B134
Deuteranopia (green-blind)
#CFBB48
Tritanopia (blue-blind)
#E8A59C
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #d7b343;
/* rgb */ color: rgb(215, 179, 67);
/* oklch */ color: oklch(77.9% 0.134 90.9);
Tailwind
colors: {
  custom: {
    50: '#e7c97d',
    500: '#d7b343',
    950: '#000000',
  },
}
SCSS
$custom: #d7b343;
$custom-light: #e7c97d;
$custom-dark: #000000;
JSON
{
  "hex": "#d7b343",
  "rgb": {
    "r": 215,
    "g": 179,
    "b": 67
  },
  "hsl": {
    "h": 45.405,
    "s": 64.912,
    "l": 55.294
  },
  "oklch": {
    "l": 0.77852,
    "c": 0.13388,
    "h": 90.9
  },
  "luminance": 0.47093
}

Semantic roles & 50–950 ramp

primary
#D7B343
secondary
#9CABDA
accent
#69E840
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#17130A
muted
#85827C

Preview Lab

Preview with #D7B343

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

Preview Lab → · Contrast checker → · Palette generator →

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