#D4B343#D4B343

#D4B343 is a light, vivid yellow. Relative luminance 0.466; OKLCH L 77.6% C 0.133 H 92.4°. Best body text is #000000 at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#D4B343
RGBrgb(212, 179, 67)
HSLhsl(46, 63%, 55%)
HSVhsv(46, 68%, 83%)
CMYKcmyk(0%, 15.6%, 68.4%, 16.9%)
CIE-LABlab(73.96, -0.14, 59.27)
CIE-LCHlch(73.96, 59.27, 90.13°)
OKLaboklab(77.56% -0.0056 0.1331)
OKLCHoklch(77.56% 0.133 92.4)
XYZxyz(44.2869, 46.6450, 11.9798)
Luminance0.4664 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4B343 #4364D4
analogous
#D46B43 #D4B343 #ADD443
triadic
#D4B343 #43D4B3 #B343D4
tetradic
#D4B343 #43D46B #4364D4 #D443AD
square
#D4B343 #43D46B #4364D4 #D443AD
split-complementary
#D4B343 #43ADD4 #6B43D4
monochromatic
#7F691D #B19229 #D4B343 #DFC775 #EBDBA7

Accessibility & contrast

On white

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

On black

10.33
#D4B343 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4B343
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4B343#FFFFFF#000000##000000
##D4B3431.002.0310.3310.33
#FFFFFF2.031.0021.0021.00
#00000010.3321.001.001.00
##00000010.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B034
Deuteranopia (green-blind)
#CEBA49
Tritanopia (blue-blind)
#E5A59C
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #d4b343;
/* rgb */ color: rgb(212, 179, 67);
/* oklch */ color: oklch(77.6% 0.133 92.4);
Tailwind
colors: {
  custom: {
    50: '#e5c97d',
    500: '#d4b343',
    950: '#000000',
  },
}
SCSS
$custom: #d4b343;
$custom-light: #e5c97d;
$custom-dark: #000000;
JSON
{
  "hex": "#d4b343",
  "rgb": {
    "r": 212,
    "g": 179,
    "b": 67
  },
  "hsl": {
    "h": 46.345,
    "s": 62.771,
    "l": 54.706
  },
  "oklch": {
    "l": 0.77558,
    "c": 0.13326,
    "h": 92.4
  },
  "luminance": 0.46642
}

Semantic roles & 50–950 ramp

primary
#D4B343
secondary
#9BA9D8
accent
#67E642
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D4B343

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

Preview Lab → · Contrast checker → · Palette generator →

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