#D4C241#D4C241

#D4C241 is a light, vivid yellow. Relative luminance 0.530; OKLCH L 80.6% C 0.146 H 101.2°. Best body text is #000000 at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#D4C241
RGBrgb(212, 194, 65)
HSLhsl(53, 63%, 54%)
HSVhsv(53, 69%, 83%)
CMYKcmyk(0%, 8.5%, 69.3%, 16.9%)
CIE-LABlab(77.85, -8.04, 64.03)
CIE-LCHlch(77.85, 64.53, 97.16°)
OKLaboklab(80.64% -0.0283 0.1429)
OKLCHoklch(80.64% 0.146 101.2)
XYZxyz(47.3994, 52.9644, 12.7264)
Luminance0.5296 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4C241 #4153D4
analogous
#D47941 #D4C241 #9DD441
triadic
#D4C241 #41D4C2 #C241D4
tetradic
#D4C241 #41D479 #4153D4 #D4419D
square
#D4C241 #41D479 #4153D4 #D4419D
split-complementary
#D4C241 #419DD4 #7941D4
monochromatic
#7E721D #B09F28 #D4C241 #DFD273 #EBE2A5

Accessibility & contrast

On white

1.81
#D4C241 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.59
#D4C241 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4C241
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4C241#FFFFFF#000000##000000
##D4C2411.001.8111.5911.59
#FFFFFF1.811.0021.0021.00
#00000011.5921.001.001.00
##00000011.5921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d4c241;
/* rgb */ color: rgb(212, 194, 65);
/* oklch */ color: oklch(80.6% 0.146 101.2);
Tailwind
colors: {
  custom: {
    50: '#e5d47d',
    500: '#d4c241',
    950: '#000000',
  },
}
SCSS
$custom: #d4c241;
$custom-light: #e5d47d;
$custom-dark: #000000;
JSON
{
  "hex": "#d4c241",
  "rgb": {
    "r": 212,
    "g": 194,
    "b": 65
  },
  "hsl": {
    "h": 52.653,
    "s": 63.09,
    "l": 54.314
  },
  "oklch": {
    "l": 0.80635,
    "c": 0.14564,
    "h": 101.2
  },
  "luminance": 0.52962
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D4C241

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

Preview Lab → · Contrast checker → · Palette generator →

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