#EBE278#EBE278

#EBE278 is a very light, vivid yellow. Relative luminance 0.734; OKLCH L 89.8% C 0.128 H 104.3°. Best body text is #000000 at 15.68:1 contrast (WCAG AA passes).

Color values

HEX#EBE278
RGBrgb(235, 226, 120)
HSLhsl(55, 74%, 70%)
HSVhsv(55, 49%, 92%)
CMYKcmyk(0%, 3.8%, 48.9%, 7.8%)
CIE-LABlab(88.64, -10.88, 52.46)
CIE-LCHlch(88.64, 53.57, 101.72°)
OKLaboklab(89.83% -0.0318 0.1245)
OKLCHoklch(89.83% 0.128 104.3)
XYZxyz(64.8492, 73.4129, 28.5197)
Luminance0.7341 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBE278 #7881EB
analogous
#EBA878 #EBE278 #BBEB78
triadic
#EBE278 #78EBE2 #E278EB
tetradic
#EBE278 #78EBA8 #7881EB #EB78BB
square
#EBE278 #78EBA8 #7881EB #EB78BB
split-complementary
#EBE278 #78BBEB #A878EB
monochromatic
#CBBD1E #E3D743 #EBE278 #F3EDAD #FBF9E3

Accessibility & contrast

On white

1.34
#EBE278 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.68
#EBE278 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBE278
15.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBE278#FFFFFF#000000##000000
##EBE2781.001.3415.6815.68
#FFFFFF1.341.0021.0021.00
#00000015.6821.001.001.00
##00000015.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DB6F
Deuteranopia (green-blind)
#F5E17D
Tritanopia (blue-blind)
#F9D6C9
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #ebe278;
/* rgb */ color: rgb(235, 226, 120);
/* oklch */ color: oklch(89.8% 0.128 104.3);
Tailwind
colors: {
  custom: {
    50: '#f3eaa1',
    500: '#ebe278',
    950: '#000000',
  },
}
SCSS
$custom: #ebe278;
$custom-light: #f3eaa1;
$custom-dark: #000000;
JSON
{
  "hex": "#ebe278",
  "rgb": {
    "r": 235,
    "g": 226,
    "b": 120
  },
  "hsl": {
    "h": 55.304,
    "s": 74.194,
    "l": 69.608
  },
  "oklch": {
    "l": 0.89833,
    "c": 0.12847,
    "h": 104.3
  },
  "luminance": 0.73411
}

Semantic roles & 50–950 ramp

primary
#EBE278
secondary
#444EC4
accent
#1FD60F
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#17160F
muted
#858480

Preview Lab

Preview with #EBE278

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

Preview Lab → · Contrast checker → · Palette generator →

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