#D8C949#D8C949

#D8C949 is a very light, vivid yellow. Relative luminance 0.569; OKLCH L 82.5% C 0.146 H 102.6°. Best body text is #000000 at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#D8C949
RGBrgb(216, 201, 73)
HSLhsl(54, 65%, 57%)
HSVhsv(54, 66%, 85%)
CMYKcmyk(0%, 6.9%, 66.2%, 15.3%)
CIE-LABlab(80.10, -9.49, 63.27)
CIE-LCHlch(80.10, 63.98, 98.53°)
OKLaboklab(82.52% -0.0318 0.1425)
OKLCHoklch(82.52% 0.146 102.6)
XYZxyz(50.4102, 56.8553, 14.6209)
Luminance0.5685 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8C949 #4958D8
analogous
#D88249 #D8C949 #A0D849
triadic
#D8C949 #49D8C9 #C949D8
tetradic
#D8C949 #49D882 #4958D8 #D849A0
square
#D8C949 #49D882 #4958D8 #D849A0
split-complementary
#D8C949 #49A0D8 #8249D8
monochromatic
#897E1D #BCAC28 #D8C949 #E3D87B #EEE7AE

Accessibility & contrast

On white

1.70
#D8C949 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.37
#D8C949 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8C949
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8C949#FFFFFF#000000##000000
##D8C9491.001.7012.3712.37
#FFFFFF1.701.0021.0021.00
#00000012.3721.001.001.00
##00000012.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC338
Deuteranopia (green-blind)
#DFCA51
Tritanopia (blue-blind)
#E8BBAF
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d8c949;
/* rgb */ color: rgb(216, 201, 73);
/* oklch */ color: oklch(82.5% 0.146 102.6);
Tailwind
colors: {
  custom: {
    50: '#e7d982',
    500: '#d8c949',
    950: '#000000',
  },
}
SCSS
$custom: #d8c949;
$custom-light: #e7d982;
$custom-dark: #000000;
JSON
{
  "hex": "#d8c949",
  "rgb": {
    "r": 216,
    "g": 201,
    "b": 73
  },
  "hsl": {
    "h": 53.706,
    "s": 64.706,
    "l": 56.667
  },
  "oklch": {
    "l": 0.82518,
    "c": 0.14596,
    "h": 102.6
  },
  "luminance": 0.56853
}

Semantic roles & 50–950 ramp

primary
#D8C949
secondary
#363F8F
accent
#52E840
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D8C949

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

Preview Lab → · Contrast checker → · Palette generator →

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