#E2D45F#E2D45F

#E2D45F is a very light, vivid yellow. Relative luminance 0.641; OKLCH L 85.9% C 0.138 H 102.5°. Best body text is #000000 at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#E2D45F
RGBrgb(226, 212, 95)
HSLhsl(54, 69%, 63%)
HSVhsv(54, 58%, 89%)
CMYKcmyk(0%, 6.2%, 58%, 11.4%)
CIE-LABlab(84.01, -9.49, 58.38)
CIE-LCHlch(84.01, 59.14, 99.23°)
OKLaboklab(85.89% -0.03 0.1349)
OKLCHoklch(85.89% 0.138 102.5)
XYZxyz(56.9751, 64.0841, 20.1925)
Luminance0.6408 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D45F #5F6DE2
analogous
#E2925F #E2D45F #AEE25F
triadic
#E2D45F #5FE2D4 #D45FE2
tetradic
#E2D45F #5FE292 #5F6DE2 #E25FAE
square
#E2D45F #5FE292 #5F6DE2 #E25FAE
split-complementary
#E2D45F #5FAEE2 #925FE2
monochromatic
#A8991E #D9C62B #E2D45F #EBE293 #F5F0C7

Accessibility & contrast

On white

1.52
#E2D45F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.82
#E2D45F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2D45F
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2D45F#FFFFFF#000000##000000
##E2D45F1.001.5213.8213.82
#FFFFFF1.521.0021.0021.00
#00000013.8221.001.001.00
##00000013.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CE53
Deuteranopia (green-blind)
#EAD465
Tritanopia (blue-blind)
#F2C7BA
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #e2d45f;
/* rgb */ color: rgb(226, 212, 95);
/* oklch */ color: oklch(85.9% 0.138 102.5);
Tailwind
colors: {
  custom: {
    50: '#eee190',
    500: '#e2d45f',
    950: '#000000',
  },
}
SCSS
$custom: #e2d45f;
$custom-light: #eee190;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d45f",
  "rgb": {
    "r": 226,
    "g": 212,
    "b": 95
  },
  "hsl": {
    "h": 53.588,
    "s": 69.312,
    "l": 62.941
  },
  "oklch": {
    "l": 0.85889,
    "c": 0.1382,
    "h": 102.5
  },
  "luminance": 0.64082
}

Semantic roles & 50–950 ramp

primary
#E2D45F
secondary
#3B47AA
accent
#28D114
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E2D45F

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

Preview Lab → · Contrast checker → · Palette generator →

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