#EBE296#EBE296

#EBE296 is a very light, moderate yellow. Relative luminance 0.743; OKLCH L 90.3% C 0.097 H 102.3°. Best body text is #000000 at 15.85:1 contrast (WCAG AA passes).

Color values

HEX#EBE296
RGBrgb(235, 226, 150)
HSLhsl(54, 68%, 75%)
HSVhsv(54, 36%, 92%)
CMYKcmyk(0%, 3.8%, 36.2%, 7.8%)
CIE-LABlab(89.04, -7.87, 38.29)
CIE-LCHlch(89.04, 39.09, 101.62°)
OKLaboklab(90.28% -0.0206 0.0943)
OKLCHoklch(90.28% 0.097 102.3)
XYZxyz(66.9633, 74.2585, 39.6541)
Luminance0.7426 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBE296 #969FEB
analogous
#EBB796 #EBE296 #C9EB96
triadic
#EBE296 #96EBE2 #E296EB
tetradic
#EBE296 #96EBB7 #969FEB #EB96C9
square
#EBE296 #96EBB7 #969FEB #EB96C9
split-complementary
#EBE296 #96C9EB #B796EB
monochromatic
#D7C62F #E1D463 #EBE296 #F5F0C9 #FAF8E5

Accessibility & contrast

On white

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

On black

15.85
#EBE296 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBE296
15.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBE296#FFFFFF#000000##000000
##EBE2961.001.3215.8515.85
#FFFFFF1.321.0021.0021.00
#00000015.8521.001.001.00
##00000015.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFDD91
Deuteranopia (green-blind)
#F2E299
Tritanopia (blue-blind)
#F7D8CF
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #ebe296;
/* rgb */ color: rgb(235, 226, 150);
/* oklch */ color: oklch(90.3% 0.097 102.3);
Tailwind
colors: {
  custom: {
    50: '#f2ebb5',
    500: '#ebe296',
    950: '#000000',
  },
}
SCSS
$custom: #ebe296;
$custom-light: #f2ebb5;
$custom-dark: #000000;
JSON
{
  "hex": "#ebe296",
  "rgb": {
    "r": 235,
    "g": 226,
    "b": 150
  },
  "hsl": {
    "h": 53.647,
    "s": 68,
    "l": 75.49
  },
  "oklch": {
    "l": 0.90281,
    "c": 0.09655,
    "h": 102.3
  },
  "luminance": 0.74257
}

Semantic roles & 50–950 ramp

primary
#EBE296
secondary
#5F6AC6
accent
#29D016
background
#FFFEFD
surface
#FEFDF8
border
#D6D5D1
text
#171611
muted
#858481

Preview Lab

Preview with #EBE296

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

Preview Lab → · Contrast checker → · Palette generator →

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