#D8C144#D8C144

#D8C144 is a light, vivid yellow. Relative luminance 0.532; OKLCH L 80.8% C 0.143 H 98.7°. Best body text is #000000 at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#D8C144
RGBrgb(216, 193, 68)
HSLhsl(51, 65%, 56%)
HSVhsv(51, 69%, 85%)
CMYKcmyk(0%, 10.6%, 68.5%, 15.3%)
CIE-LABlab(77.97, -5.67, 63.09)
CIE-LCHlch(77.97, 63.34, 95.13°)
OKLaboklab(80.82% -0.0215 0.1412)
OKLCHoklch(80.82% 0.143 98.7)
XYZxyz(48.4345, 53.1585, 13.1771)
Luminance0.5316 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8C144 #445BD8
analogous
#D87744 #D8C144 #A5D844
triadic
#D8C144 #44D8C1 #C144D8
tetradic
#D8C144 #44D877 #445BD8 #D844A5
square
#D8C144 #44D877 #445BD8 #D844A5
split-complementary
#D8C144 #44A5D8 #7744D8
monochromatic
#86751C #B8A226 #D8C144 #E3D277 #EDE3A9

Accessibility & contrast

On white

1.81
#D8C144 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.63
#D8C144 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8C144
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8C144#FFFFFF#000000##000000
##D8C1441.001.8111.6311.63
#FFFFFF1.811.0021.0021.00
#00000011.6321.001.001.00
##00000011.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC32
Deuteranopia (green-blind)
#DAC44B
Tritanopia (blue-blind)
#E8B3A8
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d8c144;
/* rgb */ color: rgb(216, 193, 68);
/* oklch */ color: oklch(80.8% 0.143 98.7);
Tailwind
colors: {
  custom: {
    50: '#e8d37f',
    500: '#d8c144',
    950: '#000000',
  },
}
SCSS
$custom: #d8c144;
$custom-light: #e8d37f;
$custom-dark: #000000;
JSON
{
  "hex": "#d8c144",
  "rgb": {
    "r": 216,
    "g": 193,
    "b": 68
  },
  "hsl": {
    "h": 50.676,
    "s": 65.487,
    "l": 55.686
  },
  "oklch": {
    "l": 0.80816,
    "c": 0.14287,
    "h": 98.7
  },
  "luminance": 0.53156
}

Semantic roles & 50–950 ramp

primary
#D8C144
secondary
#34428C
accent
#5AE83F
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140A
muted
#85837D

Preview Lab

Preview with #D8C144

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

Preview Lab → · Contrast checker → · Palette generator →

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