#E2CD78#E2CD78

#E2CD78 is a very light, moderate yellow. Relative luminance 0.612; OKLCH L 84.8% C 0.108 H 95.9°. Best body text is #000000 at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#E2CD78
RGBrgb(226, 205, 120)
HSLhsl(48, 65%, 68%)
HSVhsv(48, 47%, 89%)
CMYKcmyk(0%, 9.3%, 46.9%, 11.4%)
CIE-LABlab(82.48, -3.86, 44.77)
CIE-LCHlch(82.48, 44.94, 94.93°)
OKLaboklab(84.77% -0.0111 0.1076)
OKLCHoklch(84.77% 0.108 95.9)
XYZxyz(56.5872, 61.1896, 26.5957)
Luminance0.6119 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CD78 #788DE2
analogous
#E29878 #E2CD78 #C2E278
triadic
#E2CD78 #78E2CD #CD78E2
tetradic
#E2CD78 #78E298 #788DE2 #E278C2
square
#E2CD78 #78E298 #788DE2 #E278C2
split-complementary
#E2CD78 #78C2E2 #9878E2
monochromatic
#B89B28 #D7BA46 #E2CD78 #EDE0AA #F8F2DD

Accessibility & contrast

On white

1.59
#E2CD78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.24
#E2CD78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2CD78
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2CD78#FFFFFF#000000##000000
##E2CD781.001.5913.2413.24
#FFFFFF1.591.0021.0021.00
#00000013.2421.001.001.00
##00000013.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC971
Deuteranopia (green-blind)
#E2D07B
Tritanopia (blue-blind)
#F0C1B9
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #e2cd78;
/* rgb */ color: rgb(226, 205, 120);
/* oklch */ color: oklch(84.8% 0.108 95.9);
Tailwind
colors: {
  custom: {
    50: '#eddca0',
    500: '#e2cd78',
    950: '#000000',
  },
}
SCSS
$custom: #e2cd78;
$custom-light: #eddca0;
$custom-dark: #000000;
JSON
{
  "hex": "#e2cd78",
  "rgb": {
    "r": 226,
    "g": 205,
    "b": 120
  },
  "hsl": {
    "h": 48.113,
    "s": 64.634,
    "l": 67.843
  },
  "oklch": {
    "l": 0.84768,
    "c": 0.10817,
    "h": 95.9
  },
  "luminance": 0.61187
}

Semantic roles & 50–950 ramp

primary
#E2CD78
secondary
#465CB9
accent
#3DCC19
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#17150F
muted
#858480

Preview Lab

Preview with #E2CD78

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

Preview Lab → · Contrast checker → · Palette generator →

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