#D6DA40#D6DA40

#D6DA40 is a very light, vivid yellow. Relative luminance 0.648; OKLCH L 85.9% C 0.168 H 111.0°. Best body text is #000000 at 13.96:1 contrast (WCAG AA passes).

Color values

HEX#D6DA40
RGBrgb(214, 218, 64)
HSLhsl(62, 68%, 55%)
HSVhsv(62, 71%, 85%)
CMYKcmyk(1.8%, 0%, 70.6%, 14.5%)
CIE-LABlab(84.39, -19.27, 70.88)
CIE-LCHlch(84.39, 73.45, 105.21°)
OKLaboklab(85.88% -0.0602 0.1571)
OKLCHoklch(85.88% 0.168 111)
XYZxyz(53.7302, 64.8105, 14.5288)
Luminance0.6481 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6DA40 #4440DA
analogous
#DA9140 #D6DA40 #89DA40
triadic
#D6DA40 #40D6DA #DA40D6
tetradic
#D6DA40 #40DA91 #4440DA #DA4089
square
#D6DA40 #40DA91 #4440DA #DA4089
split-complementary
#D6DA40 #4089DA #9140DA
monochromatic
#83861A #B5B924 #D6DA40 #E1E473 #ECEEA7

Accessibility & contrast

On white

1.50
#D6DA40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.96
#D6DA40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6DA40
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6DA40#FFFFFF#000000##000000
##D6DA401.001.5013.9613.96
#FFFFFF1.501.0021.0021.00
#00000013.9621.001.001.00
##00000013.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD024
Deuteranopia (green-blind)
#ECD54C
Tritanopia (blue-blind)
#E5CDBC
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #d6da40;
/* rgb */ color: rgb(214, 218, 64);
/* oklch */ color: oklch(85.9% 0.168 111.0);
Tailwind
colors: {
  custom: {
    50: '#e6e57f',
    500: '#d6da40',
    950: '#000000',
  },
}
SCSS
$custom: #d6da40;
$custom-light: #e6e57f;
$custom-dark: #000000;
JSON
{
  "hex": "#d6da40",
  "rgb": {
    "r": 214,
    "g": 218,
    "b": 64
  },
  "hsl": {
    "h": 61.558,
    "s": 67.544,
    "l": 55.294
  },
  "oklch": {
    "l": 0.85878,
    "c": 0.16821,
    "h": 111
  },
  "luminance": 0.64809
}

Semantic roles & 50–950 ramp

primary
#D6DA40
secondary
#34328C
accent
#3DEA42
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D6DA40

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

Preview Lab → · Contrast checker → · Palette generator →

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