#EBD879#EBD879

#EBD879 is a very light, moderate yellow. Relative luminance 0.682; OKLCH L 87.8% C 0.118 H 98.3°. Best body text is #000000 at 14.63:1 contrast (WCAG AA passes).

Color values

HEX#EBD879
RGBrgb(235, 216, 121)
HSLhsl(50, 74%, 70%)
HSVhsv(50, 49%, 92%)
CMYKcmyk(0%, 8.1%, 48.5%, 7.8%)
CIE-LABlab(86.08, -5.76, 48.88)
CIE-LCHlch(86.08, 49.22, 96.72°)
OKLaboklab(87.81% -0.017 0.1167)
OKLCHoklch(87.81% 0.118 98.3)
XYZxyz(62.2699, 68.1567, 27.9609)
Luminance0.6815 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD879 #798CEB
analogous
#EB9F79 #EBD879 #C5EB79
triadic
#EBD879 #79EBD8 #D879EB
tetradic
#EBD879 #79EB9F #798CEB #EB79C5
square
#EBD879 #79EB9F #798CEB #EB79C5
split-complementary
#EBD879 #79C5EB #9F79EB
monochromatic
#CBAE1E #E3C944 #EBD879 #F3E7AE #FBF7E4

Accessibility & contrast

On white

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

On black

14.63
#EBD879 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBD879
14.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBD879#FFFFFF#000000##000000
##EBD8791.001.4414.6314.63
#FFFFFF1.441.0021.0021.00
#00000014.6321.001.001.00
##00000014.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D371
Deuteranopia (green-blind)
#EEDA7D
Tritanopia (blue-blind)
#FACCC2
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #ebd879;
/* rgb */ color: rgb(235, 216, 121);
/* oklch */ color: oklch(87.8% 0.118 98.3);
Tailwind
colors: {
  custom: {
    50: '#f3e3a1',
    500: '#ebd879',
    950: '#000000',
  },
}
SCSS
$custom: #ebd879;
$custom-light: #f3e3a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd879",
  "rgb": {
    "r": 235,
    "g": 216,
    "b": 121
  },
  "hsl": {
    "h": 50,
    "s": 74.026,
    "l": 69.804
  },
  "oklch": {
    "l": 0.87807,
    "c": 0.11791,
    "h": 98.3
  },
  "luminance": 0.68154
}

Semantic roles & 50–950 ramp

primary
#EBD879
secondary
#445AC4
accent
#30D60F
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #EBD879

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

Preview Lab → · Contrast checker → · Palette generator →

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