#D1B738#D1B738

#D1B738 is a light, vivid yellow. Relative luminance 0.477; OKLCH L 78.0% C 0.143 H 97.2°. Best body text is #000000 at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#D1B738
RGBrgb(209, 183, 56)
HSLhsl(50, 62%, 52%)
HSVhsv(50, 73%, 82%)
CMYKcmyk(0%, 12.4%, 73.2%, 18%)
CIE-LABlab(74.64, -4.07, 64.17)
CIE-LCHlch(74.64, 64.30, 93.63°)
OKLaboklab(78.01% -0.0178 0.1416)
OKLCHoklch(78.01% 0.143 97.2)
XYZxyz(43.9440, 47.7101, 10.6349)
Luminance0.4771 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1B738 #3852D1
analogous
#D16B38 #D1B738 #9FD138
triadic
#D1B738 #38D1B7 #B738D1
tetradic
#D1B738 #38D16B #3852D1 #D1389F
square
#D1B738 #38D16B #3852D1 #D1389F
split-complementary
#D1B738 #389FD1 #6B38D1
monochromatic
#74651B #A69026 #D1B738 #DCC96A #E8DB9B

Accessibility & contrast

On white

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

On black

10.54
#D1B738 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1B738
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1B738#FFFFFF#000000##000000
##D1B7381.001.9910.5410.54
#FFFFFF1.991.0021.0021.00
#00000010.5421.001.001.00
##00000010.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB322
Deuteranopia (green-blind)
#D0BB40
Tritanopia (blue-blind)
#E2A99E
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #d1b738;
/* rgb */ color: rgb(209, 183, 56);
/* oklch */ color: oklch(78.0% 0.143 97.2);
Tailwind
colors: {
  custom: {
    50: '#e3cc77',
    500: '#d1b738',
    950: '#000000',
  },
}
SCSS
$custom: #d1b738;
$custom-light: #e3cc77;
$custom-dark: #000000;
JSON
{
  "hex": "#d1b738",
  "rgb": {
    "r": 209,
    "g": 183,
    "b": 56
  },
  "hsl": {
    "h": 49.804,
    "s": 62.449,
    "l": 51.961
  },
  "oklch": {
    "l": 0.78005,
    "c": 0.14276,
    "h": 97.2
  },
  "luminance": 0.47708
}

Semantic roles & 50–950 ramp

primary
#D1B738
secondary
#919CD4
accent
#5EE642
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #D1B738

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

Preview Lab → · Contrast checker → · Palette generator →

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