#D3D74C#D3D74C

#D3D74C is a very light, vivid yellow. Relative luminance 0.630; OKLCH L 85.1% C 0.158 H 110.9°. Best body text is #000000 at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#D3D74C
RGBrgb(211, 215, 76)
HSLhsl(62, 63%, 57%)
HSVhsv(62, 65%, 84%)
CMYKcmyk(1.9%, 0%, 64.7%, 15.7%)
CIE-LABlab(83.43, -18.40, 65.39)
CIE-LCHlch(83.43, 67.93, 105.72°)
OKLaboklab(85.08% -0.0564 0.1475)
OKLCHoklch(85.08% 0.158 110.9)
XYZxyz(52.4705, 62.9729, 16.2270)
Luminance0.6297 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3D74C #504CD7
analogous
#D7964C #D3D74C #8DD74C
triadic
#D3D74C #4CD3D7 #D74CD3
tetradic
#D3D74C #4CD796 #504CD7 #D74C8D
square
#D3D74C #4CD796 #504CD7 #D74C8D
split-complementary
#D3D74C #4C8DD7 #964CD7
monochromatic
#878A1F #B8BC2A #D3D74C #DFE27E #ECEDB0

Accessibility & contrast

On white

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

On black

13.59
#D3D74C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3D74C
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3D74C#FFFFFF#000000##000000
##D3D74C1.001.5413.5913.59
#FFFFFF1.541.0021.0021.00
#00000013.5921.001.001.00
##00000013.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CE39
Deuteranopia (green-blind)
#E8D255
Tritanopia (blue-blind)
#E1CABB
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d3d74c;
/* rgb */ color: rgb(211, 215, 76);
/* oklch */ color: oklch(85.1% 0.158 110.9);
Tailwind
colors: {
  custom: {
    50: '#e4e385',
    500: '#d3d74c',
    950: '#000000',
  },
}
SCSS
$custom: #d3d74c;
$custom-light: #e4e385;
$custom-dark: #000000;
JSON
{
  "hex": "#d3d74c",
  "rgb": {
    "r": 211,
    "g": 215,
    "b": 76
  },
  "hsl": {
    "h": 61.727,
    "s": 63.47,
    "l": 57.059
  },
  "oklch": {
    "l": 0.8508,
    "c": 0.15794,
    "h": 110.9
  },
  "luminance": 0.62972
}

Semantic roles & 50–950 ramp

primary
#D3D74C
secondary
#3A3790
accent
#41E646
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D3D74C

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

Preview Lab → · Contrast checker → · Palette generator →

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