#D4D145#D4D145

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

Color values

HEX#D4D145
RGBrgb(212, 209, 69)
HSLhsl(59, 62%, 55%)
HSVhsv(59, 67%, 83%)
CMYKcmyk(0%, 1.4%, 67.5%, 16.9%)
CIE-LABlab(81.85, -15.41, 66.52)
CIE-LCHlch(81.85, 68.28, 103.04°)
OKLaboklab(83.83% -0.0487 0.1488)
OKLCHoklch(83.83% 0.157 108.1)
XYZxyz(51.0278, 60.0293, 14.5279)
Luminance0.6003 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4D145 #4548D4
analogous
#D48945 #D4D145 #90D445
triadic
#D4D145 #45D4D1 #D145D4
tetradic
#D4D145 #45D489 #4548D4 #D44590
square
#D4D145 #45D489 #4548D4 #D44590
split-complementary
#D4D145 #4590D4 #8945D4
monochromatic
#817F1E #B3B029 #D4D145 #DFDD77 #EBEAA8

Accessibility & contrast

On white

1.61
#D4D145 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.01
#D4D145 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4D145
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4D145#FFFFFF#000000##000000
##D4D1451.001.6113.0113.01
#FFFFFF1.611.0021.0021.00
#00000013.0121.001.001.00
##00000013.0121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d4d145;
/* rgb */ color: rgb(212, 209, 69);
/* oklch */ color: oklch(83.8% 0.157 108.1);
Tailwind
colors: {
  custom: {
    50: '#e5de81',
    500: '#d4d145',
    950: '#000000',
  },
}
SCSS
$custom: #d4d145;
$custom-light: #e5de81;
$custom-dark: #000000;
JSON
{
  "hex": "#d4d145",
  "rgb": {
    "r": 212,
    "g": 209,
    "b": 69
  },
  "hsl": {
    "h": 58.741,
    "s": 62.445,
    "l": 55.098
  },
  "oklch": {
    "l": 0.83827,
    "c": 0.15655,
    "h": 108.1
  },
  "luminance": 0.60028
}

Semantic roles & 50–950 ramp

primary
#D4D145
secondary
#353788
accent
#46E642
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D4D145

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

Preview Lab → · Contrast checker → · Palette generator →

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