#D4D140#D4D140

#D4D140 is a very light, vivid yellow. Relative luminance 0.600; OKLCH L 83.8% C 0.160 H 108.2°. Best body text is #000000 at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#D4D140
RGBrgb(212, 209, 64)
HSLhsl(59, 63%, 54%)
HSVhsv(59, 70%, 83%)
CMYKcmyk(0%, 1.4%, 69.8%, 16.9%)
CIE-LABlab(81.82, -15.67, 68.33)
CIE-LCHlch(81.82, 70.10, 102.91°)
OKLaboklab(83.79% -0.0499 0.1518)
OKLCHoklch(83.79% 0.16 108.2)
XYZxyz(50.8791, 59.9698, 13.7447)
Luminance0.5997 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4D140 #4043D4
analogous
#D48740 #D4D140 #8DD440
triadic
#D4D140 #40D4D1 #D140D4
tetradic
#D4D140 #40D487 #4043D4 #D4408D
square
#D4D140 #40D487 #4043D4 #D4408D
split-complementary
#D4D140 #408DD4 #8740D4
monochromatic
#7D7B1C #AFAD27 #D4D140 #DFDD72 #EAE9A4

Accessibility & contrast

On white

1.62
#D4D140 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.99
#D4D140 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4D140
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4D140#FFFFFF#000000##000000
##D4D1401.001.6212.9912.99
#FFFFFF1.621.0021.0021.00
#00000012.9921.001.001.00
##00000012.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C927
Deuteranopia (green-blind)
#E4CE4A
Tritanopia (blue-blind)
#E3C4B5
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d4d140;
/* rgb */ color: rgb(212, 209, 64);
/* oklch */ color: oklch(83.8% 0.160 108.2);
Tailwind
colors: {
  custom: {
    50: '#e5de7e',
    500: '#d4d140',
    950: '#000000',
  },
}
SCSS
$custom: #d4d140;
$custom-light: #e5de7e;
$custom-dark: #000000;
JSON
{
  "hex": "#d4d140",
  "rgb": {
    "r": 212,
    "g": 209,
    "b": 64
  },
  "hsl": {
    "h": 58.784,
    "s": 63.248,
    "l": 54.118
  },
  "oklch": {
    "l": 0.83791,
    "c": 0.15977,
    "h": 108.2
  },
  "luminance": 0.59968
}

Semantic roles & 50–950 ramp

primary
#D4D140
secondary
#333585
accent
#45E642
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D4D140

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

Preview Lab → · Contrast checker → · Palette generator →

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