#D7BA55#D7BA55

#D7BA55 is a light, vivid yellow. Relative luminance 0.502; OKLCH L 79.4% C 0.124 H 93.4°. Best body text is #000000 at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#D7BA55
RGBrgb(215, 186, 85)
HSLhsl(47, 62%, 59%)
HSVhsv(47, 60%, 84%)
CMYKcmyk(0%, 13.5%, 60.5%, 15.7%)
CIE-LABlab(76.21, -1.42, 53.88)
CIE-LCHlch(76.21, 53.90, 91.51°)
OKLaboklab(79.45% -0.0073 0.1243)
OKLCHoklch(79.45% 0.125 93.4)
XYZxyz(47.2250, 50.2231, 15.7991)
Luminance0.5022 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7BA55 #5572D7
analogous
#D77955 #D7BA55 #B3D755
triadic
#D7BA55 #55D7BA #BA55D7
tetradic
#D7BA55 #55D779 #5572D7 #D755B3
square
#D7BA55 #55D779 #5572D7 #D755B3
split-complementary
#D7BA55 #55B3D7 #7955D7
monochromatic
#907722 #C1A02D #D7BA55 #E3CE87 #EEE2B8

Accessibility & contrast

On white

1.90
#D7BA55 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.04
#D7BA55 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7BA55
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7BA55#FFFFFF#000000##000000
##D7BA551.001.9011.0411.04
#FFFFFF1.901.0021.0021.00
#00000011.0421.001.001.00
##00000011.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB74A
Deuteranopia (green-blind)
#D3C05A
Tritanopia (blue-blind)
#E7ADA4
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #d7ba55;
/* rgb */ color: rgb(215, 186, 85);
/* oklch */ color: oklch(79.4% 0.124 93.4);
Tailwind
colors: {
  custom: {
    50: '#e6ce88',
    500: '#d7ba55',
    950: '#000000',
  },
}
SCSS
$custom: #d7ba55;
$custom-light: #e6ce88;
$custom-dark: #000000;
JSON
{
  "hex": "#d7ba55",
  "rgb": {
    "r": 215,
    "g": 186,
    "b": 85
  },
  "hsl": {
    "h": 46.615,
    "s": 61.905,
    "l": 58.824
  },
  "oklch": {
    "l": 0.79446,
    "c": 0.1245,
    "h": 93.4
  },
  "luminance": 0.50221
}

Semantic roles & 50–950 ramp

primary
#D7BA55
secondary
#3B4F95
accent
#67E543
background
#FFFEFC
surface
#FEFAF4
border
#D6D3CE
text
#16130C
muted
#85837F

Preview Lab

Preview with #D7BA55

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

Preview Lab → · Contrast checker → · Palette generator →

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