#EBE796#EBE796

#EBE796 is a very light, moderate yellow. Relative luminance 0.770; OKLCH L 91.3% C 0.102 H 105.8°. Best body text is #000000 at 16.40:1 contrast (WCAG AA passes).

Color values

HEX#EBE796
RGBrgb(235, 231, 150)
HSLhsl(57, 68%, 75%)
HSVhsv(57, 36%, 92%)
CMYKcmyk(0%, 1.7%, 36.2%, 7.8%)
CIE-LABlab(90.33, -10.38, 39.95)
CIE-LCHlch(90.33, 41.28, 104.56°)
OKLaboklab(91.3% -0.0278 0.0982)
OKLCHoklch(91.3% 0.102 105.8)
XYZxyz(68.3428, 77.0175, 40.1139)
Luminance0.7702 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBE796 #969AEB
analogous
#EBBC96 #EBE796 #C5EB96
triadic
#EBE796 #96EBE7 #E796EB
tetradic
#EBE796 #96EBBC #969AEB #EB96C5
square
#EBE796 #96EBBC #969AEB #EB96C5
split-complementary
#EBE796 #96C5EB #BC96EB
monochromatic
#D7CF2F #E1DB63 #EBE796 #F5F3C9 #FAF9E5

Accessibility & contrast

On white

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

On black

16.40
#EBE796 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBE796
16.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBE796#FFFFFF#000000##000000
##EBE7961.001.2816.4016.40
#FFFFFF1.281.0021.0021.00
#00000016.4021.001.001.00
##00000016.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4E190
Deuteranopia (green-blind)
#F6E599
Tritanopia (blue-blind)
#F7DDD3
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #ebe796;
/* rgb */ color: rgb(235, 231, 150);
/* oklch */ color: oklch(91.3% 0.102 105.8);
Tailwind
colors: {
  custom: {
    50: '#f2eeb6',
    500: '#ebe796',
    950: '#000000',
  },
}
SCSS
$custom: #ebe796;
$custom-light: #f2eeb6;
$custom-dark: #000000;
JSON
{
  "hex": "#ebe796",
  "rgb": {
    "r": 235,
    "g": 231,
    "b": 150
  },
  "hsl": {
    "h": 57.176,
    "s": 68,
    "l": 75.49
  },
  "oklch": {
    "l": 0.913,
    "c": 0.10204,
    "h": 105.8
  },
  "luminance": 0.77016
}

Semantic roles & 50–950 ramp

primary
#EBE796
secondary
#5F64C6
accent
#1ED016
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#171611
muted
#858581

Preview Lab

Preview with #EBE796

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

Preview Lab → · Contrast checker → · Palette generator →

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