#EBE178#EBE178

#EBE178 is a very light, vivid yellow. Relative luminance 0.729; OKLCH L 89.6% C 0.127 H 103.8°. Best body text is #000000 at 15.57:1 contrast (WCAG AA passes).

Color values

HEX#EBE178
RGBrgb(235, 225, 120)
HSLhsl(55, 74%, 70%)
HSVhsv(55, 49%, 92%)
CMYKcmyk(0%, 4.3%, 48.9%, 7.8%)
CIE-LABlab(88.39, -10.38, 52.15)
CIE-LCHlch(88.39, 53.17, 101.26°)
OKLaboklab(89.63% -0.0304 0.1238)
OKLCHoklch(89.63% 0.127 103.8)
XYZxyz(64.5780, 72.8706, 28.4294)
Luminance0.7287 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBE178 #7882EB
analogous
#EBA878 #EBE178 #BBEB78
triadic
#EBE178 #78EBE1 #E178EB
tetradic
#EBE178 #78EBA8 #7882EB #EB78BB
square
#EBE178 #78EBA8 #7882EB #EB78BB
split-complementary
#EBE178 #78BBEB #A878EB
monochromatic
#CBBC1E #E3D543 #EBE178 #F3EDAD #FBF9E3

Accessibility & contrast

On white

1.35
#EBE178 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.57
#EBE178 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBE178
15.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBE178#FFFFFF#000000##000000
##EBE1781.001.3515.5715.57
#FFFFFF1.351.0021.0021.00
#00000015.5721.001.001.00
##00000015.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1DB6F
Deuteranopia (green-blind)
#F5E07D
Tritanopia (blue-blind)
#FAD5C9
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #ebe178;
/* rgb */ color: rgb(235, 225, 120);
/* oklch */ color: oklch(89.6% 0.127 103.8);
Tailwind
colors: {
  custom: {
    50: '#f3eaa1',
    500: '#ebe178',
    950: '#000000',
  },
}
SCSS
$custom: #ebe178;
$custom-light: #f3eaa1;
$custom-dark: #000000;
JSON
{
  "hex": "#ebe178",
  "rgb": {
    "r": 235,
    "g": 225,
    "b": 120
  },
  "hsl": {
    "h": 54.783,
    "s": 74.194,
    "l": 69.608
  },
  "oklch": {
    "l": 0.89628,
    "c": 0.12746,
    "h": 103.8
  },
  "luminance": 0.72869
}

Semantic roles & 50–950 ramp

primary
#EBE178
secondary
#444FC4
accent
#20D60F
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17160F
muted
#858480

Preview Lab

Preview with #EBE178

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

Preview Lab → · Contrast checker → · Palette generator →

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