#D6B738#D6B738

#D6B738 is a light, vivid yellow. Relative luminance 0.484; OKLCH L 78.5% C 0.143 H 94.8°. Best body text is #000000 at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#D6B738
RGBrgb(214, 183, 56)
HSLhsl(48, 66%, 53%)
HSVhsv(48, 74%, 84%)
CMYKcmyk(0%, 14.5%, 73.8%, 16.1%)
CIE-LABlab(75.11, -1.91, 64.78)
CIE-LCHlch(75.11, 64.81, 91.69°)
OKLaboklab(78.48% -0.012 0.1427)
OKLCHoklch(78.48% 0.143 94.8)
XYZxyz(45.3813, 48.4512, 10.7023)
Luminance0.4845 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6B738 #3857D6
analogous
#D66838 #D6B738 #A6D638
triadic
#D6B738 #38D6B7 #B738D6
tetradic
#D6B738 #38D668 #3857D6 #D638A6
square
#D6B738 #38D668 #3857D6 #D638A6
split-complementary
#D6B738 #38A6D6 #6838D6
monochromatic
#7A6719 #AD9224 #D6B738 #E0C96B #EBDC9D

Accessibility & contrast

On white

1.96
#D6B738 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.69
#D6B738 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6B738
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6B738#FFFFFF#000000##000000
##D6B7381.001.9610.6910.69
#FFFFFF1.961.0021.0021.00
#00000010.6921.001.001.00
##00000010.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB322
Deuteranopia (green-blind)
#D2BD40
Tritanopia (blue-blind)
#E7A89E
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #d6b738;
/* rgb */ color: rgb(214, 183, 56);
/* oklch */ color: oklch(78.5% 0.143 94.8);
Tailwind
colors: {
  custom: {
    50: '#e7cc77',
    500: '#d6b738',
    950: '#000000',
  },
}
SCSS
$custom: #d6b738;
$custom-light: #e7cc77;
$custom-dark: #000000;
JSON
{
  "hex": "#d6b738",
  "rgb": {
    "r": 214,
    "g": 183,
    "b": 56
  },
  "hsl": {
    "h": 48.228,
    "s": 65.833,
    "l": 52.941
  },
  "oklch": {
    "l": 0.78484,
    "c": 0.14324,
    "h": 94.8
  },
  "luminance": 0.48449
}

Semantic roles & 50–950 ramp

primary
#D6B738
secondary
#93A0D7
accent
#60E93F
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#171309
muted
#85827B

Preview Lab

Preview with #D6B738

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

Preview Lab → · Contrast checker → · Palette generator →

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