#D7BE5A#D7BE5A

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

Color values

HEX#D7BE5A
RGBrgb(215, 190, 90)
HSLhsl(48, 61%, 60%)
HSVhsv(48, 58%, 84%)
CMYKcmyk(0%, 11.6%, 58.1%, 15.7%)
CIE-LABlab(77.29, -3.15, 52.80)
CIE-LCHlch(77.29, 52.89, 93.41°)
OKLaboklab(80.32% -0.0117 0.1226)
OKLCHoklch(80.32% 0.123 95.4)
XYZxyz(48.2852, 52.0144, 17.1673)
Luminance0.5201 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7BE5A #5A73D7
analogous
#D7805A #D7BE5A #B2D75A
triadic
#D7BE5A #5AD7BE #BE5AD7
tetradic
#D7BE5A #5AD780 #5A73D7 #D75AB2
square
#D7BE5A #5AD780 #5A73D7 #D75AB2
split-complementary
#D7BE5A #5AB2D7 #805AD7
monochromatic
#937D24 #C4A630 #D7BE5A #E3D18B #EFE5BD

Accessibility & contrast

On white

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

On black

11.40
#D7BE5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7BE5A
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7BE5A#FFFFFF#000000##000000
##D7BE5A1.001.8411.4011.40
#FFFFFF1.841.0021.0021.00
#00000011.4021.001.001.00
##00000011.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBA50
Deuteranopia (green-blind)
#D6C25E
Tritanopia (blue-blind)
#E7B1A8
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d7be5a;
/* rgb */ color: rgb(215, 190, 90);
/* oklch */ color: oklch(80.3% 0.123 95.4);
Tailwind
colors: {
  custom: {
    50: '#e6d18c',
    500: '#d7be5a',
    950: '#000000',
  },
}
SCSS
$custom: #d7be5a;
$custom-light: #e6d18c;
$custom-dark: #000000;
JSON
{
  "hex": "#d7be5a",
  "rgb": {
    "r": 215,
    "g": 190,
    "b": 90
  },
  "hsl": {
    "h": 48,
    "s": 60.976,
    "l": 59.804
  },
  "oklch": {
    "l": 0.80319,
    "c": 0.12314,
    "h": 95.4
  },
  "luminance": 0.52012
}

Semantic roles & 50–950 ramp

primary
#D7BE5A
secondary
#3D4F98
accent
#64E444
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D7BE5A

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

Preview Lab → · Contrast checker → · Palette generator →

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