#EBEB4A#EBEB4A

#EBEB4A is a very light, vivid yellow. Relative luminance 0.776; OKLCH L 91.3% C 0.175 H 109.4°. Best body text is #000000 at 16.51:1 contrast (WCAG AA passes).

Color values

HEX#EBEB4A
RGBrgb(235, 235, 74)
HSLhsl(60, 80%, 61%)
HSVhsv(60, 69%, 92%)
CMYKcmyk(0%, 0%, 68.5%, 7.8%)
CIE-LABlab(90.59, -18.44, 73.97)
CIE-LCHlch(90.59, 76.23, 104.00°)
OKLaboklab(91.25% -0.058 0.1646)
OKLCHoklch(91.25% 0.175 109.4)
XYZxyz(65.2076, 77.5752, 18.0158)
Luminance0.7757 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBEB4A #4A4AEB
analogous
#EB9A4A #EBEB4A #9AEB4A
triadic
#EBEB4A #4AEBEB #EB4AEB
tetradic
#EBEB4A #4AEB9A #4A4AEB #EB4A9A
square
#EBEB4A #4AEB9A #4A4AEB #EB4A9A
split-complementary
#EBEB4A #4A9AEB #9A4AEB
monochromatic
#A8A813 #DFDF19 #EBEB4A #F1F181 #F7F7B8

Accessibility & contrast

On white

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

On black

16.51
#EBEB4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBEB4A
16.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBEB4A#FFFFFF#000000##000000
##EBEB4A1.001.2716.5116.51
#FFFFFF1.271.0021.0021.00
#00000016.5121.001.001.00
##00000016.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE12F
Deuteranopia (green-blind)
#FFE656
Tritanopia (blue-blind)
#FBDCCB
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #ebeb4a;
/* rgb */ color: rgb(235, 235, 74);
/* oklch */ color: oklch(91.3% 0.175 109.4);
Tailwind
colors: {
  custom: {
    50: '#f5f186',
    500: '#ebeb4a',
    950: '#000000',
  },
}
SCSS
$custom: #ebeb4a;
$custom-light: #f5f186;
$custom-dark: #000000;
JSON
{
  "hex": "#ebeb4a",
  "rgb": {
    "r": 235,
    "g": 235,
    "b": 74
  },
  "hsl": {
    "h": 60,
    "s": 80.1,
    "l": 60.588
  },
  "oklch": {
    "l": 0.9125,
    "c": 0.17454,
    "h": 109.4
  },
  "luminance": 0.77573
}

Semantic roles & 50–950 ramp

primary
#EBEB4A
secondary
#3030A9
accent
#09DC09
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160C
muted
#86857F

Preview Lab

Preview with #EBEB4A

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

Preview Lab → · Contrast checker → · Palette generator →

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