#EBD78F#EBD78F

#EBD78F is a very light, moderate yellow. Relative luminance 0.682; OKLCH L 87.9% C 0.094 H 94.4°. Best body text is #000000 at 14.65:1 contrast (WCAG AA passes).

Color values

HEX#EBD78F
RGBrgb(235, 215, 143)
HSLhsl(47, 70%, 74%)
HSVhsv(47, 39%, 92%)
CMYKcmyk(0%, 8.5%, 39.1%, 7.8%)
CIE-LABlab(86.13, -3.07, 38.04)
CIE-LCHlch(86.13, 38.16, 94.61°)
OKLaboklab(87.94% -0.0072 0.0935)
OKLCHoklch(87.94% 0.094 94.4)
XYZxyz(63.5207, 68.2483, 35.8085)
Luminance0.6825 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD78F #8FA3EB
analogous
#EBA98F #EBD78F #D1EB8F
triadic
#EBD78F #8FEBD7 #D78FEB
tetradic
#EBD78F #8FEBA9 #8FA3EB #EB8FD1
square
#EBD78F #8FEBA9 #8FA3EB #EB8FD1
split-complementary
#EBD78F #8FD1EB #A98FEB
monochromatic
#D8B227 #E2C45B #EBD78F #F4EAC3 #FAF6E5

Accessibility & contrast

On white

1.43
#EBD78F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.65
#EBD78F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBD78F
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBD78F#FFFFFF#000000##000000
##EBD78F1.001.4314.6514.65
#FFFFFF1.431.0021.0021.00
#00000014.6521.001.001.00
##00000014.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D48A
Deuteranopia (green-blind)
#EBDA92
Tritanopia (blue-blind)
#F8CDC5
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #ebd78f;
/* rgb */ color: rgb(235, 215, 143);
/* oklch */ color: oklch(87.9% 0.094 94.4);
Tailwind
colors: {
  custom: {
    50: '#f3e3b0',
    500: '#ebd78f',
    950: '#000000',
  },
}
SCSS
$custom: #ebd78f;
$custom-light: #f3e3b0;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd78f",
  "rgb": {
    "r": 235,
    "g": 215,
    "b": 143
  },
  "hsl": {
    "h": 46.957,
    "s": 69.697,
    "l": 74.118
  },
  "oklch": {
    "l": 0.87941,
    "c": 0.09375,
    "h": 94.4
  },
  "luminance": 0.68246
}

Semantic roles & 50–950 ramp

primary
#EBD78F
secondary
#5970C6
accent
#3DD214
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#171510
muted
#858481

Preview Lab

Preview with #EBD78F

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

Preview Lab → · Contrast checker → · Palette generator →

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