#D6B54F#D6B54F

#D6B54F is a light, vivid yellow. Relative luminance 0.479; OKLCH L 78.3% C 0.126 H 91.3°. Best body text is #000000 at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#D6B54F
RGBrgb(214, 181, 79)
HSLhsl(45, 62%, 57%)
HSVhsv(45, 63%, 84%)
CMYKcmyk(0%, 15.4%, 63.1%, 16.1%)
CIE-LABlab(74.77, 0.37, 54.98)
CIE-LCHlch(74.77, 54.99, 89.61°)
OKLaboklab(78.27% -0.0028 0.1259)
OKLCHoklch(78.27% 0.126 91.3)
XYZxyz(45.6689, 47.9109, 14.2379)
Luminance0.4791 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6B54F #4F70D6
analogous
#D6714F #D6B54F #B4D64F
triadic
#D6B54F #4FD6B5 #B54FD6
tetradic
#D6B54F #4FD671 #4F70D6 #D64FB4
square
#D6B54F #4FD671 #4F70D6 #D64FB4
split-complementary
#D6B54F #4FB4D6 #714FD6
monochromatic
#8A7020 #BC992C #D6B54F #E2CA81 #EDDFB2

Accessibility & contrast

On white

1.98
#D6B54F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.58
#D6B54F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6B54F
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6B54F#FFFFFF#000000##000000
##D6B54F1.001.9810.5810.58
#FFFFFF1.981.0021.0021.00
#00000010.5821.001.001.00
##00000010.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B344
Deuteranopia (green-blind)
#CFBC54
Tritanopia (blue-blind)
#E6A79F
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #d6b54f;
/* rgb */ color: rgb(214, 181, 79);
/* oklch */ color: oklch(78.3% 0.126 91.3);
Tailwind
colors: {
  custom: {
    50: '#e6ca84',
    500: '#d6b54f',
    950: '#000000',
  },
}
SCSS
$custom: #d6b54f;
$custom-light: #e6ca84;
$custom-dark: #000000;
JSON
{
  "hex": "#d6b54f",
  "rgb": {
    "r": 214,
    "g": 181,
    "b": 79
  },
  "hsl": {
    "h": 45.333,
    "s": 62.212,
    "l": 57.451
  },
  "oklch": {
    "l": 0.78271,
    "c": 0.12589,
    "h": 91.3
  },
  "luminance": 0.47908
}

Semantic roles & 50–950 ramp

primary
#D6B54F
secondary
#A5B2DC
accent
#6AE543
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D6B54F

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

Preview Lab → · Contrast checker → · Palette generator →

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