#E2D948#E2D948

#E2D948 is a very light, vivid yellow. Relative luminance 0.663; OKLCH L 86.7% C 0.160 H 105.8°. Best body text is #000000 at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#E2D948
RGBrgb(226, 217, 72)
HSLhsl(56, 73%, 58%)
HSVhsv(56, 68%, 89%)
CMYKcmyk(0%, 4%, 68.1%, 11.4%)
CIE-LABlab(85.13, -13.40, 69.05)
CIE-LCHlch(85.13, 70.34, 100.99°)
OKLaboklab(86.72% -0.0436 0.1542)
OKLCHoklch(86.72% 0.16 105.8)
XYZxyz(57.3488, 66.2644, 15.8991)
Luminance0.6626 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D948 #4851E2
analogous
#E28C48 #E2D948 #9EE248
triadic
#E2D948 #48E2D9 #D948E2
tetradic
#E2D948 #48E28C #4851E2 #E2489E
square
#E2D948 #48E28C #4851E2 #E2489E
split-complementary
#E2D948 #489EE2 #8C48E2
monochromatic
#989018 #CCC220 #E2D948 #EAE47D #F3EFB2

Accessibility & contrast

On white

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

On black

14.25
#E2D948 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2D948
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2D948#FFFFFF#000000##000000
##E2D9481.001.4714.2514.25
#FFFFFF1.471.0021.0021.00
#00000014.2521.001.001.00
##00000014.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD132
Deuteranopia (green-blind)
#EFD752
Tritanopia (blue-blind)
#F2CBBC
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #e2d948;
/* rgb */ color: rgb(226, 217, 72);
/* oklch */ color: oklch(86.7% 0.160 105.8);
Tailwind
colors: {
  custom: {
    50: '#efe483',
    500: '#e2d948',
    950: '#000000',
  },
}
SCSS
$custom: #e2d948;
$custom-light: #efe483;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d948",
  "rgb": {
    "r": 226,
    "g": 217,
    "b": 72
  },
  "hsl": {
    "h": 56.494,
    "s": 72.642,
    "l": 58.431
  },
  "oklch": {
    "l": 0.86722,
    "c": 0.16022,
    "h": 105.8
  },
  "luminance": 0.66262
}

Semantic roles & 50–950 ramp

primary
#E2D948
secondary
#33399C
accent
#43EF38
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #E2D948

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

Preview Lab → · Contrast checker → · Palette generator →

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