#D6B245#D6B245

#D6B245 is a light, vivid yellow. Relative luminance 0.466; OKLCH L 77.6% C 0.132 H 90.5°. Best body text is #000000 at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#D6B245
RGBrgb(214, 178, 69)
HSLhsl(45, 64%, 55%)
HSVhsv(45, 68%, 84%)
CMYKcmyk(0%, 16.8%, 67.8%, 16.1%)
CIE-LABlab(73.91, 1.35, 58.44)
CIE-LCHlch(73.91, 58.46, 88.67°)
OKLaboklab(77.57% -0.0011 0.1317)
OKLCHoklch(77.57% 0.132 90.5)
XYZxyz(44.7285, 46.5692, 12.2619)
Luminance0.4657 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6B245 #4569D6
analogous
#D66945 #D6B245 #B2D645
triadic
#D6B245 #45D6B2 #B245D6
tetradic
#D6B245 #45D669 #4569D6 #D645B2
square
#D6B245 #45D669 #4569D6 #D645B2
split-complementary
#D6B245 #45B2D6 #6945D6
monochromatic
#846A1D #B69328 #D6B245 #E1C777 #ECDCA9

Accessibility & contrast

On white

2.04
#D6B245 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.31
#D6B245 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6B245
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6B245#FFFFFF#000000##000000
##D6B2451.002.0410.3110.31
#FFFFFF2.041.0021.0021.00
#00000010.3121.001.001.00
##00000010.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B037
Deuteranopia (green-blind)
#CEBA4A
Tritanopia (blue-blind)
#E7A49B
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #d6b245;
/* rgb */ color: rgb(214, 178, 69);
/* oklch */ color: oklch(77.6% 0.132 90.5);
Tailwind
colors: {
  custom: {
    50: '#e6c87e',
    500: '#d6b245',
    950: '#000000',
  },
}
SCSS
$custom: #d6b245;
$custom-light: #e6c87e;
$custom-dark: #000000;
JSON
{
  "hex": "#d6b245",
  "rgb": {
    "r": 214,
    "g": 178,
    "b": 69
  },
  "hsl": {
    "h": 45.103,
    "s": 63.877,
    "l": 55.49
  },
  "oklch": {
    "l": 0.77569,
    "c": 0.13166,
    "h": 90.5
  },
  "luminance": 0.46567
}

Semantic roles & 50–950 ramp

primary
#D6B245
secondary
#9DACDA
accent
#6AE741
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D6B245

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

Preview Lab → · Contrast checker → · Palette generator →

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