#D7D167#D7D167

#D7D167 is a very light, vivid yellow. Relative luminance 0.610; OKLCH L 84.4% C 0.129 H 105.9°. Best body text is #000000 at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#D7D167
RGBrgb(215, 209, 103)
HSLhsl(57, 58%, 62%)
HSVhsv(57, 52%, 84%)
CMYKcmyk(0%, 2.8%, 52.1%, 15.7%)
CIE-LABlab(82.39, -11.86, 52.64)
CIE-LCHlch(82.39, 53.96, 102.70°)
OKLaboklab(84.41% -0.0352 0.1236)
OKLCHoklch(84.41% 0.129 105.9)
XYZxyz(53.2744, 61.0288, 21.8028)
Luminance0.6103 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D167 #676DD7
analogous
#D79967 #D7D167 #A5D767
triadic
#D7D167 #67D7D1 #D167D7
tetradic
#D7D167 #67D799 #676DD7 #D767A5
square
#D7D167 #67D799 #676DD7 #D767A5
split-complementary
#D7D167 #67A5D7 #9967D7
monochromatic
#9B9529 #CAC237 #D7D167 #E4E097 #F0EEC8

Accessibility & contrast

On white

1.59
#D7D167 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.21
#D7D167 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D167
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D167#FFFFFF#000000##000000
##D7D1671.001.5913.2113.21
#FFFFFF1.591.0021.0021.00
#00000013.2121.001.001.00
##00000013.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CA5D
Deuteranopia (green-blind)
#E3CF6C
Tritanopia (blue-blind)
#E5C5B9
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d7d167;
/* rgb */ color: rgb(215, 209, 103);
/* oklch */ color: oklch(84.4% 0.129 105.9);
Tailwind
colors: {
  custom: {
    50: '#e5de95',
    500: '#d7d167',
    950: '#000000',
  },
}
SCSS
$custom: #d7d167;
$custom-light: #e5de95;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d167",
  "rgb": {
    "r": 215,
    "g": 209,
    "b": 103
  },
  "hsl": {
    "h": 56.786,
    "s": 58.333,
    "l": 62.353
  },
  "oklch": {
    "l": 0.84412,
    "c": 0.12856,
    "h": 105.9
  },
  "luminance": 0.61027
}

Semantic roles & 50–950 ramp

primary
#D7D167
secondary
#43489F
accent
#28C620
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150D
muted
#84847F

Preview Lab

Preview with #D7D167

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

Preview Lab → · Contrast checker → · Palette generator →

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