#EBE396#EBE396

#EBE396 is a very light, moderate yellow. Relative luminance 0.748; OKLCH L 90.5% C 0.098 H 103.1°. Best body text is #000000 at 15.96:1 contrast (WCAG AA passes).

Color values

HEX#EBE396
RGBrgb(235, 227, 150)
HSLhsl(54, 68%, 75%)
HSVhsv(54, 36%, 92%)
CMYKcmyk(0%, 3.4%, 36.2%, 7.8%)
CIE-LABlab(89.30, -8.37, 38.62)
CIE-LCHlch(89.30, 39.52, 102.23°)
OKLaboklab(90.48% -0.0221 0.0951)
OKLCHoklch(90.48% 0.098 103.1)
XYZxyz(67.2360, 74.8040, 39.7450)
Luminance0.7480 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBE396 #969EEB
analogous
#EBB896 #EBE396 #C8EB96
triadic
#EBE396 #96EBE3 #E396EB
tetradic
#EBE396 #96EBB8 #969EEB #EB96C8
square
#EBE396 #96EBB8 #969EEB #EB96C8
split-complementary
#EBE396 #96C8EB #B896EB
monochromatic
#D7C82F #E1D563 #EBE396 #F5F1C9 #FAF8E5

Accessibility & contrast

On white

1.32
#EBE396 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.96
#EBE396 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBE396
15.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBE396#FFFFFF#000000##000000
##EBE3961.001.3215.9615.96
#FFFFFF1.321.0021.0021.00
#00000015.9621.001.001.00
##00000015.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0DE90
Deuteranopia (green-blind)
#F3E299
Tritanopia (blue-blind)
#F7D9D0
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #ebe396;
/* rgb */ color: rgb(235, 227, 150);
/* oklch */ color: oklch(90.5% 0.098 103.1);
Tailwind
colors: {
  custom: {
    50: '#f2ebb5',
    500: '#ebe396',
    950: '#000000',
  },
}
SCSS
$custom: #ebe396;
$custom-light: #f2ebb5;
$custom-dark: #000000;
JSON
{
  "hex": "#ebe396",
  "rgb": {
    "r": 235,
    "g": 227,
    "b": 150
  },
  "hsl": {
    "h": 54.353,
    "s": 68,
    "l": 75.49
  },
  "oklch": {
    "l": 0.90484,
    "c": 0.09763,
    "h": 103.1
  },
  "luminance": 0.74802
}

Semantic roles & 50–950 ramp

primary
#EBE396
secondary
#5F69C6
accent
#27D016
background
#FFFEFD
surface
#FEFDF8
border
#D6D5D1
text
#171611
muted
#858481

Preview Lab

Preview with #EBE396

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

Preview Lab → · Contrast checker → · Palette generator →

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