#EBD780#EBD780

#EBD780 is a very light, moderate yellow. Relative luminance 0.678; OKLCH L 87.7% C 0.110 H 96.8°. Best body text is #000000 at 14.56:1 contrast (WCAG AA passes).

Color values

HEX#EBD780
RGBrgb(235, 215, 128)
HSLhsl(49, 73%, 71%)
HSVhsv(49, 46%, 92%)
CMYKcmyk(0%, 8.5%, 45.5%, 7.8%)
CIE-LABlab(85.92, -4.60, 45.26)
CIE-LCHlch(85.92, 45.50, 95.81°)
OKLaboklab(87.71% -0.0129 0.1091)
OKLCHoklch(87.71% 0.11 96.8)
XYZxyz(62.4594, 67.8238, 30.2191)
Luminance0.6782 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD780 #8094EB
analogous
#EBA180 #EBD780 #C9EB80
triadic
#EBD780 #80EBD7 #D780EB
tetradic
#EBD780 #80EBA1 #8094EB #EB80C9
square
#EBD780 #80EBA1 #8094EB #EB80C9
split-complementary
#EBD780 #80C9EB #A180EB
monochromatic
#D0AF21 #E3C64B #EBD780 #F3E8B5 #FBF7E5

Accessibility & contrast

On white

1.44
#EBD780 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.56
#EBD780 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBD780
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBD780#FFFFFF#000000##000000
##EBD7801.001.4414.5614.56
#FFFFFF1.441.0021.0021.00
#00000014.5621.001.001.00
##00000014.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D379
Deuteranopia (green-blind)
#ECDA83
Tritanopia (blue-blind)
#FACBC2
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #ebd780;
/* rgb */ color: rgb(235, 215, 128);
/* oklch */ color: oklch(87.7% 0.110 96.8);
Tailwind
colors: {
  custom: {
    50: '#f3e3a6',
    500: '#ebd780',
    950: '#000000',
  },
}
SCSS
$custom: #ebd780;
$custom-light: #f3e3a6;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd780",
  "rgb": {
    "r": 235,
    "g": 215,
    "b": 128
  },
  "hsl": {
    "h": 48.785,
    "s": 72.789,
    "l": 71.176
  },
  "oklch": {
    "l": 0.87705,
    "c": 0.10988,
    "h": 96.8
  },
  "luminance": 0.67822
}

Semantic roles & 50–950 ramp

primary
#EBD780
secondary
#4B62C4
accent
#35D511
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#17150F
muted
#858480

Preview Lab

Preview with #EBD780

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

Preview Lab → · Contrast checker → · Palette generator →

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