#D1BF54#D1BF54

#D1BF54 is a light, vivid yellow. Relative luminance 0.515; OKLCH L 79.9% C 0.129 H 99.8°. Best body text is #000000 at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#D1BF54
RGBrgb(209, 191, 84)
HSLhsl(51, 58%, 57%)
HSVhsv(51, 60%, 82%)
CMYKcmyk(0%, 8.6%, 59.8%, 18%)
CIE-LABlab(76.96, -6.62, 55.02)
CIE-LCHlch(76.96, 55.42, 96.86°)
OKLaboklab(79.91% -0.022 0.1267)
OKLCHoklch(79.91% 0.129 99.8)
XYZxyz(46.5273, 51.4589, 15.8676)
Luminance0.5146 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1BF54 #5466D1
analogous
#D18054 #D1BF54 #A5D154
triadic
#D1BF54 #54D1BF #BF54D1
tetradic
#D1BF54 #54D180 #5466D1 #D154A5
square
#D1BF54 #54D180 #5466D1 #D154A5
split-complementary
#D1BF54 #54A5D1 #8054D1
monochromatic
#867824 #B7A331 #D1BF54 #DED184 #EBE3B4

Accessibility & contrast

On white

1.86
#D1BF54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.29
#D1BF54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1BF54
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1BF54#FFFFFF#000000##000000
##D1BF541.001.8611.2911.29
#FFFFFF1.861.0021.0021.00
#00000011.2921.001.001.00
##00000011.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBA49
Deuteranopia (green-blind)
#D5C159
Tritanopia (blue-blind)
#E0B3A8
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #d1bf54;
/* rgb */ color: rgb(209, 191, 84);
/* oklch */ color: oklch(79.9% 0.129 99.8);
Tailwind
colors: {
  custom: {
    50: '#e2d288',
    500: '#d1bf54',
    950: '#000000',
  },
}
SCSS
$custom: #d1bf54;
$custom-light: #e2d288;
$custom-dark: #000000;
JSON
{
  "hex": "#d1bf54",
  "rgb": {
    "r": 209,
    "g": 191,
    "b": 84
  },
  "hsl": {
    "h": 51.36,
    "s": 57.604,
    "l": 57.451
  },
  "oklch": {
    "l": 0.79909,
    "c": 0.12863,
    "h": 99.8
  },
  "luminance": 0.51457
}

Semantic roles & 50–950 ramp

primary
#D1BF54
secondary
#3C488D
accent
#5DE147
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D1BF54

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

Preview Lab → · Contrast checker → · Palette generator →

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