#D7BE3C#D7BE3C

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

Color values

HEX#D7BE3C
RGBrgb(215, 190, 60)
HSLhsl(50, 66%, 54%)
HSVhsv(50, 72%, 84%)
CMYKcmyk(0%, 11.6%, 72.1%, 15.7%)
CIE-LABlab(77.04, -4.94, 65.21)
CIE-LCHlch(77.04, 65.40, 94.33°)
OKLaboklab(80.04% -0.0202 0.1444)
OKLCHoklch(80.04% 0.146 98)
XYZxyz(47.2557, 51.6026, 11.7453)
Luminance0.5160 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7BE3C #3C55D7
analogous
#D7713C #D7BE3C #A2D73C
triadic
#D7BE3C #3CD7BE #BE3CD7
tetradic
#D7BE3C #3CD771 #3C55D7 #D73CA2
square
#D7BE3C #3CD771 #3C55D7 #D73CA2
split-complementary
#D7BE3C #3CA2D7 #713CD7
monochromatic
#7F6E1A #B19B24 #D7BE3C #E1CF6F #ECE0A2

Accessibility & contrast

On white

1.86
#D7BE3C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7BE3C#FFFFFF#000000##000000
##D7BE3C1.001.8611.3211.32
#FFFFFF1.861.0021.0021.00
#00000011.3221.001.001.00
##00000011.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B927
Deuteranopia (green-blind)
#D7C244
Tritanopia (blue-blind)
#E8B0A4
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #d7be3c;
/* rgb */ color: rgb(215, 190, 60);
/* oklch */ color: oklch(80.0% 0.146 98.0);
Tailwind
colors: {
  custom: {
    50: '#e7d17a',
    500: '#d7be3c',
    950: '#000000',
  },
}
SCSS
$custom: #d7be3c;
$custom-light: #e7d17a;
$custom-dark: #000000;
JSON
{
  "hex": "#d7be3c",
  "rgb": {
    "r": 215,
    "g": 190,
    "b": 60
  },
  "hsl": {
    "h": 50.323,
    "s": 65.957,
    "l": 53.922
  },
  "oklch": {
    "l": 0.80044,
    "c": 0.14577,
    "h": 98
  },
  "luminance": 0.516
}

Semantic roles & 50–950 ramp

primary
#D7BE3C
secondary
#313F86
accent
#5AE93F
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140A
muted
#85837D

Preview Lab

Preview with #D7BE3C

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

Preview Lab → · Contrast checker → · Palette generator →

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