#D4C141#D4C141

#D4C141 is a light, vivid yellow. Relative luminance 0.525; OKLCH L 80.4% C 0.145 H 100.7°. Best body text is #000000 at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#D4C141
RGBrgb(212, 193, 65)
HSLhsl(52, 63%, 54%)
HSVhsv(52, 69%, 83%)
CMYKcmyk(0%, 9%, 69.3%, 16.9%)
CIE-LABlab(77.59, -7.53, 63.77)
CIE-LCHlch(77.59, 64.21, 96.73°)
OKLaboklab(80.43% -0.0269 0.1423)
OKLCHoklch(80.43% 0.145 100.7)
XYZxyz(47.1776, 52.5207, 12.6525)
Luminance0.5252 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4C141 #4154D4
analogous
#D47841 #D4C141 #9ED441
triadic
#D4C141 #41D4C1 #C141D4
tetradic
#D4C141 #41D478 #4154D4 #D4419E
square
#D4C141 #41D478 #4154D4 #D4419E
split-complementary
#D4C141 #419ED4 #7841D4
monochromatic
#7E711D #B09E28 #D4C141 #DFD173 #EBE2A5

Accessibility & contrast

On white

1.83
#D4C141 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.50
#D4C141 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4C141
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4C141#FFFFFF#000000##000000
##D4C1411.001.8311.5011.50
#FFFFFF1.831.0021.0021.00
#00000011.5021.001.001.00
##00000011.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC2E
Deuteranopia (green-blind)
#D8C349
Tritanopia (blue-blind)
#E4B3A7
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d4c141;
/* rgb */ color: rgb(212, 193, 65);
/* oklch */ color: oklch(80.4% 0.145 100.7);
Tailwind
colors: {
  custom: {
    50: '#e5d37d',
    500: '#d4c141',
    950: '#000000',
  },
}
SCSS
$custom: #d4c141;
$custom-light: #e5d37d;
$custom-dark: #000000;
JSON
{
  "hex": "#d4c141",
  "rgb": {
    "r": 212,
    "g": 193,
    "b": 65
  },
  "hsl": {
    "h": 52.245,
    "s": 63.09,
    "l": 54.314
  },
  "oklch": {
    "l": 0.80426,
    "c": 0.14481,
    "h": 100.7
  },
  "luminance": 0.52519
}

Semantic roles & 50–950 ramp

primary
#D4C141
secondary
#343E85
accent
#57E642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D4C141

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

Preview Lab → · Contrast checker → · Palette generator →

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