#D7BF55#D7BF55

#D7BF55 is a light, vivid yellow. Relative luminance 0.524; OKLCH L 80.5% C 0.128 H 96.6°. Best body text is #000000 at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#D7BF55
RGBrgb(215, 191, 85)
HSLhsl(49, 62%, 59%)
HSVhsv(49, 60%, 84%)
CMYKcmyk(0%, 11.2%, 60.5%, 15.7%)
CIE-LABlab(77.50, -4.02, 55.32)
CIE-LCHlch(77.50, 55.47, 94.16°)
OKLaboklab(80.47% -0.0148 0.1274)
OKLCHoklch(80.47% 0.128 96.6)
XYZxyz(48.2968, 52.3668, 16.1564)
Luminance0.5236 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7BF55 #556DD7
analogous
#D77E55 #D7BF55 #AED755
triadic
#D7BF55 #55D7BF #BF55D7
tetradic
#D7BF55 #55D77E #556DD7 #D755AE
square
#D7BF55 #55D77E #556DD7 #D755AE
split-complementary
#D7BF55 #55AED7 #7E55D7
monochromatic
#907B22 #C1A62D #D7BF55 #E3D287 #EEE4B8

Accessibility & contrast

On white

1.83
#D7BF55 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.47
#D7BF55 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7BF55
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7BF55#FFFFFF#000000##000000
##D7BF551.001.8311.4711.47
#FFFFFF1.831.0021.0021.00
#00000011.4721.001.001.00
##00000011.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BB4A
Deuteranopia (green-blind)
#D7C35A
Tritanopia (blue-blind)
#E7B2A8
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d7bf55;
/* rgb */ color: rgb(215, 191, 85);
/* oklch */ color: oklch(80.5% 0.128 96.6);
Tailwind
colors: {
  custom: {
    50: '#e6d289',
    500: '#d7bf55',
    950: '#000000',
  },
}
SCSS
$custom: #d7bf55;
$custom-light: #e6d289;
$custom-dark: #000000;
JSON
{
  "hex": "#d7bf55",
  "rgb": {
    "r": 215,
    "g": 191,
    "b": 85
  },
  "hsl": {
    "h": 48.923,
    "s": 61.905,
    "l": 58.824
  },
  "oklch": {
    "l": 0.80469,
    "c": 0.12822,
    "h": 96.6
  },
  "luminance": 0.52365
}

Semantic roles & 50–950 ramp

primary
#D7BF55
secondary
#3B4C95
accent
#61E543
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D7BF55

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

Preview Lab → · Contrast checker → · Palette generator →

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