#D6D372#D6D372

#D6D372 is a very light, moderate yellow. Relative luminance 0.621; OKLCH L 84.9% C 0.120 H 107.1°. Best body text is #000000 at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#D6D372
RGBrgb(214, 211, 114)
HSLhsl(58, 55%, 64%)
HSVhsv(58, 47%, 84%)
CMYKcmyk(0%, 1.4%, 46.7%, 16.1%)
CIE-LABlab(82.97, -12.30, 48.07)
CIE-LCHlch(82.97, 49.62, 104.35°)
OKLaboklab(84.89% -0.0353 0.1146)
OKLCHoklch(84.89% 0.12 107.1)
XYZxyz(54.0643, 62.1009, 25.0550)
Luminance0.6210 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6D372 #7275D6
analogous
#D6A172 #D6D372 #A7D672
triadic
#D6D372 #72D6D3 #D372D6
tetradic
#D6D372 #72D6A1 #7275D6 #D672A7
square
#D6D372 #72D6A1 #7275D6 #D672A7
split-complementary
#D6D372 #72A7D6 #A172D6
monochromatic
#9F9C2E #C8C443 #D6D372 #E4E2A1 #F2F1D1

Accessibility & contrast

On white

1.56
#D6D372 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.42
#D6D372 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6D372
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6D372#FFFFFF#000000##000000
##D6D3721.001.5613.4213.42
#FFFFFF1.561.0021.0021.00
#00000013.4221.001.001.00
##00000013.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CC6A
Deuteranopia (green-blind)
#E3D177
Tritanopia (blue-blind)
#E2C8BC
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d6d372;
/* rgb */ color: rgb(214, 211, 114);
/* oklch */ color: oklch(84.9% 0.120 107.1);
Tailwind
colors: {
  custom: {
    50: '#e4e09c',
    500: '#d6d372',
    950: '#000000',
  },
}
SCSS
$custom: #d6d372;
$custom-light: #e4e09c;
$custom-dark: #000000;
JSON
{
  "hex": "#d6d372",
  "rgb": {
    "r": 214,
    "g": 211,
    "b": 114
  },
  "hsl": {
    "h": 58.2,
    "s": 54.945,
    "l": 64.314
  },
  "oklch": {
    "l": 0.84888,
    "c": 0.11996,
    "h": 107.1
  },
  "luminance": 0.621
}

Semantic roles & 50–950 ramp

primary
#D6D372
secondary
#494BA4
accent
#28C223
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D6D372

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

Preview Lab → · Contrast checker → · Palette generator →

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