#D4D13D#D4D13D

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

Color values

HEX#D4D13D
RGBrgb(212, 209, 61)
HSLhsl(59, 64%, 54%)
HSVhsv(59, 71%, 83%)
CMYKcmyk(0%, 1.4%, 71.2%, 16.9%)
CIE-LABlab(81.80, -15.81, 69.38)
CIE-LCHlch(81.80, 71.15, 102.84°)
OKLaboklab(83.77% -0.0506 0.1535)
OKLCHoklch(83.77% 0.162 108.3)
XYZxyz(50.7960, 59.9365, 13.3071)
Luminance0.5994 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4D13D #3D40D4
analogous
#D4853D #D4D13D #8BD43D
triadic
#D4D13D #3DD4D1 #D13DD4
tetradic
#D4D13D #3DD485 #3D40D4 #D43D8B
square
#D4D13D #3DD485 #3D40D4 #D43D8B
split-complementary
#D4D13D #3D8BD4 #853DD4
monochromatic
#7B791B #ADAB26 #D4D13D #DFDD6F #EAE9A1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D4D13D#FFFFFF#000000##000000
##D4D13D1.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)
#E2C922
Deuteranopia (green-blind)
#E5CE48
Tritanopia (blue-blind)
#E3C3B4
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d4d13d;
/* rgb */ color: rgb(212, 209, 61);
/* oklch */ color: oklch(83.8% 0.162 108.3);
Tailwind
colors: {
  custom: {
    50: '#e5de7c',
    500: '#d4d13d',
    950: '#000000',
  },
}
SCSS
$custom: #d4d13d;
$custom-light: #e5de7c;
$custom-dark: #000000;
JSON
{
  "hex": "#d4d13d",
  "rgb": {
    "r": 212,
    "g": 209,
    "b": 61
  },
  "hsl": {
    "h": 58.808,
    "s": 63.713,
    "l": 53.529
  },
  "oklch": {
    "l": 0.83771,
    "c": 0.16159,
    "h": 108.3
  },
  "luminance": 0.59935
}

Semantic roles & 50–950 ramp

primary
#D4D13D
secondary
#323483
accent
#44E741
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150A
muted
#85847D

Preview Lab

Preview with #D4D13D

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

Preview Lab → · Contrast checker → · Palette generator →

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