#E2D748#E2D748

#E2D748 is a very light, vivid yellow. Relative luminance 0.652; OKLCH L 86.3% C 0.158 H 104.9°. Best body text is #000000 at 14.05:1 contrast (WCAG AA passes).

Color values

HEX#E2D748
RGBrgb(226, 215, 72)
HSLhsl(56, 73%, 58%)
HSVhsv(56, 68%, 89%)
CMYKcmyk(0%, 4.9%, 68.1%, 11.4%)
CIE-LABlab(84.61, -12.41, 68.52)
CIE-LCHlch(84.61, 69.64, 100.26°)
OKLaboklab(86.3% -0.0407 0.1531)
OKLCHoklch(86.3% 0.158 104.9)
XYZxyz(56.8364, 65.2396, 15.7283)
Luminance0.6524 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D748 #4853E2
analogous
#E28A48 #E2D748 #A0E248
triadic
#E2D748 #48E2D7 #D748E2
tetradic
#E2D748 #48E28A #4853E2 #E248A0
square
#E2D748 #48E28A #4853E2 #E248A0
split-complementary
#E2D748 #48A0E2 #8A48E2
monochromatic
#988E18 #CCC020 #E2D748 #EAE37D #F3EEB2

Accessibility & contrast

On white

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

On black

14.05
#E2D748 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2D748
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2D748#FFFFFF#000000##000000
##E2D7481.001.4914.0514.05
#FFFFFF1.491.0021.0021.00
#00000014.0521.001.001.00
##00000014.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D033
Deuteranopia (green-blind)
#EDD651
Tritanopia (blue-blind)
#F2C9BA
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #e2d748;
/* rgb */ color: rgb(226, 215, 72);
/* oklch */ color: oklch(86.3% 0.158 104.9);
Tailwind
colors: {
  custom: {
    50: '#efe383',
    500: '#e2d748',
    950: '#000000',
  },
}
SCSS
$custom: #e2d748;
$custom-light: #efe383;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d748",
  "rgb": {
    "r": 226,
    "g": 215,
    "b": 72
  },
  "hsl": {
    "h": 55.714,
    "s": 72.642,
    "l": 58.431
  },
  "oklch": {
    "l": 0.86304,
    "c": 0.1584,
    "h": 104.9
  },
  "luminance": 0.65238
}

Semantic roles & 50–950 ramp

primary
#E2D748
secondary
#333A9C
accent
#46EF38
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #E2D748

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

Preview Lab → · Contrast checker → · Palette generator →

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