#D7E46B#D7E46B

#D7E46B is a very light, vivid yellow. Relative luminance 0.710; OKLCH L 88.5% C 0.146 H 114.5°. Best body text is #000000 at 15.20:1 contrast (WCAG AA passes).

Color values

HEX#D7E46B
RGBrgb(215, 228, 107)
HSLhsl(66, 69%, 66%)
HSVhsv(66, 53%, 89%)
CMYKcmyk(5.7%, 0%, 53.1%, 10.6%)
CIE-LABlab(87.48, -20.92, 56.72)
CIE-LCHlch(87.48, 60.45, 110.25°)
OKLaboklab(88.48% -0.0606 0.1329)
OKLCHoklch(88.48% 0.146 114.5)
XYZxyz(58.4226, 70.9963, 24.5331)
Luminance0.7099 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7E46B #786BE4
analogous
#E4B46B #D7E46B #9AE46B
triadic
#D7E46B #6BD7E4 #E46BD7
tetradic
#D7E46B #6BE4B4 #786BE4 #E46B9A
square
#D7E46B #6BE4B4 #786BE4 #E46B9A
split-complementary
#D7E46B #6B9AE4 #B46BE4
monochromatic
#A4B421 #C9DB37 #D7E46B #E5ED9F #F3F7D3

Accessibility & contrast

On white

1.38
#D7E46B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.20
#D7E46B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7E46B
15.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7E46B#FFFFFF#000000##000000
##D7E46B1.001.3815.2015.20
#FFFFFF1.381.0021.0021.00
#00000015.2021.001.001.00
##00000015.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DA5F
Deuteranopia (green-blind)
#F2DC72
Tritanopia (blue-blind)
#E3D9C9
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #d7e46b;
/* rgb */ color: rgb(215, 228, 107);
/* oklch */ color: oklch(88.5% 0.146 114.5);
Tailwind
colors: {
  custom: {
    50: '#e5ec99',
    500: '#d7e46b',
    950: '#000000',
  },
}
SCSS
$custom: #d7e46b;
$custom-light: #e5ec99;
$custom-dark: #000000;
JSON
{
  "hex": "#d7e46b",
  "rgb": {
    "r": 215,
    "g": 228,
    "b": 107
  },
  "hsl": {
    "h": 66.446,
    "s": 69.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.88484,
    "c": 0.14602,
    "h": 114.5
  },
  "luminance": 0.70995
}

Semantic roles & 50–950 ramp

primary
#D7E46B
secondary
#4B3FB4
accent
#14D129
background
#FEFEFC
surface
#FDFDF5
border
#D5D5CF
text
#16160E
muted
#84847F

Preview Lab

Preview with #D7E46B

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

Preview Lab → · Contrast checker → · Palette generator →

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