#D4C643#D4C643

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

Color values

HEX#D4C643
RGBrgb(212, 198, 67)
HSLhsl(54, 63%, 55%)
HSVhsv(54, 68%, 83%)
CMYKcmyk(0%, 6.6%, 68.4%, 16.9%)
CIE-LABlab(78.92, -9.98, 64.33)
CIE-LCHlch(78.92, 65.10, 98.82°)
OKLaboklab(81.49% -0.0336 0.1438)
OKLCHoklch(81.49% 0.148 103.2)
XYZxyz(48.3606, 54.7924, 13.3377)
Luminance0.5479 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4C643 #4351D4
analogous
#D47E43 #D4C643 #9AD443
triadic
#D4C643 #43D4C6 #C643D4
tetradic
#D4C643 #43D47E #4351D4 #D4439A
square
#D4C643 #43D47E #4351D4 #D4439A
split-complementary
#D4C643 #439AD4 #7E43D4
monochromatic
#7F761D #B1A429 #D4C643 #DFD575 #EBE4A7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D4C643#FFFFFF#000000##000000
##D4C6431.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)
#D8C030
Deuteranopia (green-blind)
#DCC64B
Tritanopia (blue-blind)
#E4B9AC
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d4c643;
/* rgb */ color: rgb(212, 198, 67);
/* oklch */ color: oklch(81.5% 0.148 103.2);
Tailwind
colors: {
  custom: {
    50: '#e5d77f',
    500: '#d4c643',
    950: '#000000',
  },
}
SCSS
$custom: #d4c643;
$custom-light: #e5d77f;
$custom-dark: #000000;
JSON
{
  "hex": "#d4c643",
  "rgb": {
    "r": 212,
    "g": 198,
    "b": 67
  },
  "hsl": {
    "h": 54.207,
    "s": 62.771,
    "l": 54.706
  },
  "oklch": {
    "l": 0.81487,
    "c": 0.1477,
    "h": 103.2
  },
  "luminance": 0.5479
}

Semantic roles & 50–950 ramp

primary
#D4C643
secondary
#343C87
accent
#52E642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D4C643

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

Preview Lab → · Contrast checker → · Palette generator →

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