#D6BA52#D6BA52

#D6BA52 is a light, vivid yellow. Relative luminance 0.500; OKLCH L 79.3% C 0.127 H 94.2°. Best body text is #000000 at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#D6BA52
RGBrgb(214, 186, 82)
HSLhsl(47, 62%, 58%)
HSVhsv(47, 62%, 84%)
CMYKcmyk(0%, 13.1%, 61.7%, 16.1%)
CIE-LABlab(76.08, -2.05, 55.08)
CIE-LCHlch(76.08, 55.12, 92.13°)
OKLaboklab(79.32% -0.0094 0.1265)
OKLCHoklch(79.32% 0.127 94.2)
XYZxyz(46.8155, 50.0255, 15.1710)
Luminance0.5002 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6BA52 #526ED6
analogous
#D67852 #D6BA52 #B0D652
triadic
#D6BA52 #52D6BA #BA52D6
tetradic
#D6BA52 #52D678 #526ED6 #D652B0
square
#D6BA52 #52D678 #526ED6 #D652B0
split-complementary
#D6BA52 #52B0D6 #7852D6
monochromatic
#8C7621 #BE9F2D #D6BA52 #E2CE83 #EDE1B5

Accessibility & contrast

On white

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

On black

11.00
#D6BA52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6BA52
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6BA52#FFFFFF#000000##000000
##D6BA521.001.9111.0011.00
#FFFFFF1.911.0021.0021.00
#00000011.0021.001.001.00
##00000011.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB747
Deuteranopia (green-blind)
#D3BF57
Tritanopia (blue-blind)
#E6ADA3
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #d6ba52;
/* rgb */ color: rgb(214, 186, 82);
/* oklch */ color: oklch(79.3% 0.127 94.2);
Tailwind
colors: {
  custom: {
    50: '#e6ce86',
    500: '#d6ba52',
    950: '#000000',
  },
}
SCSS
$custom: #d6ba52;
$custom-light: #e6ce86;
$custom-dark: #000000;
JSON
{
  "hex": "#d6ba52",
  "rgb": {
    "r": 214,
    "g": 186,
    "b": 82
  },
  "hsl": {
    "h": 47.273,
    "s": 61.682,
    "l": 58.039
  },
  "oklch": {
    "l": 0.7932,
    "c": 0.12683,
    "h": 94.2
  },
  "luminance": 0.50023
}

Semantic roles & 50–950 ramp

primary
#D6BA52
secondary
#3A4D92
accent
#65E543
background
#FFFEFB
surface
#FEFAF2
border
#D6D3CC
text
#16130B
muted
#85837E

Preview Lab

Preview with #D6BA52

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

Preview Lab → · Contrast checker → · Palette generator →

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