#E2D671#E2D671

#E2D671 is a very light, vivid yellow. Relative luminance 0.655; OKLCH L 86.5% C 0.124 H 102.5°. Best body text is #000000 at 14.09:1 contrast (WCAG AA passes).

Color values

HEX#E2D671
RGBrgb(226, 214, 113)
HSLhsl(54, 66%, 66%)
HSVhsv(54, 50%, 89%)
CMYKcmyk(0%, 5.3%, 50%, 11.4%)
CIE-LABlab(84.72, -9.08, 50.89)
CIE-LCHlch(84.72, 51.70, 100.11°)
OKLaboklab(86.51% -0.0268 0.1206)
OKLCHoklch(86.51% 0.124 102.5)
XYZxyz(58.3929, 65.4561, 25.1780)
Luminance0.6545 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D671 #717DE2
analogous
#E29E71 #E2D671 #B6E271
triadic
#E2D671 #71E2D6 #D671E2
tetradic
#E2D671 #71E29E #717DE2 #E271B6
square
#E2D671 #71E29E #717DE2 #E271B6
split-complementary
#E2D671 #71B6E2 #9E71E2
monochromatic
#B4A525 #D8C73E #E2D671 #ECE5A4 #F7F3D7

Accessibility & contrast

On white

1.49
#E2D671 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.09
#E2D671 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2D671
14.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2D671#FFFFFF#000000##000000
##E2D6711.001.4914.0914.09
#FFFFFF1.491.0021.0021.00
#00000014.0921.001.001.00
##00000014.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D068
Deuteranopia (green-blind)
#EAD676
Tritanopia (blue-blind)
#F0CABF
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #e2d671;
/* rgb */ color: rgb(226, 214, 113);
/* oklch */ color: oklch(86.5% 0.124 102.5);
Tailwind
colors: {
  custom: {
    50: '#ede29c',
    500: '#e2d671',
    950: '#000000',
  },
}
SCSS
$custom: #e2d671;
$custom-light: #ede29c;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d671",
  "rgb": {
    "r": 226,
    "g": 214,
    "b": 113
  },
  "hsl": {
    "h": 53.628,
    "s": 66.082,
    "l": 66.471
  },
  "oklch": {
    "l": 0.86512,
    "c": 0.12353,
    "h": 102.5
  },
  "luminance": 0.65454
}

Semantic roles & 50–950 ramp

primary
#E2D671
secondary
#424FB5
accent
#2BCE18
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E2D671

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

Preview Lab → · Contrast checker → · Palette generator →

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