#EBEB5D#EBEB5D

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

Color values

HEX#EBEB5D
RGBrgb(235, 235, 93)
HSLhsl(60, 78%, 64%)
HSVhsv(60, 60%, 92%)
CMYKcmyk(0%, 0%, 60.4%, 7.8%)
CIE-LABlab(90.72, -17.36, 66.80)
CIE-LCHlch(90.72, 69.02, 104.57°)
OKLaboklab(91.4% -0.0531 0.1524)
OKLCHoklch(91.4% 0.161 109.2)
XYZxyz(65.9471, 77.8710, 21.9105)
Luminance0.7787 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBEB5D #5D5DEB
analogous
#EBA45D #EBEB5D #A4EB5D
triadic
#EBEB5D #5DEBEB #EB5DEB
tetradic
#EBEB5D #5DEBA4 #5D5DEB #EB5DA4
square
#EBEB5D #5DEBA4 #5D5DEB #EB5DA4
split-complementary
#EBEB5D #5DA4EB #A45DEB
monochromatic
#B7B717 #E4E427 #EBEB5D #F2F293 #F8F8CA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EBEB5D#FFFFFF#000000##000000
##EBEB5D1.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)
#FDE24C
Deuteranopia (green-blind)
#FEE766
Tritanopia (blue-blind)
#FADDCD
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #ebeb5d;
/* rgb */ color: rgb(235, 235, 93);
/* oklch */ color: oklch(91.4% 0.161 109.2);
Tailwind
colors: {
  custom: {
    50: '#f4f191',
    500: '#ebeb5d',
    950: '#000000',
  },
}
SCSS
$custom: #ebeb5d;
$custom-light: #f4f191;
$custom-dark: #000000;
JSON
{
  "hex": "#ebeb5d",
  "rgb": {
    "r": 235,
    "g": 235,
    "b": 93
  },
  "hsl": {
    "h": 60,
    "s": 78.022,
    "l": 64.314
  },
  "oklch": {
    "l": 0.91402,
    "c": 0.16134,
    "h": 109.2
  },
  "luminance": 0.77869
}

Semantic roles & 50–950 ramp

primary
#EBEB5D
secondary
#3636B7
accent
#0BDA0B
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17160D
muted
#85857F

Preview Lab

Preview with #EBEB5D

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

Preview Lab → · Contrast checker → · Palette generator →

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