#D1B34B#D1B34B

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

Color values

HEX#D1B34B
RGBrgb(209, 179, 75)
HSLhsl(47, 59%, 56%)
HSVhsv(47, 64%, 82%)
CMYKcmyk(0%, 14.4%, 64.1%, 18%)
CIE-LABlab(73.74, -0.96, 55.52)
CIE-LCHlch(73.74, 55.52, 90.99°)
OKLaboklab(77.34% -0.0068 0.1266)
OKLCHoklch(77.34% 0.127 93.1)
XYZxyz(43.6867, 46.3058, 13.2921)
Luminance0.4630 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1B34B #4B69D1
analogous
#D1704B #D1B34B #ACD14B
triadic
#D1B34B #4BD1B3 #B34BD1
tetradic
#D1B34B #4BD170 #4B69D1 #D14BAC
square
#D1B34B #4BD170 #4B69D1 #D14BAC
split-complementary
#D1B34B #4BACD1 #704BD1
monochromatic
#816B21 #B1942D #D1B34B #DDC87C #EADCAC

Accessibility & contrast

On white

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

On black

10.26
#D1B34B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1B34B
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1B34B#FFFFFF#000000##000000
##D1B34B1.002.0510.2610.26
#FFFFFF2.051.0021.0021.00
#00000010.2621.001.001.00
##00000010.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B03F
Deuteranopia (green-blind)
#CCB950
Tritanopia (blue-blind)
#E1A69D
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #d1b34b;
/* rgb */ color: rgb(209, 179, 75);
/* oklch */ color: oklch(77.3% 0.127 93.1);
Tailwind
colors: {
  custom: {
    50: '#e2c982',
    500: '#d1b34b',
    950: '#000000',
  },
}
SCSS
$custom: #d1b34b;
$custom-light: #e2c982;
$custom-dark: #000000;
JSON
{
  "hex": "#d1b34b",
  "rgb": {
    "r": 209,
    "g": 179,
    "b": 75
  },
  "hsl": {
    "h": 46.567,
    "s": 59.292,
    "l": 55.686
  },
  "oklch": {
    "l": 0.7734,
    "c": 0.12673,
    "h": 93.1
  },
  "luminance": 0.46304
}

Semantic roles & 50–950 ramp

primary
#D1B34B
secondary
#A0ADD8
accent
#69E245
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D1B34B

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

Preview Lab → · Contrast checker → · Palette generator →

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