#D1B93B#D1B93B

#D1B93B is a light, vivid yellow. Relative luminance 0.486; OKLCH L 78.4% C 0.142 H 98.1°. Best body text is #000000 at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#D1B93B
RGBrgb(209, 185, 59)
HSLhsl(50, 62%, 53%)
HSVhsv(50, 72%, 82%)
CMYKcmyk(0%, 11.5%, 71.8%, 18%)
CIE-LABlab(75.18, -4.97, 63.58)
CIE-LCHlch(75.18, 63.78, 94.47°)
OKLaboklab(78.44% -0.0201 0.141)
OKLCHoklch(78.44% 0.142 98.1)
XYZxyz(44.4350, 48.5712, 11.1715)
Luminance0.4857 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1B93B #3B53D1
analogous
#D16E3B #D1B93B #9ED13B
triadic
#D1B93B #3BD1B9 #B93BD1
tetradic
#D1B93B #3BD16E #3B53D1 #D13B9E
square
#D1B93B #3BD16E #3B53D1 #D13B9E
split-complementary
#D1B93B #3B9ED1 #6E3BD1
monochromatic
#76671C #A79327 #D1B93B #DDCB6D #E8DC9E

Accessibility & contrast

On white

1.96
#D1B93B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.71
#D1B93B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1B93B
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1B93B#FFFFFF#000000##000000
##D1B93B1.001.9610.7110.71
#FFFFFF1.961.0021.0021.00
#00000010.7121.001.001.00
##00000010.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB427
Deuteranopia (green-blind)
#D2BD43
Tritanopia (blue-blind)
#E1ABA0
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #d1b93b;
/* rgb */ color: rgb(209, 185, 59);
/* oklch */ color: oklch(78.4% 0.142 98.1);
Tailwind
colors: {
  custom: {
    50: '#e3cd79',
    500: '#d1b93b',
    950: '#000000',
  },
}
SCSS
$custom: #d1b93b;
$custom-light: #e3cd79;
$custom-dark: #000000;
JSON
{
  "hex": "#d1b93b",
  "rgb": {
    "r": 209,
    "g": 185,
    "b": 59
  },
  "hsl": {
    "h": 50.4,
    "s": 61.983,
    "l": 52.549
  },
  "oklch": {
    "l": 0.7844,
    "c": 0.14237,
    "h": 98.1
  },
  "luminance": 0.48569
}

Semantic roles & 50–950 ramp

primary
#D1B93B
secondary
#939ED4
accent
#5DE543
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D1B93B

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

Preview Lab → · Contrast checker → · Palette generator →

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