#EBE397#EBE397

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

Color values

HEX#EBE397
RGBrgb(235, 227, 151)
HSLhsl(54, 68%, 76%)
HSVhsv(54, 36%, 92%)
CMYKcmyk(0%, 3.4%, 35.7%, 7.8%)
CIE-LABlab(89.32, -8.26, 38.14)
CIE-LCHlch(89.32, 39.02, 102.22°)
OKLaboklab(90.5% -0.0217 0.094)
OKLCHoklch(90.5% 0.096 103)
XYZxyz(67.3169, 74.8363, 40.1709)
Luminance0.7483 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBE397 #979FEB
analogous
#EBB997 #EBE397 #C9EB97
triadic
#EBE397 #97EBE3 #E397EB
tetradic
#EBE397 #97EBB9 #979FEB #EB97C9
square
#EBE397 #97EBB9 #979FEB #EB97C9
split-complementary
#EBE397 #97C9EB #B997EB
monochromatic
#D7C730 #E1D564 #EBE397 #F5F1CA #FAF8E5

Accessibility & contrast

On white

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

On black

15.97
#EBE397 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBE397
15.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBE397#FFFFFF#000000##000000
##EBE3971.001.3215.9715.97
#FFFFFF1.321.0021.0021.00
#00000015.9721.001.001.00
##00000015.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ebe397;
/* rgb */ color: rgb(235, 227, 151);
/* oklch */ color: oklch(90.5% 0.096 103.0);
Tailwind
colors: {
  custom: {
    50: '#f2ebb6',
    500: '#ebe397',
    950: '#000000',
  },
}
SCSS
$custom: #ebe397;
$custom-light: #f2ebb6;
$custom-dark: #000000;
JSON
{
  "hex": "#ebe397",
  "rgb": {
    "r": 235,
    "g": 227,
    "b": 151
  },
  "hsl": {
    "h": 54.286,
    "s": 67.742,
    "l": 75.686
  },
  "oklch": {
    "l": 0.90501,
    "c": 0.09649,
    "h": 103
  },
  "luminance": 0.74835
}

Semantic roles & 50–950 ramp

primary
#EBE397
secondary
#606AC6
accent
#28D016
background
#FFFEFD
surface
#FEFDF8
border
#D6D5D1
text
#171611
muted
#858481

Preview Lab

Preview with #EBE397

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

Preview Lab → · Contrast checker → · Palette generator →

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