#D7EA6C#D7EA6C

#D7EA6C is a very light, vivid yellow. Relative luminance 0.744; OKLCH L 89.8% C 0.152 H 116.7°. Best body text is #000000 at 15.88:1 contrast (WCAG AA passes).

Color values

HEX#D7EA6C
RGBrgb(215, 234, 108)
HSLhsl(69, 75%, 67%)
HSVhsv(69, 54%, 92%)
CMYKcmyk(8.1%, 0%, 53.8%, 8.2%)
CIE-LABlab(89.10, -23.73, 58.13)
CIE-LCHlch(89.10, 62.79, 112.20°)
OKLaboklab(89.78% -0.0684 0.136)
OKLCHoklch(89.78% 0.152 116.7)
XYZxyz(60.1549, 74.3761, 25.3715)
Luminance0.7438 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7EA6C #7F6CEA
analogous
#EABE6C #D7EA6C #98EA6C
triadic
#D7EA6C #6CD7EA #EA6CD7
tetradic
#D7EA6C #6CEABE #7F6CEA #EA6C98
square
#D7EA6C #6CEABE #7F6CEA #EA6C98
split-complementary
#D7EA6C #6C98EA #BE6CEA
monochromatic
#A7C01B #C8E236 #D7EA6C #E6F2A2 #F4F9D7

Accessibility & contrast

On white

1.32
#D7EA6C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.88
#D7EA6C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7EA6C
15.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7EA6C#FFFFFF#000000##000000
##D7EA6C1.001.3215.8815.88
#FFFFFF1.321.0021.0021.00
#00000015.8821.001.001.00
##00000015.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8DF5F
Deuteranopia (green-blind)
#F6E173
Tritanopia (blue-blind)
#E2DFCE
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #d7ea6c;
/* rgb */ color: rgb(215, 234, 108);
/* oklch */ color: oklch(89.8% 0.152 116.7);
Tailwind
colors: {
  custom: {
    50: '#e6f09a',
    500: '#d7ea6c',
    950: '#000000',
  },
}
SCSS
$custom: #d7ea6c;
$custom-light: #e6f09a;
$custom-dark: #000000;
JSON
{
  "hex": "#d7ea6c",
  "rgb": {
    "r": 215,
    "g": 234,
    "b": 108
  },
  "hsl": {
    "h": 69.048,
    "s": 75,
    "l": 67.059
  },
  "oklch": {
    "l": 0.89782,
    "c": 0.15225,
    "h": 116.7
  },
  "luminance": 0.74375
}

Semantic roles & 50–950 ramp

primary
#D7EA6C
secondary
#4F3BBF
accent
#0ED72D
background
#FEFFFC
surface
#FDFEF5
border
#D5D6CF
text
#16160E
muted
#84857F

Preview Lab

Preview with #D7EA6C

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

Preview Lab → · Contrast checker → · Palette generator →

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