#D4B143#D4B143

#D4B143 is a light, vivid yellow. Relative luminance 0.458; OKLCH L 77.2% C 0.132 H 91.1°. Best body text is #000000 at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#D4B143
RGBrgb(212, 177, 67)
HSLhsl(46, 63%, 55%)
HSVhsv(46, 68%, 83%)
CMYKcmyk(0%, 16.5%, 68.4%, 16.9%)
CIE-LABlab(73.45, 0.91, 58.74)
CIE-LCHlch(73.45, 58.75, 89.11°)
OKLaboklab(77.15% -0.0025 0.132)
OKLCHoklch(77.15% 0.132 91.1)
XYZxyz(43.8889, 45.8491, 11.8472)
Luminance0.4585 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4B143 #4366D4
analogous
#D46843 #D4B143 #AFD443
triadic
#D4B143 #43D4B1 #B143D4
tetradic
#D4B143 #43D468 #4366D4 #D443AF
square
#D4B143 #43D468 #4366D4 #D443AF
split-complementary
#D4B143 #43AFD4 #6843D4
monochromatic
#7F681D #B19029 #D4B143 #DFC675 #EBDAA7

Accessibility & contrast

On white

2.07
#D4B143 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.17
#D4B143 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4B143
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4B143#FFFFFF#000000##000000
##D4B1431.002.0710.1710.17
#FFFFFF2.071.0021.0021.00
#00000010.1721.001.001.00
##00000010.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AF35
Deuteranopia (green-blind)
#CDB948
Tritanopia (blue-blind)
#E5A39A
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #d4b143;
/* rgb */ color: rgb(212, 177, 67);
/* oklch */ color: oklch(77.2% 0.132 91.1);
Tailwind
colors: {
  custom: {
    50: '#e5c87d',
    500: '#d4b143',
    950: '#000000',
  },
}
SCSS
$custom: #d4b143;
$custom-light: #e5c87d;
$custom-dark: #000000;
JSON
{
  "hex": "#d4b143",
  "rgb": {
    "r": 212,
    "g": 177,
    "b": 67
  },
  "hsl": {
    "h": 45.517,
    "s": 62.771,
    "l": 54.706
  },
  "oklch": {
    "l": 0.77152,
    "c": 0.13203,
    "h": 91.1
  },
  "luminance": 0.45847
}

Semantic roles & 50–950 ramp

primary
#D4B143
secondary
#9BAAD8
accent
#6AE642
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D4B143

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

Preview Lab → · Contrast checker → · Palette generator →

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