#EBE978#EBE978

#EBE978 is a very light, vivid yellow. Relative luminance 0.773; OKLCH L 91.3% C 0.136 H 107.9°. Best body text is #000000 at 16.46:1 contrast (WCAG AA passes).

Color values

HEX#EBE978
RGBrgb(235, 233, 120)
HSLhsl(59, 74%, 70%)
HSVhsv(59, 49%, 92%)
CMYKcmyk(0%, 0.9%, 48.9%, 7.8%)
CIE-LABlab(90.46, -14.35, 54.62)
CIE-LCHlch(90.46, 56.48, 104.72°)
OKLaboklab(91.28% -0.0417 0.1292)
OKLCHoklch(91.28% 0.136 107.9)
XYZxyz(66.7916, 77.2978, 29.1672)
Luminance0.7730 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBE978 #787AEB
analogous
#EBB078 #EBE978 #B3EB78
triadic
#EBE978 #78EBE9 #E978EB
tetradic
#EBE978 #78EBB0 #787AEB #EB78B3
square
#EBE978 #78EBB0 #787AEB #EB78B3
split-complementary
#EBE978 #78B3EB #B078EB
monochromatic
#CBC81E #E3E043 #EBE978 #F3F2AD #FBFAE3

Accessibility & contrast

On white

1.28
#EBE978 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.46
#EBE978 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBE978
16.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBE978#FFFFFF#000000##000000
##EBE9781.001.2816.4616.46
#FFFFFF1.281.0021.0021.00
#00000016.4621.001.001.00
##00000016.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E16E
Deuteranopia (green-blind)
#FBE67E
Tritanopia (blue-blind)
#F9DDCF
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #ebe978;
/* rgb */ color: rgb(235, 233, 120);
/* oklch */ color: oklch(91.3% 0.136 107.9);
Tailwind
colors: {
  custom: {
    50: '#f3efa1',
    500: '#ebe978',
    950: '#000000',
  },
}
SCSS
$custom: #ebe978;
$custom-light: #f3efa1;
$custom-dark: #000000;
JSON
{
  "hex": "#ebe978",
  "rgb": {
    "r": 235,
    "g": 233,
    "b": 120
  },
  "hsl": {
    "h": 58.957,
    "s": 74.194,
    "l": 69.608
  },
  "oklch": {
    "l": 0.91276,
    "c": 0.13578,
    "h": 107.9
  },
  "luminance": 0.77296
}

Semantic roles & 50–950 ramp

primary
#EBE978
secondary
#4446C4
accent
#13D60F
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17160F
muted
#858580

Preview Lab

Preview with #EBE978

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

Preview Lab → · Contrast checker → · Palette generator →

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