#D6BC54#D6BC54

#D6BC54 is a light, vivid yellow. Relative luminance 0.509; OKLCH L 79.8% C 0.127 H 95.3°. Best body text is #000000 at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#D6BC54
RGBrgb(214, 188, 84)
HSLhsl(48, 61%, 58%)
HSVhsv(48, 61%, 84%)
CMYKcmyk(0%, 12.1%, 60.7%, 16.1%)
CIE-LABlab(76.62, -2.96, 54.77)
CIE-LCHlch(76.62, 54.85, 93.09°)
OKLaboklab(79.75% -0.0118 0.1261)
OKLCHoklch(79.75% 0.127 95.3)
XYZxyz(47.3170, 50.9050, 15.7191)
Luminance0.5090 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6BC54 #546ED6
analogous
#D67B54 #D6BC54 #AFD654
triadic
#D6BC54 #54D6BC #BC54D6
tetradic
#D6BC54 #54D67B #546ED6 #D654AF
square
#D6BC54 #54D67B #546ED6 #D654AF
split-complementary
#D6BC54 #54AFD6 #7B54D6
monochromatic
#8E7822 #BFA22E #D6BC54 #E2CF85 #EEE3B7

Accessibility & contrast

On white

1.88
#D6BC54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.18
#D6BC54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6BC54
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6BC54#FFFFFF#000000##000000
##D6BC541.001.8811.1811.18
#FFFFFF1.881.0021.0021.00
#00000011.1821.001.001.00
##00000011.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB849
Deuteranopia (green-blind)
#D4C159
Tritanopia (blue-blind)
#E6AFA5
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #d6bc54;
/* rgb */ color: rgb(214, 188, 84);
/* oklch */ color: oklch(79.8% 0.127 95.3);
Tailwind
colors: {
  custom: {
    50: '#e6cf88',
    500: '#d6bc54',
    950: '#000000',
  },
}
SCSS
$custom: #d6bc54;
$custom-light: #e6cf88;
$custom-dark: #000000;
JSON
{
  "hex": "#d6bc54",
  "rgb": {
    "r": 214,
    "g": 188,
    "b": 84
  },
  "hsl": {
    "h": 48,
    "s": 61.321,
    "l": 58.431
  },
  "oklch": {
    "l": 0.7975,
    "c": 0.12664,
    "h": 95.3
  },
  "luminance": 0.50903
}

Semantic roles & 50–950 ramp

primary
#D6BC54
secondary
#3B4D93
accent
#64E443
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#16130C
muted
#85837F

Preview Lab

Preview with #D6BC54

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

Preview Lab → · Contrast checker → · Palette generator →

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