#D1B236#D1B236

#D1B236 is a light, vivid yellow. Relative luminance 0.457; OKLCH L 77.0% C 0.141 H 94.4°. Best body text is #000000 at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#D1B236
RGBrgb(209, 178, 54)
HSLhsl(48, 63%, 52%)
HSVhsv(48, 74%, 82%)
CMYKcmyk(0%, 14.8%, 74.2%, 18%)
CIE-LABlab(73.33, -1.54, 63.64)
CIE-LCHlch(73.33, 63.66, 91.39°)
OKLaboklab(76.96% -0.0109 0.1401)
OKLCHoklch(76.96% 0.141 94.4)
XYZxyz(42.8830, 45.6649, 10.0448)
Luminance0.4566 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1B236 #3655D1
analogous
#D16536 #D1B236 #A3D136
triadic
#D1B236 #36D1B2 #B236D1
tetradic
#D1B236 #36D165 #3655D1 #D136A3
square
#D1B236 #36D165 #3655D1 #D136A3
split-complementary
#D1B236 #36A3D1 #6536D1
monochromatic
#72611A #A48B26 #D1B236 #DCC568 #E8D89A

Accessibility & contrast

On white

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

On black

10.13
#D1B236 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1B236
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1B236#FFFFFF#000000##000000
##D1B2361.002.0710.1310.13
#FFFFFF2.071.0021.0021.00
#00000010.1321.001.001.00
##00000010.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF21
Deuteranopia (green-blind)
#CDB83D
Tritanopia (blue-blind)
#E2A49A
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #d1b236;
/* rgb */ color: rgb(209, 178, 54);
/* oklch */ color: oklch(77.0% 0.141 94.4);
Tailwind
colors: {
  custom: {
    50: '#e3c876',
    500: '#d1b236',
    950: '#000000',
  },
}
SCSS
$custom: #d1b236;
$custom-light: #e3c876;
$custom-dark: #000000;
JSON
{
  "hex": "#d1b236",
  "rgb": {
    "r": 209,
    "g": 178,
    "b": 54
  },
  "hsl": {
    "h": 48,
    "s": 62.753,
    "l": 51.569
  },
  "oklch": {
    "l": 0.76961,
    "c": 0.14056,
    "h": 94.4
  },
  "luminance": 0.45662
}

Semantic roles & 50–950 ramp

primary
#D1B236
secondary
#8F9DD3
accent
#63E642
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#161309
muted
#84827B

Preview Lab

Preview with #D1B236

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

Preview Lab → · Contrast checker → · Palette generator →

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