#D7BE4E#D7BE4E

#D7BE4E is a light, vivid yellow. Relative luminance 0.518; OKLCH L 80.2% C 0.133 H 96.7°. Best body text is #000000 at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#D7BE4E
RGBrgb(215, 190, 78)
HSLhsl(49, 63%, 57%)
HSVhsv(49, 64%, 84%)
CMYKcmyk(0%, 11.6%, 63.7%, 15.7%)
CIE-LABlab(77.18, -3.96, 58.07)
CIE-LCHlch(77.18, 58.20, 93.91°)
OKLaboklab(80.19% -0.0154 0.1322)
OKLCHoklch(80.19% 0.133 96.7)
XYZxyz(47.8151, 51.8263, 14.6912)
Luminance0.5182 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7BE4E #4E67D7
analogous
#D7794E #D7BE4E #ACD74E
triadic
#D7BE4E #4ED7BE #BE4ED7
tetradic
#D7BE4E #4ED779 #4E67D7 #D74EAC
square
#D7BE4E #4ED779 #4E67D7 #D74EAC
split-complementary
#D7BE4E #4EACD7 #794ED7
monochromatic
#8B771F #BDA22B #D7BE4E #E2D080 #EEE3B2

Accessibility & contrast

On white

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

On black

11.36
#D7BE4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7BE4E
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7BE4E#FFFFFF#000000##000000
##D7BE4E1.001.8511.3611.36
#FFFFFF1.851.0021.0021.00
#00000011.3621.001.001.00
##00000011.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BA41
Deuteranopia (green-blind)
#D6C254
Tritanopia (blue-blind)
#E7B1A6
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d7be4e;
/* rgb */ color: rgb(215, 190, 78);
/* oklch */ color: oklch(80.2% 0.133 96.7);
Tailwind
colors: {
  custom: {
    50: '#e7d184',
    500: '#d7be4e',
    950: '#000000',
  },
}
SCSS
$custom: #d7be4e;
$custom-light: #e7d184;
$custom-dark: #000000;
JSON
{
  "hex": "#d7be4e",
  "rgb": {
    "r": 215,
    "g": 190,
    "b": 78
  },
  "hsl": {
    "h": 49.051,
    "s": 63.134,
    "l": 57.451
  },
  "oklch": {
    "l": 0.80193,
    "c": 0.13314,
    "h": 96.7
  },
  "luminance": 0.51824
}

Semantic roles & 50–950 ramp

primary
#D7BE4E
secondary
#384891
accent
#60E642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D7BE4E

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

Preview Lab → · Contrast checker → · Palette generator →

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