#D7BD5C#D7BD5C

#D7BD5C is a light, vivid yellow. Relative luminance 0.516; OKLCH L 80.1% C 0.121 H 94.5°. Best body text is #000000 at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#D7BD5C
RGBrgb(215, 189, 92)
HSLhsl(47, 61%, 60%)
HSVhsv(47, 57%, 84%)
CMYKcmyk(0%, 12.1%, 57.2%, 15.7%)
CIE-LABlab(77.05, -2.48, 51.59)
CIE-LCHlch(77.05, 51.65, 92.75°)
OKLaboklab(80.14% -0.0095 0.1202)
OKLCHoklch(80.14% 0.121 94.5)
XYZxyz(48.1556, 51.6172, 17.5497)
Luminance0.5161 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7BD5C #5C76D7
analogous
#D77F5C #D7BD5C #B3D75C
triadic
#D7BD5C #5CD7BD #BD5CD7
tetradic
#D7BD5C #5CD77F #5C76D7 #D75CB3
square
#D7BD5C #5CD77F #5C76D7 #D75CB3
split-complementary
#D7BD5C #5CB3D7 #7F5CD7
monochromatic
#947D24 #C5A630 #D7BD5C #E3D18D #EFE5BE

Accessibility & contrast

On white

1.85
#D7BD5C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.32
#D7BD5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7BD5C
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7BD5C#FFFFFF#000000##000000
##D7BD5C1.001.8511.3211.32
#FFFFFF1.851.0021.0021.00
#00000011.3221.001.001.00
##00000011.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEBA53
Deuteranopia (green-blind)
#D5C260
Tritanopia (blue-blind)
#E6B0A7
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #d7bd5c;
/* rgb */ color: rgb(215, 189, 92);
/* oklch */ color: oklch(80.1% 0.121 94.5);
Tailwind
colors: {
  custom: {
    50: '#e6d08d',
    500: '#d7bd5c',
    950: '#000000',
  },
}
SCSS
$custom: #d7bd5c;
$custom-light: #e6d08d;
$custom-dark: #000000;
JSON
{
  "hex": "#d7bd5c",
  "rgb": {
    "r": 215,
    "g": 189,
    "b": 92
  },
  "hsl": {
    "h": 47.317,
    "s": 60.591,
    "l": 60.196
  },
  "oklch": {
    "l": 0.80137,
    "c": 0.12059,
    "h": 94.5
  },
  "luminance": 0.51615
}

Semantic roles & 50–950 ramp

primary
#D7BD5C
secondary
#3E5199
accent
#41C81D
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16130C
muted
#85837F

Preview Lab

Preview with #D7BD5C

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

Preview Lab → · Contrast checker → · Palette generator →

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