#D7BE4C#D7BE4C

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

Color values

HEX#D7BE4C
RGBrgb(215, 190, 76)
HSLhsl(49, 63%, 57%)
HSVhsv(49, 65%, 84%)
CMYKcmyk(0%, 11.6%, 64.7%, 15.7%)
CIE-LABlab(77.16, -4.09, 58.91)
CIE-LCHlch(77.16, 59.06, 93.97°)
OKLaboklab(80.18% -0.016 0.1337)
OKLCHoklch(80.18% 0.135 96.8)
XYZxyz(47.7444, 51.7981, 14.3193)
Luminance0.5180 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7BE4C #4C65D7
analogous
#D7794C #D7BE4C #AAD74C
triadic
#D7BE4C #4CD7BE #BE4CD7
tetradic
#D7BE4C #4CD779 #4C65D7 #D74CAA
square
#D7BE4C #4CD779 #4C65D7 #D74CAA
split-complementary
#D7BE4C #4CAAD7 #794CD7
monochromatic
#8A771F #BCA22A #D7BE4C #E2D07E #EDE2B0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7BE4C#FFFFFF#000000##000000
##D7BE4C1.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)
#D0BA3E
Deuteranopia (green-blind)
#D7C252
Tritanopia (blue-blind)
#E7B0A6
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d7be4c;
/* rgb */ color: rgb(215, 190, 76);
/* oklch */ color: oklch(80.2% 0.135 96.8);
Tailwind
colors: {
  custom: {
    50: '#e7d183',
    500: '#d7be4c',
    950: '#000000',
  },
}
SCSS
$custom: #d7be4c;
$custom-light: #e7d183;
$custom-dark: #000000;
JSON
{
  "hex": "#d7be4c",
  "rgb": {
    "r": 215,
    "g": 190,
    "b": 76
  },
  "hsl": {
    "h": 49.209,
    "s": 63.47,
    "l": 57.059
  },
  "oklch": {
    "l": 0.80175,
    "c": 0.13469,
    "h": 96.8
  },
  "luminance": 0.51796
}

Semantic roles & 50–950 ramp

primary
#D7BE4C
secondary
#374790
accent
#5FE641
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D7BE4C

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

Preview Lab → · Contrast checker → · Palette generator →

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