#D6D938#D6D938

#D6D938 is a very light, vivid yellow. Relative luminance 0.642; OKLCH L 85.6% C 0.172 H 110.6°. Best body text is #000000 at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#D6D938
RGBrgb(214, 217, 56)
HSLhsl(61, 68%, 54%)
HSVhsv(61, 74%, 85%)
CMYKcmyk(1.4%, 0%, 74.2%, 14.9%)
CIE-LABlab(84.07, -19.14, 73.24)
CIE-LCHlch(84.07, 75.70, 104.65°)
OKLaboklab(85.62% -0.0605 0.1607)
OKLCHoklch(85.62% 0.172 110.6)
XYZxyz(53.2601, 64.2089, 13.3286)
Luminance0.6421 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6D938 #3B38D9
analogous
#D98B38 #D6D938 #85D938
triadic
#D6D938 #38D6D9 #D938D6
tetradic
#D6D938 #38D98B #3B38D9 #D93885
square
#D6D938 #38D98B #3B38D9 #D93885
split-complementary
#D6D938 #3885D9 #8B38D9
monochromatic
#7D7E18 #AFB222 #D6D938 #E1E36B #EBED9F

Accessibility & contrast

On white

1.52
#D6D938 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.84
#D6D938 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6D938
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6D938#FFFFFF#000000##000000
##D6D9381.001.5213.8413.84
#FFFFFF1.521.0021.0021.00
#00000013.8421.001.001.00
##00000013.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EACF11
Deuteranopia (green-blind)
#ECD445
Tritanopia (blue-blind)
#E5CBBB
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d6d938;
/* rgb */ color: rgb(214, 217, 56);
/* oklch */ color: oklch(85.6% 0.172 110.6);
Tailwind
colors: {
  custom: {
    50: '#e7e47b',
    500: '#d6d938',
    950: '#000000',
  },
}
SCSS
$custom: #d6d938;
$custom-light: #e7e47b;
$custom-dark: #000000;
JSON
{
  "hex": "#d6d938",
  "rgb": {
    "r": 214,
    "g": 217,
    "b": 56
  },
  "hsl": {
    "h": 61.118,
    "s": 67.932,
    "l": 53.529
  },
  "oklch": {
    "l": 0.85615,
    "c": 0.1717,
    "h": 110.6
  },
  "luminance": 0.64207
}

Semantic roles & 50–950 ramp

primary
#D6D938
secondary
#313086
accent
#3DEB40
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150A
muted
#85847D

Preview Lab

Preview with #D6D938

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

Preview Lab → · Contrast checker → · Palette generator →

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