#E2D697#E2D697

#E2D697 is a very light, moderate yellow. Relative luminance 0.665; OKLCH L 87.1% C 0.082 H 98.7°. Best body text is #000000 at 14.30:1 contrast (WCAG AA passes).

Color values

HEX#E2D697
RGBrgb(226, 214, 151)
HSLhsl(50, 56%, 74%)
HSVhsv(50, 33%, 89%)
CMYKcmyk(0%, 5.3%, 33.2%, 11.4%)
CIE-LABlab(85.25, -5.14, 32.66)
CIE-LCHlch(85.25, 33.06, 98.94°)
OKLaboklab(87.11% -0.0124 0.0813)
OKLCHoklch(87.11% 0.082 98.7)
XYZxyz(60.9973, 66.4978, 38.8943)
Luminance0.6650 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D697 #97A3E2
analogous
#E2B197 #E2D697 #C9E297
triadic
#E2D697 #97E2D6 #D697E2
tetradic
#E2D697 #97E2B1 #97A3E2 #E297C9
square
#E2D697 #97E2B1 #97A3E2 #E297C9
split-complementary
#E2D697 #97C9E2 #B197E2
monochromatic
#C7B038 #D5C367 #E2D697 #EFE9C7 #F8F6E7

Accessibility & contrast

On white

1.47
#E2D697 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.30
#E2D697 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2D697
14.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2D697#FFFFFF#000000##000000
##E2D6971.001.4714.3014.30
#FFFFFF1.471.0021.0021.00
#00000014.3021.001.001.00
##00000014.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2D293
Deuteranopia (green-blind)
#E6D799
Tritanopia (blue-blind)
#EDCDC6
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #e2d697;
/* rgb */ color: rgb(226, 214, 151);
/* oklch */ color: oklch(87.1% 0.082 98.7);
Tailwind
colors: {
  custom: {
    50: '#ece2b6',
    500: '#e2d697',
    950: '#000000',
  },
}
SCSS
$custom: #e2d697;
$custom-light: #ece2b6;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d697",
  "rgb": {
    "r": 226,
    "g": 214,
    "b": 151
  },
  "hsl": {
    "h": 50.4,
    "s": 56.391,
    "l": 73.922
  },
  "oklch": {
    "l": 0.87106,
    "c": 0.08223,
    "h": 98.7
  },
  "luminance": 0.66496
}

Semantic roles & 50–950 ramp

primary
#E2D697
secondary
#6270BB
accent
#3CC422
background
#FFFEFD
surface
#FEFCF8
border
#D6D5D1
text
#161511
muted
#858481

Preview Lab

Preview with #E2D697

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

Preview Lab → · Contrast checker → · Palette generator →

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