#D1B638#D1B638

#D1B638 is a light, vivid yellow. Relative luminance 0.473; OKLCH L 77.8% C 0.142 H 96.6°. Best body text is #000000 at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#D1B638
RGBrgb(209, 182, 56)
HSLhsl(49, 62%, 52%)
HSVhsv(49, 73%, 82%)
CMYKcmyk(0%, 12.9%, 73.2%, 18%)
CIE-LABlab(74.38, -3.55, 63.92)
CIE-LCHlch(74.38, 64.02, 93.18°)
OKLaboklab(77.8% -0.0164 0.1411)
OKLCHoklch(77.8% 0.142 96.6)
XYZxyz(43.7385, 47.2990, 10.5664)
Luminance0.4730 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1B638 #3853D1
analogous
#D16A38 #D1B638 #9FD138
triadic
#D1B638 #38D1B6 #B638D1
tetradic
#D1B638 #38D16A #3853D1 #D1389F
square
#D1B638 #38D16A #3853D1 #D1389F
split-complementary
#D1B638 #389FD1 #6A38D1
monochromatic
#74641B #A68F26 #D1B638 #DCC86A #E8DA9B

Accessibility & contrast

On white

2.01
#D1B638 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.46
#D1B638 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1B638
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1B638#FFFFFF#000000##000000
##D1B6381.002.0110.4610.46
#FFFFFF2.011.0021.0021.00
#00000010.4621.001.001.00
##00000010.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B223
Deuteranopia (green-blind)
#D0BB40
Tritanopia (blue-blind)
#E2A89D
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #d1b638;
/* rgb */ color: rgb(209, 182, 56);
/* oklch */ color: oklch(77.8% 0.142 96.6);
Tailwind
colors: {
  custom: {
    50: '#e3cb77',
    500: '#d1b638',
    950: '#000000',
  },
}
SCSS
$custom: #d1b638;
$custom-light: #e3cb77;
$custom-dark: #000000;
JSON
{
  "hex": "#d1b638",
  "rgb": {
    "r": 209,
    "g": 182,
    "b": 56
  },
  "hsl": {
    "h": 49.412,
    "s": 62.449,
    "l": 51.961
  },
  "oklch": {
    "l": 0.77798,
    "c": 0.14206,
    "h": 96.6
  },
  "luminance": 0.47297
}

Semantic roles & 50–950 ramp

primary
#D1B638
secondary
#919DD4
accent
#5FE642
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #D1B638

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

Preview Lab → · Contrast checker → · Palette generator →

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