#D5D374#D5D374

#D5D374 is a very light, moderate yellow. Relative luminance 0.620; OKLCH L 84.8% C 0.118 H 107.6°. Best body text is #000000 at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#D5D374
RGBrgb(213, 211, 116)
HSLhsl(59, 54%, 65%)
HSVhsv(59, 46%, 84%)
CMYKcmyk(0%, 0.9%, 45.5%, 16.5%)
CIE-LABlab(82.91, -12.51, 47.02)
CIE-LCHlch(82.91, 48.66, 104.90°)
OKLaboklab(84.83% -0.0357 0.1125)
OKLCHoklch(84.83% 0.118 107.6)
XYZxyz(53.8883, 61.9969, 25.6475)
Luminance0.6200 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D374 #7476D5
analogous
#D5A374 #D5D374 #A7D574
triadic
#D5D374 #74D5D3 #D374D5
tetradic
#D5D374 #74D5A3 #7476D5 #D574A7
square
#D5D374 #74D5A3 #7476D5 #D574A7
split-complementary
#D5D374 #74A7D5 #A374D5
monochromatic
#9F9C30 #C7C445 #D5D374 #E3E2A3 #F1F1D2

Accessibility & contrast

On white

1.57
#D5D374 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.40
#D5D374 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D374
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D374#FFFFFF#000000##000000
##D5D3741.001.5713.4013.40
#FFFFFF1.571.0021.0021.00
#00000013.4021.001.001.00
##00000013.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CC6C
Deuteranopia (green-blind)
#E3D078
Tritanopia (blue-blind)
#E1C8BD
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d5d374;
/* rgb */ color: rgb(213, 211, 116);
/* oklch */ color: oklch(84.8% 0.118 107.6);
Tailwind
colors: {
  custom: {
    50: '#e4e09e',
    500: '#d5d374',
    950: '#000000',
  },
}
SCSS
$custom: #d5d374;
$custom-light: #e4e09e;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d374",
  "rgb": {
    "r": 213,
    "g": 211,
    "b": 116
  },
  "hsl": {
    "h": 58.763,
    "s": 53.591,
    "l": 64.51
  },
  "oklch": {
    "l": 0.84833,
    "c": 0.11799,
    "h": 107.6
  },
  "luminance": 0.61996
}

Semantic roles & 50–950 ramp

primary
#D5D374
secondary
#4A4CA3
accent
#28C124
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D5D374

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

Preview Lab → · Contrast checker → · Palette generator →

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