#EBD978#EBD978

#EBD978 is a very light, moderate yellow. Relative luminance 0.686; OKLCH L 88.0% C 0.120 H 99.0°. Best body text is #000000 at 14.73:1 contrast (WCAG AA passes).

Color values

HEX#EBD978
RGBrgb(235, 217, 120)
HSLhsl(51, 74%, 70%)
HSVhsv(51, 49%, 92%)
CMYKcmyk(0%, 7.7%, 48.9%, 7.8%)
CIE-LABlab(86.33, -6.36, 49.66)
CIE-LCHlch(86.33, 50.07, 97.29°)
OKLaboklab(88% -0.0188 0.1183)
OKLCHoklch(88% 0.12 99)
XYZxyz(62.4658, 68.6462, 27.7253)
Luminance0.6864 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD978 #788AEB
analogous
#EBA078 #EBD978 #C3EB78
triadic
#EBD978 #78EBD9 #D978EB
tetradic
#EBD978 #78EBA0 #788AEB #EB78C3
square
#EBD978 #78EBA0 #788AEB #EB78C3
split-complementary
#EBD978 #78C3EB #A078EB
monochromatic
#CBB01E #E3CA43 #EBD978 #F3E8AD #FBF7E3

Accessibility & contrast

On white

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

On black

14.73
#EBD978 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBD978
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBD978#FFFFFF#000000##000000
##EBD9781.001.4314.7314.73
#FFFFFF1.431.0021.0021.00
#00000014.7321.001.001.00
##00000014.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D470
Deuteranopia (green-blind)
#EFDB7C
Tritanopia (blue-blind)
#FACDC2
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #ebd978;
/* rgb */ color: rgb(235, 217, 120);
/* oklch */ color: oklch(88.0% 0.120 99.0);
Tailwind
colors: {
  custom: {
    50: '#f3e4a1',
    500: '#ebd978',
    950: '#000000',
  },
}
SCSS
$custom: #ebd978;
$custom-light: #f3e4a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd978",
  "rgb": {
    "r": 235,
    "g": 217,
    "b": 120
  },
  "hsl": {
    "h": 50.609,
    "s": 74.194,
    "l": 69.608
  },
  "oklch": {
    "l": 0.87997,
    "c": 0.1198,
    "h": 99
  },
  "luminance": 0.68644
}

Semantic roles & 50–950 ramp

primary
#EBD978
secondary
#4458C4
accent
#2ED60F
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #EBD978

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

Preview Lab → · Contrast checker → · Palette generator →

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