#D1B243#D1B243

#D1B243 is a light, vivid yellow. Relative luminance 0.458; OKLCH L 77.1% C 0.132 H 93.3°. Best body text is #000000 at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#D1B243
RGBrgb(209, 178, 67)
HSLhsl(47, 61%, 54%)
HSVhsv(47, 68%, 82%)
CMYKcmyk(0%, 14.8%, 67.9%, 18%)
CIE-LABlab(73.42, -0.90, 58.62)
CIE-LCHlch(73.42, 58.63, 90.88°)
OKLaboklab(77.06% -0.0076 0.1319)
OKLCHoklch(77.06% 0.132 93.3)
XYZxyz(43.2302, 45.8037, 11.8731)
Luminance0.4580 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1B243 #4362D1
analogous
#D16B43 #D1B243 #A9D143
triadic
#D1B243 #43D1B2 #B243D1
tetradic
#D1B243 #43D16B #4362D1 #D143A9
square
#D1B243 #43D16B #4362D1 #D143A9
split-complementary
#D1B243 #43A9D1 #6B43D1
monochromatic
#7B671E #AD902A #D1B243 #DDC674 #E9DAA5

Accessibility & contrast

On white

2.07
#D1B243 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.16
#D1B243 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1B243
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1B243#FFFFFF#000000##000000
##D1B2431.002.0710.1610.16
#FFFFFF2.071.0021.0021.00
#00000010.1621.001.001.00
##00000010.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AF35
Deuteranopia (green-blind)
#CCB849
Tritanopia (blue-blind)
#E1A49B
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #d1b243;
/* rgb */ color: rgb(209, 178, 67);
/* oklch */ color: oklch(77.1% 0.132 93.3);
Tailwind
colors: {
  custom: {
    50: '#e3c87d',
    500: '#d1b243',
    950: '#000000',
  },
}
SCSS
$custom: #d1b243;
$custom-light: #e3c87d;
$custom-dark: #000000;
JSON
{
  "hex": "#d1b243",
  "rgb": {
    "r": 209,
    "g": 178,
    "b": 67
  },
  "hsl": {
    "h": 46.901,
    "s": 60.684,
    "l": 54.118
  },
  "oklch": {
    "l": 0.77062,
    "c": 0.13208,
    "h": 93.3
  },
  "luminance": 0.45801
}

Semantic roles & 50–950 ramp

primary
#D1B243
secondary
#9AA7D6
accent
#67E444
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D1B243

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

Preview Lab → · Contrast checker → · Palette generator →

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