#D4C63C#D4C63C

#D4C63C is a light, vivid yellow. Relative luminance 0.547; OKLCH L 81.4% C 0.152 H 103.4°. Best body text is #000000 at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#D4C63C
RGBrgb(212, 198, 60)
HSLhsl(54, 64%, 53%)
HSVhsv(54, 72%, 83%)
CMYKcmyk(0%, 6.6%, 71.7%, 16.9%)
CIE-LABlab(78.88, -10.32, 66.90)
CIE-LCHlch(78.88, 67.69, 98.77°)
OKLaboklab(81.44% -0.0353 0.148)
OKLCHoklch(81.44% 0.152 103.4)
XYZxyz(48.1632, 54.7134, 12.2979)
Luminance0.5471 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4C63C #3C4AD4
analogous
#D47A3C #D4C63C #96D43C
triadic
#D4C63C #3CD4C6 #C63CD4
tetradic
#D4C63C #3CD47A #3C4AD4 #D43C96
square
#D4C63C #3CD47A #3C4AD4 #D43C96
split-complementary
#D4C63C #3C96D4 #7A3CD4
monochromatic
#7B721B #ADA026 #D4C63C #DFD56E #EAE3A0

Accessibility & contrast

On white

1.76
#D4C63C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.94
#D4C63C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4C63C
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4C63C#FFFFFF#000000##000000
##D4C63C1.001.7611.9411.94
#FFFFFF1.761.0021.0021.00
#00000011.9421.001.001.00
##00000011.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8BF24
Deuteranopia (green-blind)
#DCC645
Tritanopia (blue-blind)
#E4B8AB
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d4c63c;
/* rgb */ color: rgb(212, 198, 60);
/* oklch */ color: oklch(81.4% 0.152 103.4);
Tailwind
colors: {
  custom: {
    50: '#e5d67b',
    500: '#d4c63c',
    950: '#000000',
  },
}
SCSS
$custom: #d4c63c;
$custom-light: #e5d67b;
$custom-dark: #000000;
JSON
{
  "hex": "#d4c63c",
  "rgb": {
    "r": 212,
    "g": 198,
    "b": 60
  },
  "hsl": {
    "h": 54.474,
    "s": 63.866,
    "l": 53.333
  },
  "oklch": {
    "l": 0.81436,
    "c": 0.1522,
    "h": 103.4
  },
  "luminance": 0.54711
}

Semantic roles & 50–950 ramp

primary
#D4C63C
secondary
#323982
accent
#50E741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D4C63C

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

Preview Lab → · Contrast checker → · Palette generator →

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