#D8C244#D8C244

#D8C244 is a light, vivid yellow. Relative luminance 0.536; OKLCH L 81.0% C 0.144 H 99.2°. Best body text is #000000 at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#D8C244
RGBrgb(216, 194, 68)
HSLhsl(51, 65%, 56%)
HSVhsv(51, 69%, 85%)
CMYKcmyk(0%, 10.2%, 68.5%, 15.3%)
CIE-LABlab(78.23, -6.18, 63.35)
CIE-LCHlch(78.23, 63.65, 95.57°)
OKLaboklab(81.02% -0.023 0.1418)
OKLCHoklch(81.02% 0.144 99.2)
XYZxyz(48.6563, 53.6021, 13.2511)
Luminance0.5360 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8C244 #445AD8
analogous
#D87844 #D8C244 #A4D844
triadic
#D8C244 #44D8C2 #C244D8
tetradic
#D8C244 #44D878 #445AD8 #D844A4
square
#D8C244 #44D878 #445AD8 #D844A4
split-complementary
#D8C244 #44A4D8 #7844D8
monochromatic
#86761C #B8A326 #D8C244 #E3D377 #EDE3A9

Accessibility & contrast

On white

1.79
#D8C244 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.72
#D8C244 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8C244
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8C244#FFFFFF#000000##000000
##D8C2441.001.7911.7211.72
#FFFFFF1.791.0021.0021.00
#00000011.7221.001.001.00
##00000011.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BD32
Deuteranopia (green-blind)
#DAC54B
Tritanopia (blue-blind)
#E8B4A8
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d8c244;
/* rgb */ color: rgb(216, 194, 68);
/* oklch */ color: oklch(81.0% 0.144 99.2);
Tailwind
colors: {
  custom: {
    50: '#e8d47f',
    500: '#d8c244',
    950: '#000000',
  },
}
SCSS
$custom: #d8c244;
$custom-light: #e8d47f;
$custom-dark: #000000;
JSON
{
  "hex": "#d8c244",
  "rgb": {
    "r": 216,
    "g": 194,
    "b": 68
  },
  "hsl": {
    "h": 51.081,
    "s": 65.487,
    "l": 55.686
  },
  "oklch": {
    "l": 0.81023,
    "c": 0.14365,
    "h": 99.2
  },
  "luminance": 0.536
}

Semantic roles & 50–950 ramp

primary
#D8C244
secondary
#34418C
accent
#58E83F
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140A
muted
#85837D

Preview Lab

Preview with #D8C244

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

Preview Lab → · Contrast checker → · Palette generator →

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