#D4C146#D4C146

#D4C146 is a light, vivid yellow. Relative luminance 0.526; OKLCH L 80.5% C 0.141 H 100.4°. Best body text is #000000 at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#D4C146
RGBrgb(212, 193, 70)
HSLhsl(52, 62%, 55%)
HSVhsv(52, 67%, 83%)
CMYKcmyk(0%, 9%, 67%, 16.9%)
CIE-LABlab(77.63, -7.26, 61.82)
CIE-LCHlch(77.63, 62.25, 96.70°)
OKLaboklab(80.47% -0.0256 0.139)
OKLCHoklch(80.47% 0.141 100.4)
XYZxyz(47.3289, 52.5813, 13.4494)
Luminance0.5258 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4C146 #4659D4
analogous
#D47A46 #D4C146 #A0D446
triadic
#D4C146 #46D4C1 #C146D4
tetradic
#D4C146 #46D47A #4659D4 #D446A0
square
#D4C146 #46D47A #4659D4 #D446A0
split-complementary
#D4C146 #46A0D4 #7A46D4
monochromatic
#81741E #B3A12A #D4C146 #E0D278 #EBE2A9

Accessibility & contrast

On white

1.82
#D4C146 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.52
#D4C146 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4C146
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4C146#FFFFFF#000000##000000
##D4C1461.001.8211.5211.52
#FFFFFF1.821.0021.0021.00
#00000011.5221.001.001.00
##00000011.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC35
Deuteranopia (green-blind)
#D8C34D
Tritanopia (blue-blind)
#E4B4A8
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d4c146;
/* rgb */ color: rgb(212, 193, 70);
/* oklch */ color: oklch(80.5% 0.141 100.4);
Tailwind
colors: {
  custom: {
    50: '#e5d380',
    500: '#d4c146',
    950: '#000000',
  },
}
SCSS
$custom: #d4c146;
$custom-light: #e5d380;
$custom-dark: #000000;
JSON
{
  "hex": "#d4c146",
  "rgb": {
    "r": 212,
    "g": 193,
    "b": 70
  },
  "hsl": {
    "h": 51.972,
    "s": 62.281,
    "l": 55.294
  },
  "oklch": {
    "l": 0.80466,
    "c": 0.14136,
    "h": 100.4
  },
  "luminance": 0.52579
}

Semantic roles & 50–950 ramp

primary
#D4C146
secondary
#364189
accent
#58E542
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D4C146

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

Preview Lab → · Contrast checker → · Palette generator →

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