#EBEB5A#EBEB5A

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

Color values

HEX#EBEB5A
RGBrgb(235, 235, 90)
HSLhsl(60, 78%, 64%)
HSVhsv(60, 62%, 92%)
CMYKcmyk(0%, 0%, 61.7%, 7.8%)
CIE-LABlab(90.70, -17.55, 68.00)
CIE-LCHlch(90.70, 70.22, 104.47°)
OKLaboklab(91.38% -0.0539 0.1545)
OKLCHoklch(91.38% 0.164 109.2)
XYZxyz(65.8168, 77.8188, 21.2244)
Luminance0.7782 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBEB5A #5A5AEB
analogous
#EBA25A #EBEB5A #A2EB5A
triadic
#EBEB5A #5AEBEB #EB5AEB
tetradic
#EBEB5A #5AEBA2 #5A5AEB #EB5AA2
square
#EBEB5A #5AEBA2 #5A5AEB #EB5AA2
split-complementary
#EBEB5A #5AA2EB #A25AEB
monochromatic
#B5B516 #E4E423 #EBEB5A #F2F291 #F8F8C7

Accessibility & contrast

On white

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

On black

16.56
#EBEB5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBEB5A
16.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBEB5A#FFFFFF#000000##000000
##EBEB5A1.001.2716.5616.56
#FFFFFF1.271.0021.0021.00
#00000016.5621.001.001.00
##00000016.5621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ebeb5a;
/* rgb */ color: rgb(235, 235, 90);
/* oklch */ color: oklch(91.4% 0.164 109.2);
Tailwind
colors: {
  custom: {
    50: '#f5f18f',
    500: '#ebeb5a',
    950: '#000000',
  },
}
SCSS
$custom: #ebeb5a;
$custom-light: #f5f18f;
$custom-dark: #000000;
JSON
{
  "hex": "#ebeb5a",
  "rgb": {
    "r": 235,
    "g": 235,
    "b": 90
  },
  "hsl": {
    "h": 60,
    "s": 78.378,
    "l": 63.725
  },
  "oklch": {
    "l": 0.91375,
    "c": 0.16361,
    "h": 109.2
  },
  "luminance": 0.77817
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EBEB5A

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

Preview Lab → · Contrast checker → · Palette generator →

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