#D1B248#D1B248

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

Color values

HEX#D1B248
RGBrgb(209, 178, 72)
HSLhsl(46, 60%, 55%)
HSVhsv(46, 66%, 82%)
CMYKcmyk(0%, 14.8%, 65.6%, 18%)
CIE-LABlab(73.46, -0.61, 56.53)
CIE-LCHlch(73.46, 56.53, 90.62°)
OKLaboklab(77.11% -0.0061 0.1282)
OKLCHoklch(77.11% 0.128 92.7)
XYZxyz(43.3867, 45.8663, 12.6974)
Luminance0.4586 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1B248 #4867D1
analogous
#D16D48 #D1B248 #ACD148
triadic
#D1B248 #48D1B2 #B248D1
tetradic
#D1B248 #48D16D #4867D1 #D148AC
square
#D1B248 #48D16D #4867D1 #D148AC
split-complementary
#D1B248 #48ACD1 #6D48D1
monochromatic
#7F6920 #B0922C #D1B248 #DDC779 #EADBAA

Accessibility & contrast

On white

2.06
#D1B248 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##D1B248#FFFFFF#000000##000000
##D1B2481.002.0610.1710.17
#FFFFFF2.061.0021.0021.00
#00000010.1721.001.001.00
##00000010.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AF3B
Deuteranopia (green-blind)
#CCB84D
Tritanopia (blue-blind)
#E1A59C
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #d1b248;
/* rgb */ color: rgb(209, 178, 72);
/* oklch */ color: oklch(77.1% 0.128 92.7);
Tailwind
colors: {
  custom: {
    50: '#e3c880',
    500: '#d1b248',
    950: '#000000',
  },
}
SCSS
$custom: #d1b248;
$custom-light: #e3c880;
$custom-dark: #000000;
JSON
{
  "hex": "#d1b248",
  "rgb": {
    "r": 209,
    "g": 178,
    "b": 72
  },
  "hsl": {
    "h": 46.423,
    "s": 59.825,
    "l": 55.098
  },
  "oklch": {
    "l": 0.77107,
    "c": 0.12839,
    "h": 92.7
  },
  "luminance": 0.45864
}

Semantic roles & 50–950 ramp

primary
#D1B248
secondary
#9EABD7
accent
#69E345
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #D1B248

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

Preview Lab → · Contrast checker → · Palette generator →

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