#D1B13B#D1B13B

#D1B13B is a light, vivid yellow. Relative luminance 0.453; OKLCH L 76.8% C 0.137 H 93.4°. Best body text is #000000 at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#D1B13B
RGBrgb(209, 177, 59)
HSLhsl(47, 62%, 53%)
HSVhsv(47, 72%, 82%)
CMYKcmyk(0%, 15.3%, 71.8%, 18%)
CIE-LABlab(73.10, -0.79, 61.53)
CIE-LCHlch(73.10, 61.54, 90.73°)
OKLaboklab(76.79% -0.0082 0.1366)
OKLCHoklch(76.79% 0.137 93.4)
XYZxyz(42.8083, 45.3178, 10.6292)
Luminance0.4531 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1B13B #3B5BD1
analogous
#D1663B #D1B13B #A6D13B
triadic
#D1B13B #3BD1B1 #B13BD1
tetradic
#D1B13B #3BD166 #3B5BD1 #D13BA6
square
#D1B13B #3BD166 #3B5BD1 #D13BA6
split-complementary
#D1B13B #3BA6D1 #663BD1
monochromatic
#76631C #A78C27 #D1B13B #DDC56D #E8D89E

Accessibility & contrast

On white

2.09
#D1B13B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.06
#D1B13B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1B13B
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1B13B#FFFFFF#000000##000000
##D1B13B1.002.0910.0610.06
#FFFFFF2.091.0021.0021.00
#00000010.0621.001.001.00
##00000010.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE29
Deuteranopia (green-blind)
#CCB742
Tritanopia (blue-blind)
#E2A399
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #d1b13b;
/* rgb */ color: rgb(209, 177, 59);
/* oklch */ color: oklch(76.8% 0.137 93.4);
Tailwind
colors: {
  custom: {
    50: '#e3c778',
    500: '#d1b13b',
    950: '#000000',
  },
}
SCSS
$custom: #d1b13b;
$custom-light: #e3c778;
$custom-dark: #000000;
JSON
{
  "hex": "#d1b13b",
  "rgb": {
    "r": 209,
    "g": 177,
    "b": 59
  },
  "hsl": {
    "h": 47.2,
    "s": 61.983,
    "l": 52.549
  },
  "oklch": {
    "l": 0.76792,
    "c": 0.13685,
    "h": 93.4
  },
  "luminance": 0.45315
}

Semantic roles & 50–950 ramp

primary
#D1B13B
secondary
#93A1D4
accent
#65E543
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #D1B13B

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

Preview Lab → · Contrast checker → · Palette generator →

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