#EBE159#EBE159

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

Color values

HEX#EBE159
RGBrgb(235, 225, 89)
HSLhsl(56, 78%, 64%)
HSVhsv(56, 62%, 92%)
CMYKcmyk(0%, 4.3%, 62.1%, 7.8%)
CIE-LABlab(88.08, -12.70, 65.62)
CIE-LCHlch(88.08, 66.84, 100.95°)
OKLaboklab(89.29% -0.0403 0.1493)
OKLCHoklch(89.29% 0.155 105.1)
XYZxyz(62.9916, 72.2361, 20.0741)
Luminance0.7223 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBE159 #5963EB
analogous
#EB9859 #EBE159 #ACEB59
triadic
#EBE159 #59EBE1 #E159EB
tetradic
#EBE159 #59EB98 #5963EB #EB59AC
square
#EBE159 #59EB98 #5963EB #EB59AC
split-complementary
#EBE159 #59ACEB #9859EB
monochromatic
#B4A916 #E4D722 #EBE159 #F2EB90 #F8F5C6

Accessibility & contrast

On white

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

On black

15.45
#EBE159 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBE159
15.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBE159#FFFFFF#000000##000000
##EBE1591.001.3615.4515.45
#FFFFFF1.361.0021.0021.00
#00000015.4521.001.001.00
##00000015.4521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ebe159;
/* rgb */ color: rgb(235, 225, 89);
/* oklch */ color: oklch(89.3% 0.155 105.1);
Tailwind
colors: {
  custom: {
    50: '#f5ea8e',
    500: '#ebe159',
    950: '#000000',
  },
}
SCSS
$custom: #ebe159;
$custom-light: #f5ea8e;
$custom-dark: #000000;
JSON
{
  "hex": "#ebe159",
  "rgb": {
    "r": 235,
    "g": 225,
    "b": 89
  },
  "hsl": {
    "h": 55.89,
    "s": 78.495,
    "l": 63.529
  },
  "oklch": {
    "l": 0.89289,
    "c": 0.15465,
    "h": 105.1
  },
  "luminance": 0.72234
}

Semantic roles & 50–950 ramp

primary
#EBE159
secondary
#343DB4
accent
#19DB0B
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #EBE159

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

Preview Lab → · Contrast checker → · Palette generator →

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