#D7DF40#D7DF40

#D7DF40 is a very light, vivid yellow. Relative luminance 0.676; OKLCH L 87.0% C 0.173 H 112.4°. Best body text is #000000 at 14.52:1 contrast (WCAG AA passes).

Color values

HEX#D7DF40
RGBrgb(215, 223, 64)
HSLhsl(63, 71%, 56%)
HSVhsv(63, 71%, 87%)
CMYKcmyk(3.6%, 0%, 71.3%, 12.5%)
CIE-LABlab(85.80, -21.29, 72.27)
CIE-LCHlch(85.80, 75.34, 106.42°)
OKLaboklab(87.03% -0.0659 0.16)
OKLCHoklch(87.03% 0.173 112.4)
XYZxyz(55.3392, 67.5939, 14.9813)
Luminance0.6759 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7DF40 #4840DF
analogous
#DF9840 #D7DF40 #88DF40
triadic
#D7DF40 #40D7DF #DF40D7
tetradic
#D7DF40 #40DF98 #4840DF #DF4088
square
#D7DF40 #40DF98 #4840DF #DF4088
split-complementary
#D7DF40 #4088DF #9840DF
monochromatic
#878D18 #B9C120 #D7DF40 #E2E874 #EDF1A9

Accessibility & contrast

On white

1.45
#D7DF40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.52
#D7DF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7DF40
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7DF40#FFFFFF#000000##000000
##D7DF401.001.4514.5214.52
#FFFFFF1.451.0021.0021.00
#00000014.5221.001.001.00
##00000014.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D522
Deuteranopia (green-blind)
#F0D84D
Tritanopia (blue-blind)
#E5D2C0
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #d7df40;
/* rgb */ color: rgb(215, 223, 64);
/* oklch */ color: oklch(87.0% 0.173 112.4);
Tailwind
colors: {
  custom: {
    50: '#e7e87f',
    500: '#d7df40',
    950: '#000000',
  },
}
SCSS
$custom: #d7df40;
$custom-light: #e7e87f;
$custom-dark: #000000;
JSON
{
  "hex": "#d7df40",
  "rgb": {
    "r": 215,
    "g": 223,
    "b": 64
  },
  "hsl": {
    "h": 63.019,
    "s": 71.3,
    "l": 56.275
  },
  "oklch": {
    "l": 0.8703,
    "c": 0.17301,
    "h": 112.4
  },
  "luminance": 0.67593
}

Semantic roles & 50–950 ramp

primary
#D7DF40
secondary
#363192
accent
#3AEE43
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16160B
muted
#85847E

Preview Lab

Preview with #D7DF40

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

Preview Lab → · Contrast checker → · Palette generator →

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