#D1BE52#D1BE52

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

Color values

HEX#D1BE52
RGBrgb(209, 190, 82)
HSLhsl(51, 58%, 57%)
HSVhsv(51, 61%, 82%)
CMYKcmyk(0%, 9.1%, 60.8%, 18%)
CIE-LABlab(76.67, -6.24, 55.61)
CIE-LCHlch(76.67, 55.96, 96.40°)
OKLaboklab(79.68% -0.0211 0.1277)
OKLCHoklch(79.68% 0.129 99.4)
XYZxyz(46.2328, 50.9934, 15.3884)
Luminance0.5099 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1BE52 #5265D1
analogous
#D17F52 #D1BE52 #A4D152
triadic
#D1BE52 #52D1BE #BE52D1
tetradic
#D1BE52 #52D17F #5265D1 #D152A4
square
#D1BE52 #52D17F #5265D1 #D152A4
split-complementary
#D1BE52 #52A4D1 #7F52D1
monochromatic
#857723 #B6A230 #D1BE52 #DED082 #EBE2B3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D1BE52#FFFFFF#000000##000000
##D1BE521.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)
#CFB946
Deuteranopia (green-blind)
#D4C057
Tritanopia (blue-blind)
#E0B1A7
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #d1be52;
/* rgb */ color: rgb(209, 190, 82);
/* oklch */ color: oklch(79.7% 0.129 99.4);
Tailwind
colors: {
  custom: {
    50: '#e2d187',
    500: '#d1be52',
    950: '#000000',
  },
}
SCSS
$custom: #d1be52;
$custom-light: #e2d187;
$custom-dark: #000000;
JSON
{
  "hex": "#d1be52",
  "rgb": {
    "r": 209,
    "g": 190,
    "b": 82
  },
  "hsl": {
    "h": 51.024,
    "s": 57.991,
    "l": 57.059
  },
  "oklch": {
    "l": 0.7968,
    "c": 0.12946,
    "h": 99.4
  },
  "luminance": 0.50991
}

Semantic roles & 50–950 ramp

primary
#D1BE52
secondary
#3B478C
accent
#5EE147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D1BE52

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

Preview Lab → · Contrast checker → · Palette generator →

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