#D4C63B#D4C63B

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

Color values

HEX#D4C63B
RGBrgb(212, 198, 59)
HSLhsl(55, 64%, 53%)
HSVhsv(55, 72%, 83%)
CMYKcmyk(0%, 6.6%, 72.2%, 16.9%)
CIE-LABlab(78.87, -10.37, 67.26)
CIE-LCHlch(78.87, 68.05, 98.77°)
OKLaboklab(81.43% -0.0355 0.1486)
OKLCHoklch(81.43% 0.153 103.4)
XYZxyz(48.1370, 54.7030, 12.1600)
Luminance0.5470 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4C63B #3B49D4
analogous
#D4793B #D4C63B #95D43B
triadic
#D4C63B #3BD4C6 #C63BD4
tetradic
#D4C63B #3BD479 #3B49D4 #D43B95
square
#D4C63B #3BD479 #3B49D4 #D43B95
split-complementary
#D4C63B #3B95D4 #793BD4
monochromatic
#7A711B #ACA026 #D4C63B #DFD56D #EAE39F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D4C63B#FFFFFF#000000##000000
##D4C63B1.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)
#D8BF22
Deuteranopia (green-blind)
#DCC645
Tritanopia (blue-blind)
#E4B8AB
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d4c63b;
/* rgb */ color: rgb(212, 198, 59);
/* oklch */ color: oklch(81.4% 0.153 103.4);
Tailwind
colors: {
  custom: {
    50: '#e5d67a',
    500: '#d4c63b',
    950: '#000000',
  },
}
SCSS
$custom: #d4c63b;
$custom-light: #e5d67a;
$custom-dark: #000000;
JSON
{
  "hex": "#d4c63b",
  "rgb": {
    "r": 212,
    "g": 198,
    "b": 59
  },
  "hsl": {
    "h": 54.51,
    "s": 64.017,
    "l": 53.137
  },
  "oklch": {
    "l": 0.8143,
    "c": 0.1528,
    "h": 103.4
  },
  "luminance": 0.54701
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D4C63B

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

Preview Lab → · Contrast checker → · Palette generator →

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