#D7BA59#D7BA59

#D7BA59 is a light, vivid yellow. Relative luminance 0.503; OKLCH L 79.5% C 0.121 H 92.8°. Best body text is #000000 at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#D7BA59
RGBrgb(215, 186, 89)
HSLhsl(46, 61%, 60%)
HSVhsv(46, 59%, 84%)
CMYKcmyk(0%, 13.5%, 58.6%, 15.7%)
CIE-LABlab(76.25, -1.14, 52.07)
CIE-LCHlch(76.25, 52.09, 91.25°)
OKLaboklab(79.49% -0.006 0.1209)
OKLCHoklch(79.49% 0.121 92.8)
XYZxyz(47.3884, 50.2885, 16.6598)
Luminance0.5029 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7BA59 #5976D7
analogous
#D77B59 #D7BA59 #B5D759
triadic
#D7BA59 #59D7BA #BA59D7
tetradic
#D7BA59 #59D77B #5976D7 #D759B5
square
#D7BA59 #59D77B #5976D7 #D759B5
split-complementary
#D7BA59 #59B5D7 #7B59D7
monochromatic
#927923 #C4A12F #D7BA59 #E3CE8A #EFE3BC

Accessibility & contrast

On white

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

On black

11.06
#D7BA59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7BA59
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7BA59#FFFFFF#000000##000000
##D7BA591.001.9011.0611.06
#FFFFFF1.901.0021.0021.00
#00000011.0621.001.001.00
##00000011.0621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7ba59;
/* rgb */ color: rgb(215, 186, 89);
/* oklch */ color: oklch(79.5% 0.121 92.8);
Tailwind
colors: {
  custom: {
    50: '#e6ce8b',
    500: '#d7ba59',
    950: '#000000',
  },
}
SCSS
$custom: #d7ba59;
$custom-light: #e6ce8b;
$custom-dark: #000000;
JSON
{
  "hex": "#d7ba59",
  "rgb": {
    "r": 215,
    "g": 186,
    "b": 89
  },
  "hsl": {
    "h": 46.19,
    "s": 61.165,
    "l": 59.608
  },
  "oklch": {
    "l": 0.79491,
    "c": 0.12106,
    "h": 92.8
  },
  "luminance": 0.50286
}

Semantic roles & 50–950 ramp

primary
#D7BA59
secondary
#3D5298
accent
#69E444
background
#FFFEFC
surface
#FEFAF4
border
#D6D3CE
text
#16130C
muted
#85837F

Preview Lab

Preview with #D7BA59

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

Preview Lab → · Contrast checker → · Palette generator →

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