#D1BF42#D1BF42

#D1BF42 is a light, vivid yellow. Relative luminance 0.512; OKLCH L 79.7% C 0.142 H 101.0°. Best body text is #000000 at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#D1BF42
RGBrgb(209, 191, 66)
HSLhsl(52, 61%, 54%)
HSVhsv(52, 68%, 82%)
CMYKcmyk(0%, 8.6%, 68.4%, 18%)
CIE-LABlab(76.81, -7.72, 62.50)
CIE-LCHlch(76.81, 62.98, 97.04°)
OKLaboklab(79.74% -0.0271 0.1399)
OKLCHoklch(79.74% 0.143 101)
XYZxyz(45.9107, 51.2123, 12.6199)
Luminance0.5121 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1BF42 #4254D1
analogous
#D17842 #D1BF42 #9BD142
triadic
#D1BF42 #42D1BF #BF42D1
tetradic
#D1BF42 #42D178 #4254D1 #D1429B
square
#D1BF42 #42D178 #4254D1 #D1429B
split-complementary
#D1BF42 #429BD1 #7842D1
monochromatic
#7B6F1E #AC9C2A #D1BF42 #DDD073 #E9E0A4

Accessibility & contrast

On white

1.87
#D1BF42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.24
#D1BF42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1BF42
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1BF42#FFFFFF#000000##000000
##D1BF421.001.8711.2411.24
#FFFFFF1.871.0021.0021.00
#00000011.2421.001.001.00
##00000011.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B930
Deuteranopia (green-blind)
#D6C14A
Tritanopia (blue-blind)
#E1B2A6
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #d1bf42;
/* rgb */ color: rgb(209, 191, 66);
/* oklch */ color: oklch(79.7% 0.142 101.0);
Tailwind
colors: {
  custom: {
    50: '#e3d27d',
    500: '#d1bf42',
    950: '#000000',
  },
}
SCSS
$custom: #d1bf42;
$custom-light: #e3d27d;
$custom-dark: #000000;
JSON
{
  "hex": "#d1bf42",
  "rgb": {
    "r": 209,
    "g": 191,
    "b": 66
  },
  "hsl": {
    "h": 52.448,
    "s": 60.851,
    "l": 53.922
  },
  "oklch": {
    "l": 0.79743,
    "c": 0.1425,
    "h": 101
  },
  "luminance": 0.5121
}

Semantic roles & 50–950 ramp

primary
#D1BF42
secondary
#353E83
accent
#58E444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #D1BF42

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

Preview Lab → · Contrast checker → · Palette generator →

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