#D4D148#D4D148

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

Color values

HEX#D4D148
RGBrgb(212, 209, 72)
HSLhsl(59, 62%, 56%)
HSVhsv(59, 66%, 83%)
CMYKcmyk(0%, 1.4%, 66%, 16.9%)
CIE-LABlab(81.87, -15.25, 65.39)
CIE-LCHlch(81.87, 67.14, 103.13°)
OKLaboklab(83.85% -0.048 0.1469)
OKLCHoklch(83.85% 0.155 108.1)
XYZxyz(51.1233, 60.0674, 15.0308)
Luminance0.6007 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4D148 #484BD4
analogous
#D48B48 #D4D148 #91D448
triadic
#D4D148 #48D4D1 #D148D4
tetradic
#D4D148 #48D48B #484BD4 #D44891
square
#D4D148 #48D48B #484BD4 #D44891
split-complementary
#D4D148 #4891D4 #8B48D4
monochromatic
#83811F #B4B12A #D4D148 #E0DD7A #EBEAAB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D4D148#FFFFFF#000000##000000
##D4D1481.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)
#E2C934
Deuteranopia (green-blind)
#E4CE51
Tritanopia (blue-blind)
#E3C4B5
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d4d148;
/* rgb */ color: rgb(212, 209, 72);
/* oklch */ color: oklch(83.9% 0.155 108.1);
Tailwind
colors: {
  custom: {
    50: '#e5de82',
    500: '#d4d148',
    950: '#000000',
  },
}
SCSS
$custom: #d4d148;
$custom-light: #e5de82;
$custom-dark: #000000;
JSON
{
  "hex": "#d4d148",
  "rgb": {
    "r": 212,
    "g": 209,
    "b": 72
  },
  "hsl": {
    "h": 58.714,
    "s": 61.947,
    "l": 55.686
  },
  "oklch": {
    "l": 0.8385,
    "c": 0.15451,
    "h": 108.1
  },
  "luminance": 0.60066
}

Semantic roles & 50–950 ramp

primary
#D4D148
secondary
#36388A
accent
#46E543
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D4D148

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

Preview Lab → · Contrast checker → · Palette generator →

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