#EBE456#EBE456

#EBE456 is a very light, vivid yellow. Relative luminance 0.738; OKLCH L 89.9% C 0.160 H 106.5°. Best body text is #000000 at 15.76:1 contrast (WCAG AA passes).

Color values

HEX#EBE456
RGBrgb(235, 228, 86)
HSLhsl(57, 79%, 63%)
HSVhsv(57, 63%, 92%)
CMYKcmyk(0%, 3%, 63.4%, 7.8%)
CIE-LABlab(88.84, -14.36, 67.64)
CIE-LCHlch(88.84, 69.15, 101.99°)
OKLaboklab(89.88% -0.0453 0.1532)
OKLCHoklch(89.88% 0.16 106.5)
XYZxyz(63.6863, 73.8230, 19.6968)
Luminance0.7382 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBE456 #565DEB
analogous
#EB9956 #EBE456 #A8EB56
triadic
#EBE456 #56EBE4 #E456EB
tetradic
#EBE456 #56EB99 #565DEB #EB56A8
square
#EBE456 #56EB99 #565DEB #EB56A8
split-complementary
#EBE456 #56A8EB #9956EB
monochromatic
#B2AA15 #E5DB1F #EBE456 #F1ED8D #F8F5C3

Accessibility & contrast

On white

1.33
#EBE456 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.76
#EBE456 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBE456
15.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBE456#FFFFFF#000000##000000
##EBE4561.001.3315.7615.76
#FFFFFF1.331.0021.0021.00
#00000015.7621.001.001.00
##00000015.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DC44
Deuteranopia (green-blind)
#FAE25F
Tritanopia (blue-blind)
#FBD6C7
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #ebe456;
/* rgb */ color: rgb(235, 228, 86);
/* oklch */ color: oklch(89.9% 0.160 106.5);
Tailwind
colors: {
  custom: {
    50: '#f5ec8c',
    500: '#ebe456',
    950: '#000000',
  },
}
SCSS
$custom: #ebe456;
$custom-light: #f5ec8c;
$custom-dark: #000000;
JSON
{
  "hex": "#ebe456",
  "rgb": {
    "r": 235,
    "g": 228,
    "b": 86
  },
  "hsl": {
    "h": 57.181,
    "s": 78.836,
    "l": 62.941
  },
  "oklch": {
    "l": 0.89884,
    "c": 0.15972,
    "h": 106.5
  },
  "luminance": 0.73821
}

Semantic roles & 50–950 ramp

primary
#EBE456
secondary
#3339B2
accent
#14DB0A
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #EBE456

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

Preview Lab → · Contrast checker → · Palette generator →

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