#EBEC9E#EBEC9E

#EBEC9E is a very light, moderate yellow. Relative luminance 0.801; OKLCH L 92.5% C 0.099 H 108.8°. Best body text is #000000 at 17.02:1 contrast (WCAG AA passes).

Color values

HEX#EBEC9E
RGBrgb(235, 236, 158)
HSLhsl(61, 67%, 77%)
HSVhsv(61, 33%, 93%)
CMYKcmyk(0.4%, 0%, 33.1%, 7.5%)
CIE-LABlab(91.74, -11.94, 37.79)
CIE-LCHlch(91.74, 39.63, 107.54°)
OKLaboklab(92.46% -0.0318 0.0935)
OKLCHoklch(92.46% 0.099 108.8)
XYZxyz(70.4285, 80.1229, 44.0963)
Luminance0.8012 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBEC9E #9F9EEC
analogous
#ECC69E #EBEC9E #C4EC9E
triadic
#EBEC9E #9EEBEC #EC9EEB
tetradic
#EBEC9E #9EECC6 #9F9EEC #EC9EC4
square
#EBEC9E #9EECC6 #9F9EEC #EC9EC4
split-complementary
#EBEC9E #9EC4EC #C69EEC
monochromatic
#D6D838 #E0E26B #EBEC9E #F6F6D1 #FAFAE5

Accessibility & contrast

On white

1.23
#EBEC9E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.02
#EBEC9E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBEC9E
17.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBEC9E#FFFFFF#000000##000000
##EBEC9E1.001.2317.0217.02
#FFFFFF1.231.0021.0021.00
#00000017.0221.001.001.00
##00000017.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E698
Deuteranopia (green-blind)
#F9E9A1
Tritanopia (blue-blind)
#F6E3D8
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #ebec9e;
/* rgb */ color: rgb(235, 236, 158);
/* oklch */ color: oklch(92.5% 0.099 108.8);
Tailwind
colors: {
  custom: {
    50: '#f2f2bb',
    500: '#ebec9e',
    950: '#000000',
  },
}
SCSS
$custom: #ebec9e;
$custom-light: #f2f2bb;
$custom-dark: #000000;
JSON
{
  "hex": "#ebec9e",
  "rgb": {
    "r": 235,
    "g": 236,
    "b": 158
  },
  "hsl": {
    "h": 60.769,
    "s": 67.241,
    "l": 77.255
  },
  "oklch": {
    "l": 0.92459,
    "c": 0.09872,
    "h": 108.8
  },
  "luminance": 0.80122
}

Semantic roles & 50–950 ramp

primary
#EBEC9E
secondary
#6766C8
accent
#16CF19
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#171612
muted
#858582

Preview Lab

Preview with #EBEC9E

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

Preview Lab → · Contrast checker → · Palette generator →

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