#E7CD78#E7CD78

#E7CD78 is a very light, moderate yellow. Relative luminance 0.620; OKLCH L 85.2% C 0.109 H 92.9°. Best body text is #000000 at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#E7CD78
RGBrgb(231, 205, 120)
HSLhsl(46, 70%, 69%)
HSVhsv(46, 48%, 91%)
CMYKcmyk(0%, 11.3%, 48.1%, 9.4%)
CIE-LABlab(82.92, -1.84, 45.41)
CIE-LCHlch(82.92, 45.45, 92.32°)
OKLaboklab(85.22% -0.0055 0.109)
OKLCHoklch(85.22% 0.109 92.9)
XYZxyz(58.1784, 62.0101, 26.6703)
Luminance0.6201 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7CD78 #7892E7
analogous
#E79678 #E7CD78 #CAE778
triadic
#E7CD78 #78E7CD #CD78E7
tetradic
#E7CD78 #78E796 #7892E7 #E778CA
square
#E7CD78 #78E796 #7892E7 #E778CA
split-complementary
#E7CD78 #78CAE7 #9678E7
monochromatic
#C29D23 #DEBA44 #E7CD78 #F0E0AC #F9F3E0

Accessibility & contrast

On white

1.57
#E7CD78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.40
#E7CD78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7CD78
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7CD78#FFFFFF#000000##000000
##E7CD781.001.5713.4013.40
#FFFFFF1.571.0021.0021.00
#00000013.4021.001.001.00
##00000013.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDCA71
Deuteranopia (green-blind)
#E4D27B
Tritanopia (blue-blind)
#F6C1B9
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #e7cd78;
/* rgb */ color: rgb(231, 205, 120);
/* oklch */ color: oklch(85.2% 0.109 92.9);
Tailwind
colors: {
  custom: {
    50: '#f1dca0',
    500: '#e7cd78',
    950: '#000000',
  },
}
SCSS
$custom: #e7cd78;
$custom-light: #f1dca0;
$custom-dark: #000000;
JSON
{
  "hex": "#e7cd78",
  "rgb": {
    "r": 231,
    "g": 205,
    "b": 120
  },
  "hsl": {
    "h": 45.946,
    "s": 69.811,
    "l": 68.824
  },
  "oklch": {
    "l": 0.85218,
    "c": 0.1091,
    "h": 92.9
  },
  "luminance": 0.62008
}

Semantic roles & 50–950 ramp

primary
#E7CD78
secondary
#4461BF
accent
#40D214
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#17150F
muted
#858480

Preview Lab

Preview with #E7CD78

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

Preview Lab → · Contrast checker → · Palette generator →

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