#EBEB5B#EBEB5B

#EBEB5B is a very light, vivid yellow. Relative luminance 0.778; OKLCH L 91.4% C 0.163 H 109.2°. Best body text is #000000 at 16.57:1 contrast (WCAG AA passes).

Color values

HEX#EBEB5B
RGBrgb(235, 235, 91)
HSLhsl(60, 78%, 64%)
HSVhsv(60, 61%, 92%)
CMYKcmyk(0%, 0%, 61.3%, 7.8%)
CIE-LABlab(90.70, -17.49, 67.60)
CIE-LCHlch(90.70, 69.83, 104.50°)
OKLaboklab(91.38% -0.0536 0.1538)
OKLCHoklch(91.38% 0.163 109.2)
XYZxyz(65.8597, 77.8360, 21.4501)
Luminance0.7783 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBEB5B #5B5BEB
analogous
#EBA35B #EBEB5B #A3EB5B
triadic
#EBEB5B #5BEBEB #EB5BEB
tetradic
#EBEB5B #5BEBA3 #5B5BEB #EB5BA3
square
#EBEB5B #5BEBA3 #5B5BEB #EB5BA3
split-complementary
#EBEB5B #5BA3EB #A35BEB
monochromatic
#B5B516 #E4E424 #EBEB5B #F2F292 #F8F8C8

Accessibility & contrast

On white

1.27
#EBEB5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.57
#EBEB5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBEB5B
16.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBEB5B#FFFFFF#000000##000000
##EBEB5B1.001.2716.5716.57
#FFFFFF1.271.0021.0021.00
#00000016.5721.001.001.00
##00000016.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE249
Deuteranopia (green-blind)
#FFE764
Tritanopia (blue-blind)
#FBDDCD
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #ebeb5b;
/* rgb */ color: rgb(235, 235, 91);
/* oklch */ color: oklch(91.4% 0.163 109.2);
Tailwind
colors: {
  custom: {
    50: '#f5f190',
    500: '#ebeb5b',
    950: '#000000',
  },
}
SCSS
$custom: #ebeb5b;
$custom-light: #f5f190;
$custom-dark: #000000;
JSON
{
  "hex": "#ebeb5b",
  "rgb": {
    "r": 235,
    "g": 235,
    "b": 91
  },
  "hsl": {
    "h": 60,
    "s": 78.261,
    "l": 63.922
  },
  "oklch": {
    "l": 0.91384,
    "c": 0.16287,
    "h": 109.2
  },
  "luminance": 0.77834
}

Semantic roles & 50–950 ramp

primary
#EBEB5B
secondary
#3535B5
accent
#0BDB0B
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17160D
muted
#85857F

Preview Lab

Preview with #EBEB5B

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

Preview Lab → · Contrast checker → · Palette generator →

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