#EBEB4F#EBEB4F

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

Color values

HEX#EBEB4F
RGBrgb(235, 235, 79)
HSLhsl(60, 80%, 62%)
HSVhsv(60, 66%, 92%)
CMYKcmyk(0%, 0%, 66.4%, 7.8%)
CIE-LABlab(90.62, -18.18, 72.18)
CIE-LCHlch(90.62, 74.44, 104.14°)
OKLaboklab(91.29% -0.0568 0.1617)
OKLCHoklch(91.29% 0.171 109.4)
XYZxyz(65.3828, 77.6452, 18.9385)
Luminance0.7764 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBEB4F #4F4FEB
analogous
#EB9D4F #EBEB4F #9DEB4F
triadic
#EBEB4F #4FEBEB #EB4FEB
tetradic
#EBEB4F #4FEB9D #4F4FEB #EB4F9D
square
#EBEB4F #4FEB9D #4F4FEB #EB4F9D
split-complementary
#EBEB4F #4F9DEB #9D4FEB
monochromatic
#ACAC14 #E3E31A #EBEB4F #F1F186 #F7F7BD

Accessibility & contrast

On white

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

On black

16.53
#EBEB4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBEB4F
16.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBEB4F#FFFFFF#000000##000000
##EBEB4F1.001.2716.5316.53
#FFFFFF1.271.0021.0021.00
#00000016.5321.001.001.00
##00000016.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE138
Deuteranopia (green-blind)
#FFE65A
Tritanopia (blue-blind)
#FBDDCC
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #ebeb4f;
/* rgb */ color: rgb(235, 235, 79);
/* oklch */ color: oklch(91.3% 0.171 109.4);
Tailwind
colors: {
  custom: {
    50: '#f5f189',
    500: '#ebeb4f',
    950: '#000000',
  },
}
SCSS
$custom: #ebeb4f;
$custom-light: #f5f189;
$custom-dark: #000000;
JSON
{
  "hex": "#ebeb4f",
  "rgb": {
    "r": 235,
    "g": 235,
    "b": 79
  },
  "hsl": {
    "h": 60,
    "s": 79.592,
    "l": 61.569
  },
  "oklch": {
    "l": 0.91286,
    "c": 0.17135,
    "h": 109.4
  },
  "luminance": 0.77643
}

Semantic roles & 50–950 ramp

primary
#EBEB4F
secondary
#3131AD
accent
#0ADC0A
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160C
muted
#86857F

Preview Lab

Preview with #EBEB4F

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

Preview Lab → · Contrast checker → · Palette generator →

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