Medlar color: hex code #D5D7BF
Medlar has the hex code #D5D7BF. It is a light, grayish yellow.
In the RGB color model it is made of 83.5% red, 84.3% green and 74.9% blue (213, 215, 191).
Its hue angle is 65°, with 23% saturation and 80% lightness. For print, the CMYK equivalent is 1% cyan, 0% magenta, 11% yellow and 16% black.
Black text is the more readable choice on this background (contrast 14.3:1).
Medlar (#D5D7BF) color codes
| HEX | #D5D7BF | |
|---|---|---|
| RGB | rgb(213, 215, 191) | |
| RGB percent | rgb(83.5%, 84.3%, 74.9%) | |
| HSL | hsl(65, 23%, 80%) | |
| HSV / HSB | hsv(65, 11%, 84%) | |
| CMYK | cmyk(1%, 0%, 11%, 16%) | |
| CIE LAB | lab(85.26, -4.82, 11.62) | |
| CIE LCH | lch(85.26, 12.58, 112.52) | |
| CIE XYZ | xyz(61.144, 66.509, 58.896) | |
| Decimal | 14014399 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with Medlar, based on their position on the color wheel.
Complementary
The color opposite on the color wheel (180°). Strongest contrast.
Analogous
Neighbors 30° either side. Calm, natural combinations.
Split complementary
The two colors next to the complement (150° and 210°).
Triadic
Three colors evenly spaced, 120° apart.
Tetradic (square)
Four colors 90° apart.
Shades, tints and tones
Shades (darker, mixed with black)
Tints (lighter, mixed with white)
Tones (mixed with gray)
Contrast and accessibility
| Text on #D5D7BF | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.3:1 | Pass | Pass | Pass |
| Sample text | 1.47:1 | Fail | Fail | Fail |
| #D5D7BF as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.47:1 | Fail | Fail | Fail |
| Sample text | 14.3:1 | Pass | Pass | Pass |
WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.
Color blindness simulation
How #D5D7BF looks to people with the most common types of color vision deficiency.
#dbd5beProtanopia
no red cones#dbd5c0Deuteranopia
no green cones#d8d4d0Tritanopia
no blue cones#d5d5d5Achromatopsia
no color vision
CSS examples
.background { background-color: #d5d7bf; }
.text { color: #d5d7bf; }
.border { border: 2px solid #d5d7bf; }
.transparent { background-color: rgb(213 215 191 / 50%); }
.gradient { background: linear-gradient(to right, #d5d7bf, #c9d7bf); }
Similar colors
#daddc3Planet Earth#dedfc9Sip of Mint#dbe0c4Airy Fields#d9ddcbSmell of Garlic#dee2c7Marble Grape#cfd1b2Bitter Melon#dce0cdGentle Frost#d1dac0Zen Garden
Closest common color name: Oatmeal.
See #D5D7BF on its hex code page
Questions
- What color is #D5D7BF?
- #D5D7BF is a light, grayish yellow known as Medlar. It belongs to the yellow family of colors.
- What is the RGB value of Medlar?
- The RGB value is 213, 215, 191: 213 red, 215 green and 191 blue on a 0 to 255 scale.
- What is the complementary color of Medlar?
- The complementary color is #C1BFD7, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #D5D7BF?
- Black text. Black text has a contrast ratio of 14.3:1 and white text 1.47:1. WCAG asks for at least 4.5:1 for normal text.