#D1D74C#D1D74C

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

Color values

HEX#D1D74C
RGBrgb(209, 215, 76)
HSLhsl(63, 63%, 57%)
HSVhsv(63, 65%, 84%)
CMYKcmyk(2.8%, 0%, 64.7%, 15.7%)
CIE-LABlab(83.27, -19.22, 65.18)
CIE-LCHlch(83.27, 67.96, 106.43°)
OKLaboklab(84.92% -0.0586 0.1472)
OKLCHoklch(84.92% 0.158 111.7)
XYZxyz(51.9010, 62.6792, 16.2003)
Luminance0.6268 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1D74C #524CD7
analogous
#D7984C #D1D74C #8CD74C
triadic
#D1D74C #4CD1D7 #D74CD1
tetradic
#D1D74C #4CD798 #524CD7 #D74C8C
square
#D1D74C #4CD798 #524CD7 #D74C8C
split-complementary
#D1D74C #4C8CD7 #984CD7
monochromatic
#858A1F #B6BC2A #D1D74C #DEE27E #EBEDB0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D1D74C#FFFFFF#000000##000000
##D1D74C1.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)
#E7CE39
Deuteranopia (green-blind)
#E7D155
Tritanopia (blue-blind)
#DFCABB
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d1d74c;
/* rgb */ color: rgb(209, 215, 76);
/* oklch */ color: oklch(84.9% 0.158 111.7);
Tailwind
colors: {
  custom: {
    50: '#e2e385',
    500: '#d1d74c',
    950: '#000000',
  },
}
SCSS
$custom: #d1d74c;
$custom-light: #e2e385;
$custom-dark: #000000;
JSON
{
  "hex": "#d1d74c",
  "rgb": {
    "r": 209,
    "g": 215,
    "b": 76
  },
  "hsl": {
    "h": 62.59,
    "s": 63.47,
    "l": 57.059
  },
  "oklch": {
    "l": 0.84918,
    "c": 0.15838,
    "h": 111.7
  },
  "luminance": 0.62678
}

Semantic roles & 50–950 ramp

primary
#D1D74C
secondary
#3B3790
accent
#41E648
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D1D74C

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

Preview Lab → · Contrast checker → · Palette generator →

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