#EBEB5C#EBEB5C

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

Color values

HEX#EBEB5C
RGBrgb(235, 235, 92)
HSLhsl(60, 78%, 64%)
HSVhsv(60, 61%, 92%)
CMYKcmyk(0%, 0%, 60.9%, 7.8%)
CIE-LABlab(90.71, -17.42, 67.20)
CIE-LCHlch(90.71, 69.42, 104.53°)
OKLaboklab(91.39% -0.0534 0.1531)
OKLCHoklch(91.39% 0.162 109.2)
XYZxyz(65.9031, 77.8534, 21.6788)
Luminance0.7785 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBEB5C #5C5CEB
analogous
#EBA45C #EBEB5C #A4EB5C
triadic
#EBEB5C #5CEBEB #EB5CEB
tetradic
#EBEB5C #5CEBA4 #5C5CEB #EB5CA4
square
#EBEB5C #5CEBA4 #5C5CEB #EB5CA4
split-complementary
#EBEB5C #5CA4EB #A45CEB
monochromatic
#B6B616 #E4E425 #EBEB5C #F2F293 #F8F8C9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EBEB5C#FFFFFF#000000##000000
##EBEB5C1.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)
#FDE24A
Deuteranopia (green-blind)
#FFE765
Tritanopia (blue-blind)
#FADDCD
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #ebeb5c;
/* rgb */ color: rgb(235, 235, 92);
/* oklch */ color: oklch(91.4% 0.162 109.2);
Tailwind
colors: {
  custom: {
    50: '#f4f190',
    500: '#ebeb5c',
    950: '#000000',
  },
}
SCSS
$custom: #ebeb5c;
$custom-light: #f4f190;
$custom-dark: #000000;
JSON
{
  "hex": "#ebeb5c",
  "rgb": {
    "r": 235,
    "g": 235,
    "b": 92
  },
  "hsl": {
    "h": 60,
    "s": 78.142,
    "l": 64.118
  },
  "oklch": {
    "l": 0.91393,
    "c": 0.16211,
    "h": 109.2
  },
  "luminance": 0.77852
}

Semantic roles & 50–950 ramp

primary
#EBEB5C
secondary
#3535B6
accent
#0BDA0B
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17160D
muted
#85857F

Preview Lab

Preview with #EBEB5C

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

Preview Lab → · Contrast checker → · Palette generator →

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