#D4D74E#D4D74E

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

Color values

HEX#D4D74E
RGBrgb(212, 215, 78)
HSLhsl(61, 63%, 57%)
HSVhsv(61, 64%, 84%)
CMYKcmyk(1.4%, 0%, 63.7%, 15.7%)
CIE-LABlab(83.52, -17.87, 64.72)
CIE-LCHlch(83.52, 67.14, 105.44°)
OKLaboklab(85.18% -0.0547 0.1464)
OKLCHoklch(85.18% 0.156 110.5)
XYZxyz(52.8286, 63.1493, 16.6124)
Luminance0.6315 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4D74E #514ED7
analogous
#D7964E #D4D74E #8FD74E
triadic
#D4D74E #4ED4D7 #D74ED4
tetradic
#D4D74E #4ED796 #514ED7 #D74E8F
square
#D4D74E #4ED796 #514ED7 #D74E8F
split-complementary
#D4D74E #4E8FD7 #964ED7
monochromatic
#898B1F #BABD2B #D4D74E #E0E280 #ECEEB2

Accessibility & contrast

On white

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

On black

13.63
#D4D74E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4D74E
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4D74E#FFFFFF#000000##000000
##D4D74E1.001.5413.6313.63
#FFFFFF1.541.0021.0021.00
#00000013.6321.001.001.00
##00000013.6321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d4d74e;
/* rgb */ color: rgb(212, 215, 78);
/* oklch */ color: oklch(85.2% 0.156 110.5);
Tailwind
colors: {
  custom: {
    50: '#e4e386',
    500: '#d4d74e',
    950: '#000000',
  },
}
SCSS
$custom: #d4d74e;
$custom-light: #e4e386;
$custom-dark: #000000;
JSON
{
  "hex": "#d4d74e",
  "rgb": {
    "r": 212,
    "g": 215,
    "b": 78
  },
  "hsl": {
    "h": 61.314,
    "s": 63.134,
    "l": 57.451
  },
  "oklch": {
    "l": 0.85178,
    "c": 0.15629,
    "h": 110.5
  },
  "luminance": 0.63148
}

Semantic roles & 50–950 ramp

primary
#D4D74E
secondary
#3A3891
accent
#42E645
background
#FEFEFC
surface
#FDFCF3
border
#D5D5CD
text
#16150C
muted
#84847F

Preview Lab

Preview with #D4D74E

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

Preview Lab → · Contrast checker → · Palette generator →

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