#D4D74B#D4D74B

#D4D74B is a very light, vivid yellow. Relative luminance 0.631; OKLCH L 85.2% C 0.158 H 110.5°. Best body text is #000000 at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#D4D74B
RGBrgb(212, 215, 75)
HSLhsl(61, 64%, 57%)
HSVhsv(61, 65%, 84%)
CMYKcmyk(1.4%, 0%, 65.1%, 15.7%)
CIE-LABlab(83.50, -18.05, 65.88)
CIE-LCHlch(83.50, 68.31, 105.32°)
OKLaboklab(85.15% -0.0555 0.1484)
OKLCHoklch(85.15% 0.158 110.5)
XYZxyz(52.7235, 63.1073, 16.0588)
Luminance0.6311 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4D74B #4E4BD7
analogous
#D7944B #D4D74B #8ED74B
triadic
#D4D74B #4BD4D7 #D74BD4
tetradic
#D4D74B #4BD794 #4E4BD7 #D74B8E
square
#D4D74B #4BD794 #4E4BD7 #D74B8E
split-complementary
#D4D74B #4B8ED7 #944BD7
monochromatic
#87891E #B8BB2A #D4D74B #E0E27D #ECEDAF

Accessibility & contrast

On white

1.54
#D4D74B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.62
#D4D74B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4D74B
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4D74B#FFFFFF#000000##000000
##D4D74B1.001.5413.6213.62
#FFFFFF1.541.0021.0021.00
#00000013.6221.001.001.00
##00000013.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CE37
Deuteranopia (green-blind)
#E8D254
Tritanopia (blue-blind)
#E2CABB
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d4d74b;
/* rgb */ color: rgb(212, 215, 75);
/* oklch */ color: oklch(85.2% 0.158 110.5);
Tailwind
colors: {
  custom: {
    50: '#e4e384',
    500: '#d4d74b',
    950: '#000000',
  },
}
SCSS
$custom: #d4d74b;
$custom-light: #e4e384;
$custom-dark: #000000;
JSON
{
  "hex": "#d4d74b",
  "rgb": {
    "r": 212,
    "g": 215,
    "b": 75
  },
  "hsl": {
    "h": 61.286,
    "s": 63.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.85153,
    "c": 0.15845,
    "h": 110.5
  },
  "luminance": 0.63106
}

Semantic roles & 50–950 ramp

primary
#D4D74B
secondary
#39378F
accent
#41E745
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D4D74B

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

Preview Lab → · Contrast checker → · Palette generator →

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