#D1B33B#D1B33B

#D1B33B is a light, vivid yellow. Relative luminance 0.461; OKLCH L 77.2% C 0.138 H 94.6°. Best body text is #000000 at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#D1B33B
RGBrgb(209, 179, 59)
HSLhsl(48, 62%, 53%)
HSVhsv(48, 72%, 82%)
CMYKcmyk(0%, 14.4%, 71.8%, 18%)
CIE-LABlab(73.62, -1.84, 62.04)
CIE-LCHlch(73.62, 62.07, 91.70°)
OKLaboklab(77.2% -0.0112 0.1377)
OKLCHoklch(77.2% 0.138 94.6)
XYZxyz(43.2063, 46.1137, 10.7619)
Luminance0.4611 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1B33B #3B59D1
analogous
#D1683B #D1B33B #A4D13B
triadic
#D1B33B #3BD1B3 #B33BD1
tetradic
#D1B33B #3BD168 #3B59D1 #D13BA4
square
#D1B33B #3BD168 #3B59D1 #D13BA4
split-complementary
#D1B33B #3BA4D1 #683BD1
monochromatic
#76641C #A78E27 #D1B33B #DDC66D #E8D99E

Accessibility & contrast

On white

2.05
#D1B33B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.22
#D1B33B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1B33B
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1B33B#FFFFFF#000000##000000
##D1B33B1.002.0510.2210.22
#FFFFFF2.051.0021.0021.00
#00000010.2221.001.001.00
##00000010.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B029
Deuteranopia (green-blind)
#CDB942
Tritanopia (blue-blind)
#E2A59B
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #d1b33b;
/* rgb */ color: rgb(209, 179, 59);
/* oklch */ color: oklch(77.2% 0.138 94.6);
Tailwind
colors: {
  custom: {
    50: '#e3c978',
    500: '#d1b33b',
    950: '#000000',
  },
}
SCSS
$custom: #d1b33b;
$custom-light: #e3c978;
$custom-dark: #000000;
JSON
{
  "hex": "#d1b33b",
  "rgb": {
    "r": 209,
    "g": 179,
    "b": 59
  },
  "hsl": {
    "h": 48,
    "s": 61.983,
    "l": 52.549
  },
  "oklch": {
    "l": 0.77202,
    "c": 0.13814,
    "h": 94.6
  },
  "luminance": 0.46111
}

Semantic roles & 50–950 ramp

primary
#D1B33B
secondary
#93A0D4
accent
#63E543
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #D1B33B

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

Preview Lab → · Contrast checker → · Palette generator →

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