#EBE96F#EBE96F

#EBE96F is a very light, vivid yellow. Relative luminance 0.771; OKLCH L 91.2% C 0.144 H 108.1°. Best body text is #000000 at 16.42:1 contrast (WCAG AA passes).

Color values

HEX#EBE96F
RGBrgb(235, 233, 111)
HSLhsl(59, 76%, 68%)
HSVhsv(59, 53%, 92%)
CMYKcmyk(0%, 0.9%, 52.8%, 7.8%)
CIE-LABlab(90.36, -15.09, 58.63)
CIE-LCHlch(90.36, 60.54, 104.43°)
OKLaboklab(91.17% -0.0448 0.1371)
OKLCHoklch(91.17% 0.144 108.1)
XYZxyz(66.2709, 77.0895, 26.4246)
Luminance0.7709 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBE96F #6F71EB
analogous
#EBAB6F #EBE96F #AFEB6F
triadic
#EBE96F #6FEBE9 #E96FEB
tetradic
#EBE96F #6FEBAB #6F71EB #EB6FAF
square
#EBE96F #6FEBAB #6F71EB #EB6FAF
split-complementary
#EBE96F #6FAFEB #AB6FEB
monochromatic
#C4C21B #E4E139 #EBE96F #F2F1A5 #FAF9DA

Accessibility & contrast

On white

1.28
#EBE96F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.42
#EBE96F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBE96F
16.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBE96F#FFFFFF#000000##000000
##EBE96F1.001.2816.4216.42
#FFFFFF1.281.0021.0021.00
#00000016.4221.001.001.00
##00000016.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE163
Deuteranopia (green-blind)
#FCE675
Tritanopia (blue-blind)
#FADCCE
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #ebe96f;
/* rgb */ color: rgb(235, 233, 111);
/* oklch */ color: oklch(91.2% 0.144 108.1);
Tailwind
colors: {
  custom: {
    50: '#f4ef9c',
    500: '#ebe96f',
    950: '#000000',
  },
}
SCSS
$custom: #ebe96f;
$custom-light: #f4ef9c;
$custom-dark: #000000;
JSON
{
  "hex": "#ebe96f",
  "rgb": {
    "r": 235,
    "g": 233,
    "b": 111
  },
  "hsl": {
    "h": 59.032,
    "s": 75.61,
    "l": 67.843
  },
  "oklch": {
    "l": 0.91169,
    "c": 0.14419,
    "h": 108.1
  },
  "luminance": 0.77088
}

Semantic roles & 50–950 ramp

primary
#EBE96F
secondary
#3C3EC2
accent
#11D80E
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17160E
muted
#85857F

Preview Lab

Preview with #EBE96F

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

Preview Lab → · Contrast checker → · Palette generator →

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