#EBE156#EBE156

#EBE156 is a very light, vivid yellow. Relative luminance 0.722; OKLCH L 89.3% C 0.157 H 105.2°. Best body text is #000000 at 15.44:1 contrast (WCAG AA passes).

Color values

HEX#EBE156
RGBrgb(235, 225, 86)
HSLhsl(56, 79%, 63%)
HSVhsv(56, 63%, 92%)
CMYKcmyk(0%, 4.3%, 63.4%, 7.8%)
CIE-LABlab(88.06, -12.88, 66.82)
CIE-LCHlch(88.06, 68.05, 100.91°)
OKLaboklab(89.26% -0.0411 0.1514)
OKLCHoklch(89.26% 0.157 105.2)
XYZxyz(62.8682, 72.1867, 19.4241)
Luminance0.7218 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBE156 #5660EB
analogous
#EB9656 #EBE156 #AAEB56
triadic
#EBE156 #56EBE1 #E156EB
tetradic
#EBE156 #56EB96 #5660EB #EB56AA
square
#EBE156 #56EB96 #5660EB #EB56AA
split-complementary
#EBE156 #56AAEB #9656EB
monochromatic
#B2A715 #E5D71F #EBE156 #F1EB8D #F8F4C3

Accessibility & contrast

On white

1.36
#EBE156 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.44
#EBE156 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBE156
15.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBE156#FFFFFF#000000##000000
##EBE1561.001.3615.4415.44
#FFFFFF1.361.0021.0021.00
#00000015.4421.001.001.00
##00000015.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3D944
Deuteranopia (green-blind)
#F7E05E
Tritanopia (blue-blind)
#FBD3C4
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #ebe156;
/* rgb */ color: rgb(235, 225, 86);
/* oklch */ color: oklch(89.3% 0.157 105.2);
Tailwind
colors: {
  custom: {
    50: '#f5ea8c',
    500: '#ebe156',
    950: '#000000',
  },
}
SCSS
$custom: #ebe156;
$custom-light: #f5ea8c;
$custom-dark: #000000;
JSON
{
  "hex": "#ebe156",
  "rgb": {
    "r": 235,
    "g": 225,
    "b": 86
  },
  "hsl": {
    "h": 55.973,
    "s": 78.836,
    "l": 62.941
  },
  "oklch": {
    "l": 0.89262,
    "c": 0.15691,
    "h": 105.2
  },
  "luminance": 0.72184
}

Semantic roles & 50–950 ramp

primary
#EBE156
secondary
#333CB2
accent
#18DB0A
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #EBE156

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

Preview Lab → · Contrast checker → · Palette generator →

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