#D7BF57#D7BF57

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

Color values

HEX#D7BF57
RGBrgb(215, 191, 87)
HSLhsl(49, 62%, 59%)
HSVhsv(49, 60%, 84%)
CMYKcmyk(0%, 11.2%, 59.5%, 15.7%)
CIE-LABlab(77.52, -3.89, 54.44)
CIE-LCHlch(77.52, 54.58, 94.08°)
OKLaboklab(80.49% -0.0141 0.1257)
OKLCHoklch(80.49% 0.127 96.4)
XYZxyz(48.3774, 52.3990, 16.5808)
Luminance0.5240 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7BF57 #576FD7
analogous
#D77F57 #D7BF57 #AFD757
triadic
#D7BF57 #57D7BF #BF57D7
tetradic
#D7BF57 #57D77F #576FD7 #D757AF
square
#D7BF57 #57D77F #576FD7 #D757AF
split-complementary
#D7BF57 #57AFD7 #7F57D7
monochromatic
#917C23 #C2A72E #D7BF57 #E3D288 #EFE5BA

Accessibility & contrast

On white

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

On black

11.48
#D7BF57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7BF57
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7BF57#FFFFFF#000000##000000
##D7BF571.001.8311.4811.48
#FFFFFF1.831.0021.0021.00
#00000011.4821.001.001.00
##00000011.4821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7bf57;
/* rgb */ color: rgb(215, 191, 87);
/* oklch */ color: oklch(80.5% 0.127 96.4);
Tailwind
colors: {
  custom: {
    50: '#e6d28a',
    500: '#d7bf57',
    950: '#000000',
  },
}
SCSS
$custom: #d7bf57;
$custom-light: #e6d28a;
$custom-dark: #000000;
JSON
{
  "hex": "#d7bf57",
  "rgb": {
    "r": 215,
    "g": 191,
    "b": 87
  },
  "hsl": {
    "h": 48.75,
    "s": 61.538,
    "l": 59.216
  },
  "oklch": {
    "l": 0.80491,
    "c": 0.12653,
    "h": 96.4
  },
  "luminance": 0.52397
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D7BF57

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

Preview Lab → · Contrast checker → · Palette generator →

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