#EBD796#EBD796

#EBD796 is a very light, moderate yellow. Relative luminance 0.685; OKLCH L 88.1% C 0.086 H 93.0°. Best body text is #000000 at 14.69:1 contrast (WCAG AA passes).

Color values

HEX#EBD796
RGBrgb(235, 215, 150)
HSLhsl(46, 68%, 75%)
HSVhsv(46, 36%, 92%)
CMYKcmyk(0%, 8.5%, 36.2%, 7.8%)
CIE-LABlab(86.24, -2.29, 34.62)
CIE-LCHlch(86.24, 34.69, 93.78°)
OKLaboklab(88.06% -0.0045 0.0858)
OKLCHoklch(88.06% 0.086 93)
XYZxyz(64.0676, 68.4671, 38.6889)
Luminance0.6846 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD796 #96AAEB
analogous
#EBAC96 #EBD796 #D5EB96
triadic
#EBD796 #96EBD7 #D796EB
tetradic
#EBD796 #96EBAC #96AAEB #EB96D5
square
#EBD796 #96EBAC #96AAEB #EB96D5
split-complementary
#EBD796 #96D5EB #AC96EB
monochromatic
#D7B02F #E1C363 #EBD796 #F5EBC9 #FAF5E5

Accessibility & contrast

On white

1.43
#EBD796 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.69
#EBD796 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBD796
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBD796#FFFFFF#000000##000000
##EBD7961.001.4314.6914.69
#FFFFFF1.431.0021.0021.00
#00000014.6921.001.001.00
##00000014.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4D491
Deuteranopia (green-blind)
#EADA98
Tritanopia (blue-blind)
#F8CDC6
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #ebd796;
/* rgb */ color: rgb(235, 215, 150);
/* oklch */ color: oklch(88.1% 0.086 93.0);
Tailwind
colors: {
  custom: {
    50: '#f2e3b5',
    500: '#ebd796',
    950: '#000000',
  },
}
SCSS
$custom: #ebd796;
$custom-light: #f2e3b5;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd796",
  "rgb": {
    "r": 235,
    "g": 215,
    "b": 150
  },
  "hsl": {
    "h": 45.882,
    "s": 68,
    "l": 75.49
  },
  "oklch": {
    "l": 0.88063,
    "c": 0.08592,
    "h": 93
  },
  "luminance": 0.68465
}

Semantic roles & 50–950 ramp

primary
#EBD796
secondary
#5F77C6
accent
#41D016
background
#FFFEFD
surface
#FEFCF8
border
#D6D5D1
text
#171511
muted
#858481

Preview Lab

Preview with #EBD796

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

Preview Lab → · Contrast checker → · Palette generator →

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