#D7D640#D7D640

#D7D640 is a very light, vivid yellow. Relative luminance 0.629; OKLCH L 85.1% C 0.164 H 109.1°. Best body text is #000000 at 13.58:1 contrast (WCAG AA passes).

Color values

HEX#D7D640
RGBrgb(215, 214, 64)
HSLhsl(60, 65%, 55%)
HSVhsv(60, 70%, 84%)
CMYKcmyk(0%, 0.5%, 70.2%, 15.7%)
CIE-LABlab(83.40, -16.89, 69.95)
CIE-LCHlch(83.40, 71.96, 103.58°)
OKLaboklab(85.11% -0.0535 0.1551)
OKLCHoklch(85.11% 0.164 109.1)
XYZxyz(52.9982, 62.9120, 14.2010)
Luminance0.6291 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D640 #4041D7
analogous
#D78B40 #D7D640 #8CD740
triadic
#D7D640 #40D7D6 #D640D7
tetradic
#D7D640 #40D78B #4041D7 #D7408C
square
#D7D640 #40D78B #4041D7 #D7408C
split-complementary
#D7D640 #408CD7 #8B40D7
monochromatic
#81811B #B4B326 #D7D640 #E2E173 #ECECA5

Accessibility & contrast

On white

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

On black

13.58
#D7D640 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D640
13.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D640#FFFFFF#000000##000000
##D7D6401.001.5513.5813.58
#FFFFFF1.551.0021.0021.00
#00000013.5821.001.001.00
##00000013.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CD26
Deuteranopia (green-blind)
#E9D24B
Tritanopia (blue-blind)
#E6C8B9
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d7d640;
/* rgb */ color: rgb(215, 214, 64);
/* oklch */ color: oklch(85.1% 0.164 109.1);
Tailwind
colors: {
  custom: {
    50: '#e7e27e',
    500: '#d7d640',
    950: '#000000',
  },
}
SCSS
$custom: #d7d640;
$custom-light: #e7e27e;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d640",
  "rgb": {
    "r": 215,
    "g": 214,
    "b": 64
  },
  "hsl": {
    "h": 59.603,
    "s": 65.368,
    "l": 54.706
  },
  "oklch": {
    "l": 0.85106,
    "c": 0.16407,
    "h": 109.1
  },
  "luminance": 0.6291
}

Semantic roles & 50–950 ramp

primary
#D7D640
secondary
#333388
accent
#41E83F
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D7D640

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

Preview Lab → · Contrast checker → · Palette generator →

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