#D4C343#D4C343

#D4C343 is a light, vivid yellow. Relative luminance 0.534; OKLCH L 80.9% C 0.145 H 101.6°. Best body text is #000000 at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#D4C343
RGBrgb(212, 195, 67)
HSLhsl(53, 63%, 55%)
HSVhsv(53, 68%, 83%)
CMYKcmyk(0%, 8%, 68.4%, 16.9%)
CIE-LABlab(78.13, -8.45, 63.53)
CIE-LCHlch(78.13, 64.09, 97.57°)
OKLaboklab(80.86% -0.0293 0.1422)
OKLCHoklch(80.86% 0.145 101.6)
XYZxyz(47.6817, 53.4346, 13.1114)
Luminance0.5343 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4C343 #4354D4
analogous
#D47B43 #D4C343 #9CD443
triadic
#D4C343 #43D4C3 #C343D4
tetradic
#D4C343 #43D47B #4354D4 #D4439C
square
#D4C343 #43D47B #4354D4 #D4439C
split-complementary
#D4C343 #439CD4 #7B43D4
monochromatic
#7F741D #B1A129 #D4C343 #DFD375 #EBE3A7

Accessibility & contrast

On white

1.80
#D4C343 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.69
#D4C343 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4C343
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4C343#FFFFFF#000000##000000
##D4C3431.001.8011.6911.69
#FFFFFF1.801.0021.0021.00
#00000011.6921.001.001.00
##00000011.6921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d4c343;
/* rgb */ color: rgb(212, 195, 67);
/* oklch */ color: oklch(80.9% 0.145 101.6);
Tailwind
colors: {
  custom: {
    50: '#e5d47e',
    500: '#d4c343',
    950: '#000000',
  },
}
SCSS
$custom: #d4c343;
$custom-light: #e5d47e;
$custom-dark: #000000;
JSON
{
  "hex": "#d4c343",
  "rgb": {
    "r": 212,
    "g": 195,
    "b": 67
  },
  "hsl": {
    "h": 52.966,
    "s": 62.771,
    "l": 54.706
  },
  "oklch": {
    "l": 0.80859,
    "c": 0.14513,
    "h": 101.6
  },
  "luminance": 0.53433
}

Semantic roles & 50–950 ramp

primary
#D4C343
secondary
#343E87
accent
#55E642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D4C343

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

Preview Lab → · Contrast checker → · Palette generator →

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