#D1B245#D1B245

#D1B245 is a light, vivid yellow. Relative luminance 0.458; OKLCH L 77.1% C 0.131 H 93.1°. Best body text is #000000 at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#D1B245
RGBrgb(209, 178, 69)
HSLhsl(47, 60%, 55%)
HSVhsv(47, 67%, 82%)
CMYKcmyk(0%, 14.8%, 67%, 18%)
CIE-LABlab(73.43, -0.79, 57.79)
CIE-LCHlch(73.43, 57.80, 90.78°)
OKLaboklab(77.08% -0.007 0.1304)
OKLCHoklch(77.08% 0.131 93.1)
XYZxyz(43.2912, 45.8281, 12.1945)
Luminance0.4583 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1B245 #4564D1
analogous
#D16C45 #D1B245 #AAD145
triadic
#D1B245 #45D1B2 #B245D1
tetradic
#D1B245 #45D16C #4564D1 #D145AA
square
#D1B245 #45D16C #4564D1 #D145AA
split-complementary
#D1B245 #45AAD1 #6C45D1
monochromatic
#7D681F #AE912B #D1B245 #DDC676 #E9DBA7

Accessibility & contrast

On white

2.07
#D1B245 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.17
#D1B245 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1B245
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1B245#FFFFFF#000000##000000
##D1B2451.002.0710.1710.17
#FFFFFF2.071.0021.0021.00
#00000010.1721.001.001.00
##00000010.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AF37
Deuteranopia (green-blind)
#CCB84A
Tritanopia (blue-blind)
#E1A49B
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #d1b245;
/* rgb */ color: rgb(209, 178, 69);
/* oklch */ color: oklch(77.1% 0.131 93.1);
Tailwind
colors: {
  custom: {
    50: '#e3c87e',
    500: '#d1b245',
    950: '#000000',
  },
}
SCSS
$custom: #d1b245;
$custom-light: #e3c87e;
$custom-dark: #000000;
JSON
{
  "hex": "#d1b245",
  "rgb": {
    "r": 209,
    "g": 178,
    "b": 69
  },
  "hsl": {
    "h": 46.714,
    "s": 60.345,
    "l": 54.51
  },
  "oklch": {
    "l": 0.77079,
    "c": 0.13063,
    "h": 93.1
  },
  "luminance": 0.45826
}

Semantic roles & 50–950 ramp

primary
#D1B245
secondary
#9BA8D7
accent
#68E344
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D1B245

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

Preview Lab → · Contrast checker → · Palette generator →

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