#D4C644#D4C644

#D4C644 is a light, vivid yellow. Relative luminance 0.548; OKLCH L 81.5% C 0.147 H 103.1°. Best body text is #000000 at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#D4C644
RGBrgb(212, 198, 68)
HSLhsl(54, 63%, 55%)
HSVhsv(54, 68%, 83%)
CMYKcmyk(0%, 6.6%, 67.9%, 16.9%)
CIE-LABlab(78.93, -9.92, 63.95)
CIE-LCHlch(78.93, 64.71, 98.82°)
OKLaboklab(81.49% -0.0333 0.1432)
OKLCHoklch(81.49% 0.147 103.1)
XYZxyz(48.3909, 54.8045, 13.4971)
Luminance0.5480 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4C644 #4452D4
analogous
#D47E44 #D4C644 #9AD444
triadic
#D4C644 #44D4C6 #C644D4
tetradic
#D4C644 #44D47E #4452D4 #D4449A
square
#D4C644 #44D47E #4452D4 #D4449A
split-complementary
#D4C644 #449AD4 #7E44D4
monochromatic
#80771D #B2A529 #D4C644 #DFD576 #EBE4A8

Accessibility & contrast

On white

1.76
#D4C644 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.96
#D4C644 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4C644
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4C644#FFFFFF#000000##000000
##D4C6441.001.7611.9611.96
#FFFFFF1.761.0021.0021.00
#00000011.9621.001.001.00
##00000011.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C031
Deuteranopia (green-blind)
#DCC64C
Tritanopia (blue-blind)
#E4B9AC
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d4c644;
/* rgb */ color: rgb(212, 198, 68);
/* oklch */ color: oklch(81.5% 0.147 103.1);
Tailwind
colors: {
  custom: {
    50: '#e5d77f',
    500: '#d4c644',
    950: '#000000',
  },
}
SCSS
$custom: #d4c644;
$custom-light: #e5d77f;
$custom-dark: #000000;
JSON
{
  "hex": "#d4c644",
  "rgb": {
    "r": 212,
    "g": 198,
    "b": 68
  },
  "hsl": {
    "h": 54.167,
    "s": 62.609,
    "l": 54.902
  },
  "oklch": {
    "l": 0.81495,
    "c": 0.14702,
    "h": 103.1
  },
  "luminance": 0.54803
}

Semantic roles & 50–950 ramp

primary
#D4C644
secondary
#353D87
accent
#52E642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D4C644

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

Preview Lab → · Contrast checker → · Palette generator →

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