#D7BF54#D7BF54

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

Color values

HEX#D7BF54
RGBrgb(215, 191, 84)
HSLhsl(49, 62%, 59%)
HSVhsv(49, 61%, 84%)
CMYKcmyk(0%, 11.2%, 60.9%, 15.7%)
CIE-LABlab(77.49, -4.09, 55.76)
CIE-LCHlch(77.49, 55.91, 94.20°)
OKLaboklab(80.46% -0.0151 0.1282)
OKLCHoklch(80.46% 0.129 96.7)
XYZxyz(48.2574, 52.3510, 15.9486)
Luminance0.5235 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7BF54 #546CD7
analogous
#D77D54 #D7BF54 #ADD754
triadic
#D7BF54 #54D7BF #BF54D7
tetradic
#D7BF54 #54D77D #546CD7 #D754AD
square
#D7BF54 #54D77D #546CD7 #D754AD
split-complementary
#D7BF54 #54ADD7 #7D54D7
monochromatic
#8F7B21 #C1A62D #D7BF54 #E3D286 #EEE4B7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7BF54#FFFFFF#000000##000000
##D7BF541.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)
#D0BB48
Deuteranopia (green-blind)
#D7C359
Tritanopia (blue-blind)
#E7B2A8
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d7bf54;
/* rgb */ color: rgb(215, 191, 84);
/* oklch */ color: oklch(80.5% 0.129 96.7);
Tailwind
colors: {
  custom: {
    50: '#e6d288',
    500: '#d7bf54',
    950: '#000000',
  },
}
SCSS
$custom: #d7bf54;
$custom-light: #e6d288;
$custom-dark: #000000;
JSON
{
  "hex": "#d7bf54",
  "rgb": {
    "r": 215,
    "g": 191,
    "b": 84
  },
  "hsl": {
    "h": 49.008,
    "s": 62.085,
    "l": 58.627
  },
  "oklch": {
    "l": 0.80459,
    "c": 0.12907,
    "h": 96.7
  },
  "luminance": 0.52349
}

Semantic roles & 50–950 ramp

primary
#D7BF54
secondary
#3B4B95
accent
#60E543
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D7BF54

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

Preview Lab → · Contrast checker → · Palette generator →

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