#D2E146#D2E146

#D2E146 is a very light, vivid yellow. Relative luminance 0.680; OKLCH L 87.1% C 0.173 H 114.8°. Best body text is #000000 at 14.60:1 contrast (WCAG AA passes).

Color values

HEX#D2E146
RGBrgb(210, 225, 70)
HSLhsl(66, 72%, 58%)
HSVhsv(66, 69%, 88%)
CMYKcmyk(6.7%, 0%, 68.9%, 11.8%)
CIE-LABlab(86.00, -24.00, 70.24)
CIE-LCHlch(86.00, 74.23, 108.87°)
OKLaboklab(87.11% -0.0726 0.1568)
OKLCHoklch(87.11% 0.173 114.8)
XYZxyz(54.6105, 67.9952, 16.0407)
Luminance0.6799 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2E146 #5546E1
analogous
#E1A246 #D2E146 #85E146
triadic
#D2E146 #46D2E1 #E146D2
tetradic
#D2E146 #46E1A2 #5546E1 #E14685
square
#D2E146 #46E1A2 #5546E1 #E14685
split-complementary
#D2E146 #4685E1 #A246E1
monochromatic
#889518 #B9C921 #D2E146 #DFEA7B #ECF2AF

Accessibility & contrast

On white

1.44
#D2E146 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.60
#D2E146 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2E146
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2E146#FFFFFF#000000##000000
##D2E1461.001.4414.6014.60
#FFFFFF1.441.0021.0021.00
#00000014.6021.001.001.00
##00000014.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D62C
Deuteranopia (green-blind)
#F0D852
Tritanopia (blue-blind)
#DFD4C2
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #d2e146;
/* rgb */ color: rgb(210, 225, 70);
/* oklch */ color: oklch(87.1% 0.173 114.8);
Tailwind
colors: {
  custom: {
    50: '#e3ea83',
    500: '#d2e146',
    950: '#000000',
  },
}
SCSS
$custom: #d2e146;
$custom-light: #e3ea83;
$custom-dark: #000000;
JSON
{
  "hex": "#d2e146",
  "rgb": {
    "r": 210,
    "g": 225,
    "b": 70
  },
  "hsl": {
    "h": 65.806,
    "s": 72.093,
    "l": 57.843
  },
  "oklch": {
    "l": 0.8711,
    "c": 0.17282,
    "h": 114.8
  },
  "luminance": 0.67994
}

Semantic roles & 50–950 ramp

primary
#D2E146
secondary
#3C3299
accent
#39EF4B
background
#FEFEFB
surface
#FDFDF2
border
#D5D5CC
text
#16160B
muted
#84847E

Preview Lab

Preview with #D2E146

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

Preview Lab → · Contrast checker → · Palette generator →

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