#D1D74F#D1D74F

#D1D74F is a very light, vivid yellow. Relative luminance 0.627; OKLCH L 84.9% C 0.156 H 111.7°. Best body text is #000000 at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#D1D74F
RGBrgb(209, 215, 79)
HSLhsl(63, 63%, 58%)
HSVhsv(63, 63%, 84%)
CMYKcmyk(2.8%, 0%, 63.3%, 15.7%)
CIE-LABlab(83.30, -19.04, 64.01)
CIE-LCHlch(83.30, 66.78, 106.57°)
OKLaboklab(84.94% -0.0578 0.1451)
OKLCHoklch(84.94% 0.156 111.7)
XYZxyz(52.0077, 62.7219, 16.7625)
Luminance0.6272 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1D74F #554FD7
analogous
#D7994F #D1D74F #8DD74F
triadic
#D1D74F #4FD1D7 #D74FD1
tetradic
#D1D74F #4FD799 #554FD7 #D74F8D
square
#D1D74F #4FD799 #554FD7 #D74F8D
split-complementary
#D1D74F #4F8DD7 #994FD7
monochromatic
#878C20 #B7BE2B #D1D74F #DEE281 #EBEEB3

Accessibility & contrast

On white

1.55
#D1D74F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.54
#D1D74F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1D74F
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1D74F#FFFFFF#000000##000000
##D1D74F1.001.5513.5413.54
#FFFFFF1.551.0021.0021.00
#00000013.5421.001.001.00
##00000013.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CE3D
Deuteranopia (green-blind)
#E7D158
Tritanopia (blue-blind)
#DFCBBB
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d1d74f;
/* rgb */ color: rgb(209, 215, 79);
/* oklch */ color: oklch(84.9% 0.156 111.7);
Tailwind
colors: {
  custom: {
    50: '#e2e387',
    500: '#d1d74f',
    950: '#000000',
  },
}
SCSS
$custom: #d1d74f;
$custom-light: #e2e387;
$custom-dark: #000000;
JSON
{
  "hex": "#d1d74f",
  "rgb": {
    "r": 209,
    "g": 215,
    "b": 79
  },
  "hsl": {
    "h": 62.647,
    "s": 62.963,
    "l": 57.647
  },
  "oklch": {
    "l": 0.84944,
    "c": 0.15619,
    "h": 111.7
  },
  "luminance": 0.62721
}

Semantic roles & 50–950 ramp

primary
#D1D74F
secondary
#3C3992
accent
#42E649
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D1D74F

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

Preview Lab → · Contrast checker → · Palette generator →

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