#D1B751#D1B751

#D1B751 is a light, vivid yellow. Relative luminance 0.480; OKLCH L 78.2% C 0.125 H 95.0°. Best body text is #000000 at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#D1B751
RGBrgb(209, 183, 81)
HSLhsl(48, 58%, 57%)
HSVhsv(48, 61%, 82%)
CMYKcmyk(0%, 12.4%, 61.2%, 18%)
CIE-LABlab(74.84, -2.66, 54.02)
CIE-LCHlch(74.84, 54.09, 92.82°)
OKLaboklab(78.22% -0.011 0.1242)
OKLCHoklch(78.22% 0.125 95)
XYZxyz(44.7151, 48.0185, 14.6962)
Luminance0.4802 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1B751 #516BD1
analogous
#D17751 #D1B751 #ABD151
triadic
#D1B751 #51D1B7 #B751D1
tetradic
#D1B751 #51D177 #516BD1 #D151AB
square
#D1B751 #51D177 #516BD1 #D151AB
split-complementary
#D1B751 #51ABD1 #7751D1
monochromatic
#857123 #B59A30 #D1B751 #DECB81 #EBDFB2

Accessibility & contrast

On white

1.98
#D1B751 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.60
#D1B751 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1B751
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1B751#FFFFFF#000000##000000
##D1B7511.001.9810.6010.60
#FFFFFF1.981.0021.0021.00
#00000010.6021.001.001.00
##00000010.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B346
Deuteranopia (green-blind)
#CFBC56
Tritanopia (blue-blind)
#E1AAA1
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #d1b751;
/* rgb */ color: rgb(209, 183, 81);
/* oklch */ color: oklch(78.2% 0.125 95.0);
Tailwind
colors: {
  custom: {
    50: '#e2cc86',
    500: '#d1b751',
    950: '#000000',
  },
}
SCSS
$custom: #d1b751;
$custom-light: #e2cc86;
$custom-dark: #000000;
JSON
{
  "hex": "#d1b751",
  "rgb": {
    "r": 209,
    "g": 183,
    "b": 81
  },
  "hsl": {
    "h": 47.813,
    "s": 58.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.78222,
    "c": 0.1247,
    "h": 95
  },
  "luminance": 0.48016
}

Semantic roles & 50–950 ramp

primary
#D1B751
secondary
#A5AFD9
accent
#66E146
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130B
muted
#84827C

Preview Lab

Preview with #D1B751

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

Preview Lab → · Contrast checker → · Palette generator →

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