#D7BE5C#D7BE5C

#D7BE5C is a light, vivid yellow. Relative luminance 0.520; OKLCH L 80.3% C 0.121 H 95.2°. Best body text is #000000 at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#D7BE5C
RGBrgb(215, 190, 92)
HSLhsl(48, 61%, 60%)
HSVhsv(48, 57%, 84%)
CMYKcmyk(0%, 11.6%, 57.2%, 15.7%)
CIE-LABlab(77.31, -3.00, 51.89)
CIE-LCHlch(77.31, 51.97, 93.31°)
OKLaboklab(80.34% -0.011 0.1209)
OKLCHoklch(80.34% 0.121 95.2)
XYZxyz(48.3715, 52.0489, 17.6217)
Luminance0.5205 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7BE5C #5C75D7
analogous
#D7815C #D7BE5C #B2D75C
triadic
#D7BE5C #5CD7BE #BE5CD7
tetradic
#D7BE5C #5CD781 #5C75D7 #D75CB2
square
#D7BE5C #5CD781 #5C75D7 #D75CB2
split-complementary
#D7BE5C #5CB2D7 #815CD7
monochromatic
#947D24 #C5A730 #D7BE5C #E3D28D #EFE5BE

Accessibility & contrast

On white

1.84
#D7BE5C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.41
#D7BE5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7BE5C
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7BE5C#FFFFFF#000000##000000
##D7BE5C1.001.8411.4111.41
#FFFFFF1.841.0021.0021.00
#00000011.4121.001.001.00
##00000011.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBA52
Deuteranopia (green-blind)
#D5C260
Tritanopia (blue-blind)
#E6B1A8
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d7be5c;
/* rgb */ color: rgb(215, 190, 92);
/* oklch */ color: oklch(80.3% 0.121 95.2);
Tailwind
colors: {
  custom: {
    50: '#e6d18d',
    500: '#d7be5c',
    950: '#000000',
  },
}
SCSS
$custom: #d7be5c;
$custom-light: #e6d18d;
$custom-dark: #000000;
JSON
{
  "hex": "#d7be5c",
  "rgb": {
    "r": 215,
    "g": 190,
    "b": 92
  },
  "hsl": {
    "h": 47.805,
    "s": 60.591,
    "l": 60.196
  },
  "oklch": {
    "l": 0.80342,
    "c": 0.12136,
    "h": 95.2
  },
  "luminance": 0.52047
}

Semantic roles & 50–950 ramp

primary
#D7BE5C
secondary
#3E5199
accent
#40C81D
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D7BE5C

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

Preview Lab → · Contrast checker → · Palette generator →

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