#D1B451#D1B451

#D1B451 is a light, vivid yellow. Relative luminance 0.468; OKLCH L 77.6% C 0.123 H 93.0°. Best body text is #000000 at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#D1B451
RGBrgb(209, 180, 81)
HSLhsl(46, 58%, 57%)
HSVhsv(46, 61%, 82%)
CMYKcmyk(0%, 13.9%, 61.2%, 18%)
CIE-LABlab(74.06, -1.09, 53.16)
CIE-LCHlch(74.06, 53.17, 91.17°)
OKLaboklab(77.61% -0.0064 0.1224)
OKLCHoklch(77.61% 0.123 93)
XYZxyz(44.1029, 46.7942, 14.4921)
Luminance0.4679 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1B451 #516ED1
analogous
#D17451 #D1B451 #AED151
triadic
#D1B451 #51D1B4 #B451D1
tetradic
#D1B451 #51D174 #516ED1 #D151AE
square
#D1B451 #51D174 #516ED1 #D151AE
split-complementary
#D1B451 #51AED1 #7451D1
monochromatic
#856E23 #B59730 #D1B451 #DEC981 #EBDEB2

Accessibility & contrast

On white

2.03
#D1B451 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.36
#D1B451 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1B451
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1B451#FFFFFF#000000##000000
##D1B4511.002.0310.3610.36
#FFFFFF2.031.0021.0021.00
#00000010.3621.001.001.00
##00000010.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B147
Deuteranopia (green-blind)
#CDBA55
Tritanopia (blue-blind)
#E1A79E
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #d1b451;
/* rgb */ color: rgb(209, 180, 81);
/* oklch */ color: oklch(77.6% 0.123 93.0);
Tailwind
colors: {
  custom: {
    50: '#e2ca85',
    500: '#d1b451',
    950: '#000000',
  },
}
SCSS
$custom: #d1b451;
$custom-light: #e2ca85;
$custom-dark: #000000;
JSON
{
  "hex": "#d1b451",
  "rgb": {
    "r": 209,
    "g": 180,
    "b": 81
  },
  "hsl": {
    "h": 46.406,
    "s": 58.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.77606,
    "c": 0.12254,
    "h": 93
  },
  "luminance": 0.46792
}

Semantic roles & 50–950 ramp

primary
#D1B451
secondary
#A5B1D9
accent
#6AE146
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D1B451

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

Preview Lab → · Contrast checker → · Palette generator →

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