#D4B345#D4B345

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

Color values

HEX#D4B345
RGBrgb(212, 179, 69)
HSLhsl(46, 62%, 55%)
HSVhsv(46, 67%, 83%)
CMYKcmyk(0%, 15.6%, 67.5%, 16.9%)
CIE-LABlab(73.98, -0.03, 58.45)
CIE-LCHlch(73.98, 58.45, 90.03°)
OKLaboklab(77.58% -0.005 0.1317)
OKLCHoklch(77.58% 0.132 92.2)
XYZxyz(44.3479, 46.6694, 12.3013)
Luminance0.4667 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4B345 #4566D4
analogous
#D46C45 #D4B345 #ADD445
triadic
#D4B345 #45D4B3 #B345D4
tetradic
#D4B345 #45D46C #4566D4 #D445AD
square
#D4B345 #45D46C #4566D4 #D445AD
split-complementary
#D4B345 #45ADD4 #6C45D4
monochromatic
#816A1E #B39329 #D4B345 #DFC777 #EBDCA8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D4B345#FFFFFF#000000##000000
##D4B3451.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)
#C6B037
Deuteranopia (green-blind)
#CEBA4A
Tritanopia (blue-blind)
#E5A59C
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #d4b345;
/* rgb */ color: rgb(212, 179, 69);
/* oklch */ color: oklch(77.6% 0.132 92.2);
Tailwind
colors: {
  custom: {
    50: '#e5c97e',
    500: '#d4b345',
    950: '#000000',
  },
}
SCSS
$custom: #d4b345;
$custom-light: #e5c97e;
$custom-dark: #000000;
JSON
{
  "hex": "#d4b345",
  "rgb": {
    "r": 212,
    "g": 179,
    "b": 69
  },
  "hsl": {
    "h": 46.154,
    "s": 62.445,
    "l": 55.098
  },
  "oklch": {
    "l": 0.77575,
    "c": 0.13183,
    "h": 92.2
  },
  "luminance": 0.46667
}

Semantic roles & 50–950 ramp

primary
#D4B345
secondary
#9CAAD8
accent
#68E642
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D4B345

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

Preview Lab → · Contrast checker → · Palette generator →

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