#D2D374#D2D374

#D2D374 is a very light, moderate yellow. Relative luminance 0.616; OKLCH L 84.6% C 0.118 H 109.2°. Best body text is #000000 at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#D2D374
RGBrgb(210, 211, 116)
HSLhsl(61, 52%, 64%)
HSVhsv(61, 45%, 83%)
CMYKcmyk(0.5%, 0%, 45%, 17.3%)
CIE-LABlab(82.67, -13.71, 46.68)
CIE-LCHlch(82.67, 48.65, 106.37°)
OKLaboklab(84.59% -0.0389 0.1118)
OKLCHoklch(84.59% 0.118 109.2)
XYZxyz(53.0260, 61.5523, 25.6071)
Luminance0.6155 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D374 #7574D3
analogous
#D3A574 #D2D374 #A3D374
triadic
#D2D374 #74D2D3 #D374D2
tetradic
#D2D374 #74D3A5 #7574D3 #D374A3
square
#D2D374 #74D3A5 #7574D3 #D374A3
split-complementary
#D2D374 #74A3D3 #A574D3
monochromatic
#9A9B31 #C3C446 #D2D374 #E1E2A2 #F0F0D1

Accessibility & contrast

On white

1.58
#D2D374 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.31
#D2D374 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D374
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D374#FFFFFF#000000##000000
##D2D3741.001.5813.3113.31
#FFFFFF1.581.0021.0021.00
#00000013.3121.001.001.00
##00000013.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CC6C
Deuteranopia (green-blind)
#E2CF79
Tritanopia (blue-blind)
#DEC9BD
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d2d374;
/* rgb */ color: rgb(210, 211, 116);
/* oklch */ color: oklch(84.6% 0.118 109.2);
Tailwind
colors: {
  custom: {
    50: '#e1e09e',
    500: '#d2d374',
    950: '#000000',
  },
}
SCSS
$custom: #d2d374;
$custom-light: #e1e09e;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d374",
  "rgb": {
    "r": 210,
    "g": 211,
    "b": 116
  },
  "hsl": {
    "h": 60.632,
    "s": 51.913,
    "l": 64.118
  },
  "oklch": {
    "l": 0.84586,
    "c": 0.11834,
    "h": 109.2
  },
  "luminance": 0.61551
}

Semantic roles & 50–950 ramp

primary
#D2D374
secondary
#4C4BA0
accent
#26BF28
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #D2D374

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

Preview Lab → · Contrast checker → · Palette generator →

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