#D1BE42#D1BE42

#D1BE42 is a light, vivid yellow. Relative luminance 0.508; OKLCH L 79.5% C 0.142 H 100.4°. Best body text is #000000 at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#D1BE42
RGBrgb(209, 190, 66)
HSLhsl(52, 61%, 54%)
HSVhsv(52, 68%, 82%)
CMYKcmyk(0%, 9.1%, 68.4%, 18%)
CIE-LABlab(76.54, -7.21, 62.23)
CIE-LCHlch(76.54, 62.65, 96.61°)
OKLaboklab(79.53% -0.0257 0.1393)
OKLCHoklch(79.53% 0.142 100.4)
XYZxyz(45.6933, 50.7776, 12.5474)
Luminance0.5078 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1BE42 #4255D1
analogous
#D17742 #D1BE42 #9DD142
triadic
#D1BE42 #42D1BE #BE42D1
tetradic
#D1BE42 #42D177 #4255D1 #D1429D
square
#D1BE42 #42D177 #4255D1 #D1429D
split-complementary
#D1BE42 #429DD1 #7742D1
monochromatic
#7B6E1E #AC9B2A #D1BE42 #DDCF73 #E9E0A4

Accessibility & contrast

On white

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

On black

11.16
#D1BE42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1BE42
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1BE42#FFFFFF#000000##000000
##D1BE421.001.8811.1611.16
#FFFFFF1.881.0021.0021.00
#00000011.1621.001.001.00
##00000011.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B930
Deuteranopia (green-blind)
#D5C049
Tritanopia (blue-blind)
#E1B1A5
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #d1be42;
/* rgb */ color: rgb(209, 190, 66);
/* oklch */ color: oklch(79.5% 0.142 100.4);
Tailwind
colors: {
  custom: {
    50: '#e3d17d',
    500: '#d1be42',
    950: '#000000',
  },
}
SCSS
$custom: #d1be42;
$custom-light: #e3d17d;
$custom-dark: #000000;
JSON
{
  "hex": "#d1be42",
  "rgb": {
    "r": 209,
    "g": 190,
    "b": 66
  },
  "hsl": {
    "h": 52.028,
    "s": 60.851,
    "l": 53.922
  },
  "oklch": {
    "l": 0.79534,
    "c": 0.14168,
    "h": 100.4
  },
  "luminance": 0.50776
}

Semantic roles & 50–950 ramp

primary
#D1BE42
secondary
#353F83
accent
#59E444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #D1BE42

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

Preview Lab → · Contrast checker → · Palette generator →

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