#D1B745#D1B745

#D1B745 is a light, vivid yellow. Relative luminance 0.479; OKLCH L 78.1% C 0.134 H 96.2°. Best body text is #000000 at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#D1B745
RGBrgb(209, 183, 69)
HSLhsl(49, 60%, 55%)
HSVhsv(49, 67%, 82%)
CMYKcmyk(0%, 12.4%, 67%, 18%)
CIE-LABlab(74.73, -3.41, 59.15)
CIE-LCHlch(74.73, 59.25, 93.30°)
OKLaboklab(78.11% -0.0145 0.1333)
OKLCHoklch(78.11% 0.134 96.2)
XYZxyz(44.3043, 47.8542, 12.5322)
Luminance0.4785 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1B745 #455FD1
analogous
#D17145 #D1B745 #A5D145
triadic
#D1B745 #45D1B7 #B745D1
tetradic
#D1B745 #45D171 #455FD1 #D145A5
square
#D1B745 #45D171 #455FD1 #D145A5
split-complementary
#D1B745 #45A5D1 #7145D1
monochromatic
#7D6B1F #AE962B #D1B745 #DDCA76 #E9DDA7

Accessibility & contrast

On white

1.99
#D1B745 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.57
#D1B745 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1B745
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1B745#FFFFFF#000000##000000
##D1B7451.001.9910.5710.57
#FFFFFF1.991.0021.0021.00
#00000010.5721.001.001.00
##00000010.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B336
Deuteranopia (green-blind)
#D0BB4B
Tritanopia (blue-blind)
#E1AA9F
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #d1b745;
/* rgb */ color: rgb(209, 183, 69);
/* oklch */ color: oklch(78.1% 0.134 96.2);
Tailwind
colors: {
  custom: {
    50: '#e3cc7e',
    500: '#d1b745',
    950: '#000000',
  },
}
SCSS
$custom: #d1b745;
$custom-light: #e3cc7e;
$custom-dark: #000000;
JSON
{
  "hex": "#d1b745",
  "rgb": {
    "r": 209,
    "g": 183,
    "b": 69
  },
  "hsl": {
    "h": 48.857,
    "s": 60.345,
    "l": 54.51
  },
  "oklch": {
    "l": 0.78106,
    "c": 0.1341,
    "h": 96.2
  },
  "luminance": 0.47852
}

Semantic roles & 50–950 ramp

primary
#D1B745
secondary
#9BA6D7
accent
#62E344
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D1B745

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

Preview Lab → · Contrast checker → · Palette generator →

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