#D6BA54#D6BA54

#D6BA54 is a light, vivid yellow. Relative luminance 0.501; OKLCH L 79.3% C 0.125 H 94.0°. Best body text is #000000 at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#D6BA54
RGBrgb(214, 186, 84)
HSLhsl(47, 61%, 58%)
HSVhsv(47, 61%, 84%)
CMYKcmyk(0%, 13.1%, 60.7%, 16.1%)
CIE-LABlab(76.10, -1.91, 54.20)
CIE-LCHlch(76.10, 54.23, 92.02°)
OKLaboklab(79.34% -0.0088 0.1249)
OKLCHoklch(79.34% 0.125 94)
XYZxyz(46.8928, 50.0564, 15.5776)
Luminance0.5005 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6BA54 #5470D6
analogous
#D67954 #D6BA54 #B1D654
triadic
#D6BA54 #54D6BA #BA54D6
tetradic
#D6BA54 #54D679 #5470D6 #D654B1
square
#D6BA54 #54D679 #5470D6 #D654B1
split-complementary
#D6BA54 #54B1D6 #7954D6
monochromatic
#8E7622 #BFA02E #D6BA54 #E2CE85 #EEE2B7

Accessibility & contrast

On white

1.91
#D6BA54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.01
#D6BA54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6BA54
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6BA54#FFFFFF#000000##000000
##D6BA541.001.9111.0111.01
#FFFFFF1.911.0021.0021.00
#00000011.0121.001.001.00
##00000011.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB749
Deuteranopia (green-blind)
#D3BF59
Tritanopia (blue-blind)
#E6ADA4
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #d6ba54;
/* rgb */ color: rgb(214, 186, 84);
/* oklch */ color: oklch(79.3% 0.125 94.0);
Tailwind
colors: {
  custom: {
    50: '#e6ce88',
    500: '#d6ba54',
    950: '#000000',
  },
}
SCSS
$custom: #d6ba54;
$custom-light: #e6ce88;
$custom-dark: #000000;
JSON
{
  "hex": "#d6ba54",
  "rgb": {
    "r": 214,
    "g": 186,
    "b": 84
  },
  "hsl": {
    "h": 47.077,
    "s": 61.321,
    "l": 58.431
  },
  "oklch": {
    "l": 0.79341,
    "c": 0.12517,
    "h": 94
  },
  "luminance": 0.50054
}

Semantic roles & 50–950 ramp

primary
#D6BA54
secondary
#3B4E93
accent
#66E443
background
#FFFEFC
surface
#FEFAF3
border
#D6D3CD
text
#16130C
muted
#85837F

Preview Lab

Preview with #D6BA54

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

Preview Lab → · Contrast checker → · Palette generator →

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