#D1BE51#D1BE51

#D1BE51 is a light, vivid yellow. Relative luminance 0.510; OKLCH L 79.7% C 0.130 H 99.5°. Best body text is #000000 at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#D1BE51
RGBrgb(209, 190, 81)
HSLhsl(51, 58%, 57%)
HSVhsv(51, 61%, 82%)
CMYKcmyk(0%, 9.1%, 61.2%, 18%)
CIE-LABlab(76.67, -6.30, 56.04)
CIE-LCHlch(76.67, 56.40, 96.42°)
OKLaboklab(79.67% -0.0214 0.1285)
OKLCHoklch(79.67% 0.13 99.5)
XYZxyz(46.1950, 50.9783, 15.1895)
Luminance0.5098 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1BE51 #5164D1
analogous
#D17E51 #D1BE51 #A4D151
triadic
#D1BE51 #51D1BE #BE51D1
tetradic
#D1BE51 #51D17E #5164D1 #D151A4
square
#D1BE51 #51D17E #5164D1 #D151A4
split-complementary
#D1BE51 #51A4D1 #7E51D1
monochromatic
#857623 #B5A130 #D1BE51 #DED081 #EBE2B2

Accessibility & contrast

On white

1.88
#D1BE51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.20
#D1BE51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1BE51
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1BE51#FFFFFF#000000##000000
##D1BE511.001.8811.2011.20
#FFFFFF1.881.0021.0021.00
#00000011.2021.001.001.00
##00000011.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB945
Deuteranopia (green-blind)
#D4C057
Tritanopia (blue-blind)
#E0B1A7
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #d1be51;
/* rgb */ color: rgb(209, 190, 81);
/* oklch */ color: oklch(79.7% 0.130 99.5);
Tailwind
colors: {
  custom: {
    50: '#e2d186',
    500: '#d1be51',
    950: '#000000',
  },
}
SCSS
$custom: #d1be51;
$custom-light: #e2d186;
$custom-dark: #000000;
JSON
{
  "hex": "#d1be51",
  "rgb": {
    "r": 209,
    "g": 190,
    "b": 81
  },
  "hsl": {
    "h": 51.094,
    "s": 58.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.7967,
    "c": 0.13029,
    "h": 99.5
  },
  "luminance": 0.50976
}

Semantic roles & 50–950 ramp

primary
#D1BE51
secondary
#3B478B
accent
#5DE146
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D1BE51

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

Preview Lab → · Contrast checker → · Palette generator →

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