#D4C346#D4C346

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

Color values

HEX#D4C346
RGBrgb(212, 195, 70)
HSLhsl(53, 62%, 55%)
HSVhsv(53, 67%, 83%)
CMYKcmyk(0%, 8%, 67%, 16.9%)
CIE-LABlab(78.15, -8.28, 62.36)
CIE-LCHlch(78.15, 62.91, 97.57°)
OKLaboklab(80.88% -0.0285 0.1402)
OKLCHoklch(80.88% 0.143 101.5)
XYZxyz(47.7740, 53.4715, 13.5977)
Luminance0.5347 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4C346 #4657D4
analogous
#D47C46 #D4C346 #9ED446
triadic
#D4C346 #46D4C3 #C346D4
tetradic
#D4C346 #46D47C #4657D4 #D4469E
square
#D4C346 #46D47C #4657D4 #D4469E
split-complementary
#D4C346 #469ED4 #7C46D4
monochromatic
#81761E #B3A32A #D4C346 #E0D378 #EBE3A9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #d4c346;
/* rgb */ color: rgb(212, 195, 70);
/* oklch */ color: oklch(80.9% 0.143 101.5);
Tailwind
colors: {
  custom: {
    50: '#e5d480',
    500: '#d4c346',
    950: '#000000',
  },
}
SCSS
$custom: #d4c346;
$custom-light: #e5d480;
$custom-dark: #000000;
JSON
{
  "hex": "#d4c346",
  "rgb": {
    "r": 212,
    "g": 195,
    "b": 70
  },
  "hsl": {
    "h": 52.817,
    "s": 62.281,
    "l": 55.294
  },
  "oklch": {
    "l": 0.80883,
    "c": 0.14303,
    "h": 101.5
  },
  "luminance": 0.53469
}

Semantic roles & 50–950 ramp

primary
#D4C346
secondary
#364089
accent
#56E542
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D4C346

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

Preview Lab → · Contrast checker → · Palette generator →

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