#D1B343#D1B343

#D1B343 is a light, vivid yellow. Relative luminance 0.462; OKLCH L 77.3% C 0.133 H 93.9°. Best body text is #000000 at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#D1B343
RGBrgb(209, 179, 67)
HSLhsl(47, 61%, 54%)
HSVhsv(47, 68%, 82%)
CMYKcmyk(0%, 14.4%, 67.9%, 18%)
CIE-LABlab(73.68, -1.43, 58.89)
CIE-LCHlch(73.68, 58.90, 91.39°)
OKLaboklab(77.27% -0.0091 0.1324)
OKLCHoklch(77.27% 0.133 93.9)
XYZxyz(43.4299, 46.2031, 11.9396)
Luminance0.4620 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1B343 #4361D1
analogous
#D16C43 #D1B343 #A8D143
triadic
#D1B343 #43D1B3 #B343D1
tetradic
#D1B343 #43D16C #4361D1 #D143A8
square
#D1B343 #43D16C #4361D1 #D143A8
split-complementary
#D1B343 #43A8D1 #6C43D1
monochromatic
#7B681E #AD912A #D1B343 #DDC774 #E9DBA5

Accessibility & contrast

On white

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

On black

10.24
#D1B343 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1B343
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1B343#FFFFFF#000000##000000
##D1B3431.002.0510.2410.24
#FFFFFF2.051.0021.0021.00
#00000010.2421.001.001.00
##00000010.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B034
Deuteranopia (green-blind)
#CDB949
Tritanopia (blue-blind)
#E1A59C
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #d1b343;
/* rgb */ color: rgb(209, 179, 67);
/* oklch */ color: oklch(77.3% 0.133 93.9);
Tailwind
colors: {
  custom: {
    50: '#e3c97d',
    500: '#d1b343',
    950: '#000000',
  },
}
SCSS
$custom: #d1b343;
$custom-light: #e3c97d;
$custom-dark: #000000;
JSON
{
  "hex": "#d1b343",
  "rgb": {
    "r": 209,
    "g": 179,
    "b": 67
  },
  "hsl": {
    "h": 47.324,
    "s": 60.684,
    "l": 54.118
  },
  "oklch": {
    "l": 0.77266,
    "c": 0.13274,
    "h": 93.9
  },
  "luminance": 0.46201
}

Semantic roles & 50–950 ramp

primary
#D1B343
secondary
#9AA6D6
accent
#66E444
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D1B343

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

Preview Lab → · Contrast checker → · Palette generator →

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