#E2D862#E2D862

#E2D862 is a very light, vivid yellow. Relative luminance 0.662; OKLCH L 86.7% C 0.139 H 104.4°. Best body text is #000000 at 14.23:1 contrast (WCAG AA passes).

Color values

HEX#E2D862
RGBrgb(226, 216, 98)
HSLhsl(55, 69%, 64%)
HSVhsv(55, 57%, 89%)
CMYKcmyk(0%, 4.4%, 56.6%, 11.4%)
CIE-LABlab(85.08, -11.28, 58.24)
CIE-LCHlch(85.08, 59.33, 100.96°)
OKLaboklab(86.75% -0.0348 0.135)
OKLCHoklch(86.75% 0.139 104.4)
XYZxyz(58.1264, 66.1643, 21.2620)
Luminance0.6616 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D862 #626CE2
analogous
#E29862 #E2D862 #ACE262
triadic
#E2D862 #62E2D8 #D862E2
tetradic
#E2D862 #62E298 #626CE2 #E262AC
square
#E2D862 #62E298 #626CE2 #E262AC
split-complementary
#E2D862 #62ACE2 #9862E2
monochromatic
#AA9F1F #D8CB2E #E2D862 #ECE596 #F5F2C9

Accessibility & contrast

On white

1.48
#E2D862 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.23
#E2D862 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2D862
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2D862#FFFFFF#000000##000000
##E2D8621.001.4814.2314.23
#FFFFFF1.481.0021.0021.00
#00000014.2321.001.001.00
##00000014.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D156
Deuteranopia (green-blind)
#ECD768
Tritanopia (blue-blind)
#F1CBBE
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #e2d862;
/* rgb */ color: rgb(226, 216, 98);
/* oklch */ color: oklch(86.7% 0.139 104.4);
Tailwind
colors: {
  custom: {
    50: '#eee392',
    500: '#e2d862',
    950: '#000000',
  },
}
SCSS
$custom: #e2d862;
$custom-light: #eee392;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d862",
  "rgb": {
    "r": 226,
    "g": 216,
    "b": 98
  },
  "hsl": {
    "h": 55.313,
    "s": 68.817,
    "l": 63.529
  },
  "oklch": {
    "l": 0.86749,
    "c": 0.13939,
    "h": 104.4
  },
  "luminance": 0.66162
}

Semantic roles & 50–950 ramp

primary
#E2D862
secondary
#3C45AC
accent
#23D115
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E2D862

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

Preview Lab → · Contrast checker → · Palette generator →

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