#D4C348#D4C348

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

Color values

HEX#D4C348
RGBrgb(212, 195, 72)
HSLhsl(53, 62%, 56%)
HSVhsv(53, 66%, 83%)
CMYKcmyk(0%, 8%, 66%, 16.9%)
CIE-LABlab(78.17, -8.17, 61.57)
CIE-LCHlch(78.17, 62.11, 97.56°)
OKLaboklab(80.9% -0.0279 0.1388)
OKLCHoklch(80.9% 0.142 101.4)
XYZxyz(47.8382, 53.4972, 13.9358)
Luminance0.5350 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4C348 #4859D4
analogous
#D47D48 #D4C348 #9FD448
triadic
#D4C348 #48D4C3 #C348D4
tetradic
#D4C348 #48D47D #4859D4 #D4489F
square
#D4C348 #48D47D #4859D4 #D4489F
split-complementary
#D4C348 #489FD4 #7D48D4
monochromatic
#83771F #B4A42A #D4C348 #E0D37A #EBE3AB

Accessibility & contrast

On white

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

On black

11.70
#D4C348 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4C348
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4C348#FFFFFF#000000##000000
##D4C3481.001.8011.7011.70
#FFFFFF1.801.0021.0021.00
#00000011.7021.001.001.00
##00000011.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BD38
Deuteranopia (green-blind)
#D9C44F
Tritanopia (blue-blind)
#E4B6AA
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d4c348;
/* rgb */ color: rgb(212, 195, 72);
/* oklch */ color: oklch(80.9% 0.142 101.4);
Tailwind
colors: {
  custom: {
    50: '#e5d481',
    500: '#d4c348',
    950: '#000000',
  },
}
SCSS
$custom: #d4c348;
$custom-light: #e5d481;
$custom-dark: #000000;
JSON
{
  "hex": "#d4c348",
  "rgb": {
    "r": 212,
    "g": 195,
    "b": 72
  },
  "hsl": {
    "h": 52.714,
    "s": 61.947,
    "l": 55.686
  },
  "oklch": {
    "l": 0.809,
    "c": 0.1416,
    "h": 101.4
  },
  "luminance": 0.53495
}

Semantic roles & 50–950 ramp

primary
#D4C348
secondary
#36418A
accent
#56E543
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D4C348

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

Preview Lab → · Contrast checker → · Palette generator →

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