#D4C843#D4C843

#D4C843 is a light, vivid yellow. Relative luminance 0.557; OKLCH L 81.9% C 0.149 H 104.1°. Best body text is #000000 at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#D4C843
RGBrgb(212, 200, 67)
HSLhsl(55, 63%, 55%)
HSVhsv(55, 68%, 83%)
CMYKcmyk(0%, 5.7%, 68.4%, 16.9%)
CIE-LABlab(79.45, -10.99, 64.86)
CIE-LCHlch(79.45, 65.79, 99.62°)
OKLaboklab(81.91% -0.0365 0.145)
OKLCHoklch(81.91% 0.149 104.1)
XYZxyz(48.8208, 55.7127, 13.4911)
Luminance0.5571 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4C843 #434FD4
analogous
#D47F43 #D4C843 #98D443
triadic
#D4C843 #43D4C8 #C843D4
tetradic
#D4C843 #43D47F #434FD4 #D44398
square
#D4C843 #43D47F #434FD4 #D44398
split-complementary
#D4C843 #4398D4 #7F43D4
monochromatic
#7F771D #B1A629 #D4C843 #DFD775 #EBE5A7

Accessibility & contrast

On white

1.73
#D4C843 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.14
#D4C843 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4C843
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4C843#FFFFFF#000000##000000
##D4C8431.001.7312.1412.14
#FFFFFF1.731.0021.0021.00
#00000012.1421.001.001.00
##00000012.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C12F
Deuteranopia (green-blind)
#DDC84C
Tritanopia (blue-blind)
#E4BBAD
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d4c843;
/* rgb */ color: rgb(212, 200, 67);
/* oklch */ color: oklch(81.9% 0.149 104.1);
Tailwind
colors: {
  custom: {
    50: '#e5d87f',
    500: '#d4c843',
    950: '#000000',
  },
}
SCSS
$custom: #d4c843;
$custom-light: #e5d87f;
$custom-dark: #000000;
JSON
{
  "hex": "#d4c843",
  "rgb": {
    "r": 212,
    "g": 200,
    "b": 67
  },
  "hsl": {
    "h": 55.034,
    "s": 62.771,
    "l": 54.706
  },
  "oklch": {
    "l": 0.81908,
    "c": 0.14947,
    "h": 104.1
  },
  "luminance": 0.55711
}

Semantic roles & 50–950 ramp

primary
#D4C843
secondary
#343B87
accent
#50E642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D4C843

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

Preview Lab → · Contrast checker → · Palette generator →

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