#D1B145#D1B145

#D1B145 is a light, vivid yellow. Relative luminance 0.454; OKLCH L 76.9% C 0.130 H 92.4°. Best body text is #000000 at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#D1B145
RGBrgb(209, 177, 69)
HSLhsl(46, 60%, 55%)
HSVhsv(46, 67%, 82%)
CMYKcmyk(0%, 15.3%, 67%, 18%)
CIE-LABlab(73.18, -0.26, 57.52)
CIE-LCHlch(73.18, 57.52, 90.26°)
OKLaboklab(76.88% -0.0055 0.1299)
OKLCHoklch(76.88% 0.13 92.4)
XYZxyz(43.0930, 45.4317, 12.1285)
Luminance0.4543 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1B145 #4565D1
analogous
#D16B45 #D1B145 #ABD145
triadic
#D1B145 #45D1B1 #B145D1
tetradic
#D1B145 #45D16B #4565D1 #D145AB
square
#D1B145 #45D16B #4565D1 #D145AB
split-complementary
#D1B145 #45ABD1 #6B45D1
monochromatic
#7D671F #AE902B #D1B145 #DDC676 #E9DAA7

Accessibility & contrast

On white

2.08
#D1B145 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.09
#D1B145 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1B145
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1B145#FFFFFF#000000##000000
##D1B1451.002.0810.0910.09
#FFFFFF2.081.0021.0021.00
#00000010.0921.001.001.00
##00000010.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AE38
Deuteranopia (green-blind)
#CBB84A
Tritanopia (blue-blind)
#E1A39A
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #d1b145;
/* rgb */ color: rgb(209, 177, 69);
/* oklch */ color: oklch(76.9% 0.130 92.4);
Tailwind
colors: {
  custom: {
    50: '#e3c87e',
    500: '#d1b145',
    950: '#000000',
  },
}
SCSS
$custom: #d1b145;
$custom-light: #e3c87e;
$custom-dark: #000000;
JSON
{
  "hex": "#d1b145",
  "rgb": {
    "r": 209,
    "g": 177,
    "b": 69
  },
  "hsl": {
    "h": 46.286,
    "s": 60.345,
    "l": 54.51
  },
  "oklch": {
    "l": 0.76875,
    "c": 0.12998,
    "h": 92.4
  },
  "luminance": 0.45429
}

Semantic roles & 50–950 ramp

primary
#D1B145
secondary
#9BA9D7
accent
#69E344
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D1B145

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

Preview Lab → · Contrast checker → · Palette generator →

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