#EBD78E#EBD78E

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

Color values

HEX#EBD78E
RGBrgb(235, 215, 142)
HSLhsl(47, 70%, 74%)
HSVhsv(47, 40%, 92%)
CMYKcmyk(0%, 8.5%, 39.6%, 7.8%)
CIE-LABlab(86.12, -3.18, 38.52)
CIE-LCHlch(86.12, 38.65, 94.72°)
OKLaboklab(87.93% -0.0076 0.0946)
OKLCHoklch(87.93% 0.095 94.6)
XYZxyz(63.4452, 68.2182, 35.4113)
Luminance0.6822 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD78E #8EA2EB
analogous
#EBA98E #EBD78E #D1EB8E
triadic
#EBD78E #8EEBD7 #D78EEB
tetradic
#EBD78E #8EEBA9 #8EA2EB #EB8ED1
square
#EBD78E #8EEBA9 #8EA2EB #EB8ED1
split-complementary
#EBD78E #8ED1EB #A98EEB
monochromatic
#D8B226 #E2C55A #EBD78E #F4E9C2 #FAF6E5

Accessibility & contrast

On white

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

On black

14.64
#EBD78E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBD78E
14.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBD78E#FFFFFF#000000##000000
##EBD78E1.001.4314.6414.64
#FFFFFF1.431.0021.0021.00
#00000014.6421.001.001.00
##00000014.6421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ebd78e;
/* rgb */ color: rgb(235, 215, 142);
/* oklch */ color: oklch(87.9% 0.095 94.6);
Tailwind
colors: {
  custom: {
    50: '#f3e3b0',
    500: '#ebd78e',
    950: '#000000',
  },
}
SCSS
$custom: #ebd78e;
$custom-light: #f3e3b0;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd78e",
  "rgb": {
    "r": 235,
    "g": 215,
    "b": 142
  },
  "hsl": {
    "h": 47.097,
    "s": 69.925,
    "l": 73.922
  },
  "oklch": {
    "l": 0.87925,
    "c": 0.09486,
    "h": 94.6
  },
  "luminance": 0.68216
}

Semantic roles & 50–950 ramp

primary
#EBD78E
secondary
#586FC6
accent
#3DD214
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#171510
muted
#858481

Preview Lab

Preview with #EBD78E

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

Preview Lab → · Contrast checker → · Palette generator →

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