#D1B943#D1B943

#D1B943 is a light, vivid yellow. Relative luminance 0.487; OKLCH L 78.5% C 0.137 H 97.6°. Best body text is #000000 at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#D1B943
RGBrgb(209, 185, 67)
HSLhsl(50, 61%, 54%)
HSVhsv(50, 68%, 82%)
CMYKcmyk(0%, 11.5%, 67.9%, 18%)
CIE-LABlab(75.24, -4.56, 60.50)
CIE-LCHlch(75.24, 60.67, 94.31°)
OKLaboklab(78.5% -0.018 0.1358)
OKLCHoklch(78.5% 0.137 97.6)
XYZxyz(44.6587, 48.6607, 12.3492)
Luminance0.4866 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1B943 #435BD1
analogous
#D17243 #D1B943 #A2D143
triadic
#D1B943 #43D1B9 #B943D1
tetradic
#D1B943 #43D172 #435BD1 #D143A2
square
#D1B943 #43D172 #435BD1 #D143A2
split-complementary
#D1B943 #43A2D1 #7243D1
monochromatic
#7B6C1E #AD972A #D1B943 #DDCB74 #E9DEA5

Accessibility & contrast

On white

1.96
#D1B943 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.73
#D1B943 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1B943
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1B943#FFFFFF#000000##000000
##D1B9431.001.9610.7310.73
#FFFFFF1.961.0021.0021.00
#00000010.7321.001.001.00
##00000010.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB533
Deuteranopia (green-blind)
#D1BD4A
Tritanopia (blue-blind)
#E1ABA1
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #d1b943;
/* rgb */ color: rgb(209, 185, 67);
/* oklch */ color: oklch(78.5% 0.137 97.6);
Tailwind
colors: {
  custom: {
    50: '#e3cd7d',
    500: '#d1b943',
    950: '#000000',
  },
}
SCSS
$custom: #d1b943;
$custom-light: #e3cd7d;
$custom-dark: #000000;
JSON
{
  "hex": "#d1b943",
  "rgb": {
    "r": 209,
    "g": 185,
    "b": 67
  },
  "hsl": {
    "h": 49.859,
    "s": 60.684,
    "l": 54.118
  },
  "oklch": {
    "l": 0.78503,
    "c": 0.13702,
    "h": 97.6
  },
  "luminance": 0.48658
}

Semantic roles & 50–950 ramp

primary
#D1B943
secondary
#9AA4D6
accent
#5FE444
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D1B943

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

Preview Lab → · Contrast checker → · Palette generator →

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