#D1B348#D1B348

#D1B348 is a light, vivid yellow. Relative luminance 0.463; OKLCH L 77.3% C 0.129 H 93.4°. Best body text is #000000 at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#D1B348
RGBrgb(209, 179, 72)
HSLhsl(47, 60%, 55%)
HSVhsv(47, 66%, 82%)
CMYKcmyk(0%, 14.4%, 65.6%, 18%)
CIE-LABlab(73.72, -1.14, 56.80)
CIE-LCHlch(73.72, 56.81, 91.15°)
OKLaboklab(77.31% -0.0077 0.1288)
OKLCHoklch(77.31% 0.129 93.4)
XYZxyz(43.5864, 46.2657, 12.7640)
Luminance0.4626 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1B348 #4866D1
analogous
#D16E48 #D1B348 #ABD148
triadic
#D1B348 #48D1B3 #B348D1
tetradic
#D1B348 #48D16E #4866D1 #D148AB
square
#D1B348 #48D16E #4866D1 #D148AB
split-complementary
#D1B348 #48ABD1 #6E48D1
monochromatic
#7F6A20 #B0932C #D1B348 #DDC779 #EADCAA

Accessibility & contrast

On white

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

On black

10.25
#D1B348 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1B348
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1B348#FFFFFF#000000##000000
##D1B3481.002.0510.2510.25
#FFFFFF2.051.0021.0021.00
#00000010.2521.001.001.00
##00000010.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B03B
Deuteranopia (green-blind)
#CDB94D
Tritanopia (blue-blind)
#E1A69C
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #d1b348;
/* rgb */ color: rgb(209, 179, 72);
/* oklch */ color: oklch(77.3% 0.129 93.4);
Tailwind
colors: {
  custom: {
    50: '#e3c980',
    500: '#d1b348',
    950: '#000000',
  },
}
SCSS
$custom: #d1b348;
$custom-light: #e3c980;
$custom-dark: #000000;
JSON
{
  "hex": "#d1b348",
  "rgb": {
    "r": 209,
    "g": 179,
    "b": 72
  },
  "hsl": {
    "h": 46.861,
    "s": 59.825,
    "l": 55.098
  },
  "oklch": {
    "l": 0.77311,
    "c": 0.12905,
    "h": 93.4
  },
  "luminance": 0.46263
}

Semantic roles & 50–950 ramp

primary
#D1B348
secondary
#9EAAD7
accent
#67E345
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #D1B348

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

Preview Lab → · Contrast checker → · Palette generator →

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