#D7BE4A#D7BE4A

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

Color values

HEX#D7BE4A
RGBrgb(215, 190, 74)
HSLhsl(49, 64%, 57%)
HSVhsv(49, 66%, 84%)
CMYKcmyk(0%, 11.6%, 65.6%, 15.7%)
CIE-LABlab(77.14, -4.21, 59.75)
CIE-LCHlch(77.14, 59.89, 94.03°)
OKLaboklab(80.16% -0.0166 0.1352)
OKLCHoklch(80.16% 0.136 97)
XYZxyz(47.6760, 51.7707, 13.9587)
Luminance0.5177 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7BE4A #4A63D7
analogous
#D7784A #D7BE4A #A9D74A
triadic
#D7BE4A #4AD7BE #BE4AD7
tetradic
#D7BE4A #4AD778 #4A63D7 #D74AA9
square
#D7BE4A #4AD778 #4A63D7 #D74AA9
split-complementary
#D7BE4A #4AA9D7 #784AD7
monochromatic
#88761E #BBA129 #D7BE4A #E2D07C #EDE2AE

Accessibility & contrast

On white

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

On black

11.35
#D7BE4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7BE4A
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7BE4A#FFFFFF#000000##000000
##D7BE4A1.001.8511.3511.35
#FFFFFF1.851.0021.0021.00
#00000011.3521.001.001.00
##00000011.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BA3C
Deuteranopia (green-blind)
#D7C250
Tritanopia (blue-blind)
#E7B0A6
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #d7be4a;
/* rgb */ color: rgb(215, 190, 74);
/* oklch */ color: oklch(80.2% 0.136 97.0);
Tailwind
colors: {
  custom: {
    50: '#e7d182',
    500: '#d7be4a',
    950: '#000000',
  },
}
SCSS
$custom: #d7be4a;
$custom-light: #e7d182;
$custom-dark: #000000;
JSON
{
  "hex": "#d7be4a",
  "rgb": {
    "r": 215,
    "g": 190,
    "b": 74
  },
  "hsl": {
    "h": 49.362,
    "s": 63.801,
    "l": 56.667
  },
  "oklch": {
    "l": 0.80156,
    "c": 0.1362,
    "h": 97
  },
  "luminance": 0.51768
}

Semantic roles & 50–950 ramp

primary
#D7BE4A
secondary
#37468F
accent
#5EE741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D7BE4A

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

Preview Lab → · Contrast checker → · Palette generator →

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