#D7D670#D7D670

#D7D670 is a very light, vivid yellow. Relative luminance 0.637; OKLCH L 85.6% C 0.125 H 108.3°. Best body text is #000000 at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#D7D670
RGBrgb(215, 214, 112)
HSLhsl(59, 56%, 64%)
HSVhsv(59, 48%, 84%)
CMYKcmyk(0%, 0.5%, 47.9%, 15.7%)
CIE-LABlab(83.82, -13.59, 50.08)
CIE-LCHlch(83.82, 51.89, 105.18°)
OKLaboklab(85.58% -0.0392 0.1189)
OKLCHoklch(85.58% 0.125 108.3)
XYZxyz(54.9967, 63.7114, 24.7265)
Luminance0.6371 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D670 #7071D7
analogous
#D7A370 #D7D670 #A5D770
triadic
#D7D670 #70D7D6 #D670D7
tetradic
#D7D670 #70D7A3 #7071D7 #D770A5
square
#D7D670 #70D7A3 #7071D7 #D770A5
split-complementary
#D7D670 #70A5D7 #A370D7
monochromatic
#A09F2D #CAC840 #D7D670 #E4E4A0 #F2F1D0

Accessibility & contrast

On white

1.53
#D7D670 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.74
#D7D670 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D670
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D670#FFFFFF#000000##000000
##D7D6701.001.5313.7413.74
#FFFFFF1.531.0021.0021.00
#00000013.7421.001.001.00
##00000013.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CF67
Deuteranopia (green-blind)
#E6D375
Tritanopia (blue-blind)
#E4CBBE
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d7d670;
/* rgb */ color: rgb(215, 214, 112);
/* oklch */ color: oklch(85.6% 0.125 108.3);
Tailwind
colors: {
  custom: {
    50: '#e5e29b',
    500: '#d7d670',
    950: '#000000',
  },
}
SCSS
$custom: #d7d670;
$custom-light: #e5e29b;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d670",
  "rgb": {
    "r": 215,
    "g": 214,
    "b": 112
  },
  "hsl": {
    "h": 59.417,
    "s": 56.284,
    "l": 64.118
  },
  "oklch": {
    "l": 0.85575,
    "c": 0.12518,
    "h": 108.3
  },
  "luminance": 0.6371
}

Semantic roles & 50–950 ramp

primary
#D7D670
secondary
#4748A4
accent
#23C422
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D7D670

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

Preview Lab → · Contrast checker → · Palette generator →

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