#D1B43E#D1B43E

#D1B43E is a light, vivid yellow. Relative luminance 0.465; OKLCH L 77.4% C 0.137 H 95.0°. Best body text is #000000 at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#D1B43E
RGBrgb(209, 180, 62)
HSLhsl(48, 62%, 53%)
HSVhsv(48, 70%, 82%)
CMYKcmyk(0%, 13.9%, 70.3%, 18%)
CIE-LABlab(73.90, -2.22, 61.15)
CIE-LCHlch(73.90, 61.19, 92.08°)
OKLaboklab(77.43% -0.0119 0.1363)
OKLCHoklch(77.43% 0.137 95)
XYZxyz(43.4875, 46.5480, 11.2506)
Luminance0.4655 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1B43E #3E5BD1
analogous
#D16A3E #D1B43E #A5D13E
triadic
#D1B43E #3ED1B4 #B43ED1
tetradic
#D1B43E #3ED16A #3E5BD1 #D13EA5
square
#D1B43E #3ED16A #3E5BD1 #D13EA5
split-complementary
#D1B43E #3EA5D1 #6A3ED1
monochromatic
#78661D #A99028 #D1B43E #DDC76F #E9DAA1

Accessibility & contrast

On white

2.04
#D1B43E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.31
#D1B43E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1B43E
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1B43E#FFFFFF#000000##000000
##D1B43E1.002.0410.3110.31
#FFFFFF2.041.0021.0021.00
#00000010.3121.001.001.00
##00000010.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B02D
Deuteranopia (green-blind)
#CEB945
Tritanopia (blue-blind)
#E2A69C
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #d1b43e;
/* rgb */ color: rgb(209, 180, 62);
/* oklch */ color: oklch(77.4% 0.137 95.0);
Tailwind
colors: {
  custom: {
    50: '#e3ca7a',
    500: '#d1b43e',
    950: '#000000',
  },
}
SCSS
$custom: #d1b43e;
$custom-light: #e3ca7a;
$custom-dark: #000000;
JSON
{
  "hex": "#d1b43e",
  "rgb": {
    "r": 209,
    "g": 180,
    "b": 62
  },
  "hsl": {
    "h": 48.163,
    "s": 61.506,
    "l": 53.137
  },
  "oklch": {
    "l": 0.7743,
    "c": 0.13686,
    "h": 95
  },
  "luminance": 0.46546
}

Semantic roles & 50–950 ramp

primary
#D1B43E
secondary
#96A2D5
accent
#63E543
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D1B43E

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

Preview Lab → · Contrast checker → · Palette generator →

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