#D4C345#D4C345

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

Color values

HEX#D4C345
RGBrgb(212, 195, 69)
HSLhsl(53, 62%, 55%)
HSVhsv(53, 67%, 83%)
CMYKcmyk(0%, 8%, 67.5%, 16.9%)
CIE-LABlab(78.15, -8.34, 62.76)
CIE-LCHlch(78.15, 63.31, 97.57°)
OKLaboklab(80.88% -0.0287 0.1408)
OKLCHoklch(80.88% 0.144 101.5)
XYZxyz(47.7427, 53.4590, 13.4329)
Luminance0.5346 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4C345 #4556D4
analogous
#D47B45 #D4C345 #9ED445
triadic
#D4C345 #45D4C3 #C345D4
tetradic
#D4C345 #45D47B #4556D4 #D4459E
square
#D4C345 #45D47B #4556D4 #D4459E
split-complementary
#D4C345 #459ED4 #7B45D4
monochromatic
#81751E #B3A229 #D4C345 #DFD377 #EBE3A8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D4C345#FFFFFF#000000##000000
##D4C3451.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)
#D5BD34
Deuteranopia (green-blind)
#DAC44D
Tritanopia (blue-blind)
#E4B6A9
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d4c345;
/* rgb */ color: rgb(212, 195, 69);
/* oklch */ color: oklch(80.9% 0.144 101.5);
Tailwind
colors: {
  custom: {
    50: '#e5d47f',
    500: '#d4c345',
    950: '#000000',
  },
}
SCSS
$custom: #d4c345;
$custom-light: #e5d47f;
$custom-dark: #000000;
JSON
{
  "hex": "#d4c345",
  "rgb": {
    "r": 212,
    "g": 195,
    "b": 69
  },
  "hsl": {
    "h": 52.867,
    "s": 62.445,
    "l": 55.098
  },
  "oklch": {
    "l": 0.80875,
    "c": 0.14374,
    "h": 101.5
  },
  "luminance": 0.53457
}

Semantic roles & 50–950 ramp

primary
#D4C345
secondary
#353F88
accent
#56E642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D4C345

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

Preview Lab → · Contrast checker → · Palette generator →

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