#D3D74F#D3D74F

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

Color values

HEX#D3D74F
RGBrgb(211, 215, 79)
HSLhsl(62, 63%, 58%)
HSVhsv(62, 63%, 84%)
CMYKcmyk(1.9%, 0%, 63.3%, 15.7%)
CIE-LABlab(83.45, -18.22, 64.22)
CIE-LCHlch(83.45, 66.75, 105.84°)
OKLaboklab(85.11% -0.0556 0.1455)
OKLCHoklch(85.11% 0.156 110.9)
XYZxyz(52.5773, 63.0156, 16.7892)
Luminance0.6301 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3D74F #534FD7
analogous
#D7974F #D3D74F #8FD74F
triadic
#D3D74F #4FD3D7 #D74FD3
tetradic
#D3D74F #4FD797 #534FD7 #D74F8F
square
#D3D74F #4FD797 #534FD7 #D74F8F
split-complementary
#D3D74F #4F8FD7 #974FD7
monochromatic
#898C20 #B9BE2B #D3D74F #DFE281 #ECEEB3

Accessibility & contrast

On white

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

On black

13.60
#D3D74F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3D74F
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3D74F#FFFFFF#000000##000000
##D3D74F1.001.5413.6013.60
#FFFFFF1.541.0021.0021.00
#00000013.6021.001.001.00
##00000013.6021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d3d74f;
/* rgb */ color: rgb(211, 215, 79);
/* oklch */ color: oklch(85.1% 0.156 110.9);
Tailwind
colors: {
  custom: {
    50: '#e4e387',
    500: '#d3d74f',
    950: '#000000',
  },
}
SCSS
$custom: #d3d74f;
$custom-light: #e4e387;
$custom-dark: #000000;
JSON
{
  "hex": "#d3d74f",
  "rgb": {
    "r": 211,
    "g": 215,
    "b": 79
  },
  "hsl": {
    "h": 61.765,
    "s": 62.963,
    "l": 57.647
  },
  "oklch": {
    "l": 0.85105,
    "c": 0.15576,
    "h": 110.9
  },
  "luminance": 0.63014
}

Semantic roles & 50–950 ramp

primary
#D3D74F
secondary
#3B3992
accent
#42E647
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D3D74F

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

Preview Lab → · Contrast checker → · Palette generator →

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