#D2E072#D2E072

#D2E072 is a very light, vivid yellow. Relative luminance 0.682; OKLCH L 87.3% C 0.136 H 115.3°. Best body text is #000000 at 14.65:1 contrast (WCAG AA passes).

Color values

HEX#D2E072
RGBrgb(210, 224, 114)
HSLhsl(68, 64%, 66%)
HSVhsv(68, 49%, 88%)
CMYKcmyk(6.3%, 0%, 49.1%, 12.2%)
CIE-LABlab(86.12, -20.33, 51.80)
CIE-LCHlch(86.12, 55.64, 111.43°)
OKLaboklab(87.33% -0.058 0.1229)
OKLCHoklch(87.33% 0.136 115.3)
XYZxyz(56.2721, 68.2286, 26.1214)
Luminance0.6823 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2E072 #8072E0
analogous
#E0B772 #D2E072 #9BE072
triadic
#D2E072 #72D2E0 #E072D2
tetradic
#D2E072 #72E0B7 #8072E0 #E0729B
square
#D2E072 #72E0B7 #8072E0 #E0729B
split-complementary
#D2E072 #729BE0 #B772E0
monochromatic
#9FB127 #C2D540 #D2E072 #E2EBA4 #F2F6D6

Accessibility & contrast

On white

1.43
#D2E072 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.65
#D2E072 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2E072
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2E072#FFFFFF#000000##000000
##D2E0721.001.4314.6514.65
#FFFFFF1.431.0021.0021.00
#00000014.6521.001.001.00
##00000014.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD768
Deuteranopia (green-blind)
#ECD878
Tritanopia (blue-blind)
#DDD5C7
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #d2e072;
/* rgb */ color: rgb(210, 224, 114);
/* oklch */ color: oklch(87.3% 0.136 115.3);
Tailwind
colors: {
  custom: {
    50: '#e2e99d',
    500: '#d2e072',
    950: '#000000',
  },
}
SCSS
$custom: #d2e072;
$custom-light: #e2e99d;
$custom-dark: #000000;
JSON
{
  "hex": "#d2e072",
  "rgb": {
    "r": 210,
    "g": 224,
    "b": 114
  },
  "hsl": {
    "h": 67.636,
    "s": 63.953,
    "l": 66.275
  },
  "oklch": {
    "l": 0.87328,
    "c": 0.13586,
    "h": 115.3
  },
  "luminance": 0.68228
}

Semantic roles & 50–950 ramp

primary
#D2E072
secondary
#5244B2
accent
#1ACC30
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#16160E
muted
#84847F

Preview Lab

Preview with #D2E072

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

Preview Lab → · Contrast checker → · Palette generator →

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