#EBEC97#EBEC97

#EBEC97 is a very light, moderate yellow. Relative luminance 0.799; OKLCH L 92.3% C 0.107 H 108.9°. Best body text is #000000 at 16.98:1 contrast (WCAG AA passes).

Color values

HEX#EBEC97
RGBrgb(235, 236, 151)
HSLhsl(61, 69%, 76%)
HSVhsv(61, 36%, 93%)
CMYKcmyk(0.4%, 0%, 36%, 7.5%)
CIE-LABlab(91.63, -12.75, 41.14)
CIE-LCHlch(91.63, 43.07, 107.22°)
OKLaboklab(92.34% -0.0345 0.1009)
OKLCHoklch(92.34% 0.107 108.9)
XYZxyz(69.8431, 79.8887, 41.0130)
Luminance0.7989 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBEC97 #9897EC
analogous
#ECC297 #EBEC97 #C0EC97
triadic
#EBEC97 #97EBEC #EC97EB
tetradic
#EBEC97 #97ECC2 #9897EC #EC97C0
square
#EBEC97 #97ECC2 #9897EC #EC97C0
split-complementary
#EBEC97 #97C0EC #C297EC
monochromatic
#D7D930 #E1E363 #EBEC97 #F5F5CB #FAFAE5

Accessibility & contrast

On white

1.24
#EBEC97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.98
#EBEC97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBEC97
16.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBEC97#FFFFFF#000000##000000
##EBEC971.001.2416.9816.98
#FFFFFF1.241.0021.0021.00
#00000016.9821.001.001.00
##00000016.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E591
Deuteranopia (green-blind)
#FAE99B
Tritanopia (blue-blind)
#F6E2D7
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #ebec97;
/* rgb */ color: rgb(235, 236, 151);
/* oklch */ color: oklch(92.3% 0.107 108.9);
Tailwind
colors: {
  custom: {
    50: '#f2f2b6',
    500: '#ebec97',
    950: '#000000',
  },
}
SCSS
$custom: #ebec97;
$custom-light: #f2f2b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ebec97",
  "rgb": {
    "r": 235,
    "g": 236,
    "b": 151
  },
  "hsl": {
    "h": 60.706,
    "s": 69.106,
    "l": 75.882
  },
  "oklch": {
    "l": 0.92341,
    "c": 0.10669,
    "h": 108.9
  },
  "luminance": 0.79887
}

Semantic roles & 50–950 ramp

primary
#EBEC97
secondary
#6160C8
accent
#14D117
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#171611
muted
#858581

Preview Lab

Preview with #EBEC97

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

Preview Lab → · Contrast checker → · Palette generator →

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