#EBEC9F#EBEC9F

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

Color values

HEX#EBEC9F
RGBrgb(235, 236, 159)
HSLhsl(61, 67%, 77%)
HSVhsv(61, 33%, 93%)
CMYKcmyk(0.4%, 0%, 32.6%, 7.5%)
CIE-LABlab(91.76, -11.83, 37.31)
CIE-LCHlch(91.76, 39.14, 107.59°)
OKLaboklab(92.48% -0.0314 0.0924)
OKLCHoklch(92.48% 0.098 108.8)
XYZxyz(70.5149, 80.1575, 44.5514)
Luminance0.8016 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBEC9F #A09FEC
analogous
#ECC69F #EBEC9F #C5EC9F
triadic
#EBEC9F #9FEBEC #EC9FEB
tetradic
#EBEC9F #9FECC6 #A09FEC #EC9FC5
square
#EBEC9F #9FECC6 #A09FEC #EC9FC5
split-complementary
#EBEC9F #9FC5EC #C69FEC
monochromatic
#D6D839 #E0E26C #EBEC9F #F6F6D2 #FAFAE5

Accessibility & contrast

On white

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

On black

17.03
#EBEC9F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBEC9F
17.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBEC9F#FFFFFF#000000##000000
##EBEC9F1.001.2317.0317.03
#FFFFFF1.231.0021.0021.00
#00000017.0321.001.001.00
##00000017.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E69A
Deuteranopia (green-blind)
#F9E9A2
Tritanopia (blue-blind)
#F5E3D8
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #ebec9f;
/* rgb */ color: rgb(235, 236, 159);
/* oklch */ color: oklch(92.5% 0.098 108.8);
Tailwind
colors: {
  custom: {
    50: '#f2f2bc',
    500: '#ebec9f',
    950: '#000000',
  },
}
SCSS
$custom: #ebec9f;
$custom-light: #f2f2bc;
$custom-dark: #000000;
JSON
{
  "hex": "#ebec9f",
  "rgb": {
    "r": 235,
    "g": 236,
    "b": 159
  },
  "hsl": {
    "h": 60.779,
    "s": 66.957,
    "l": 77.451
  },
  "oklch": {
    "l": 0.92476,
    "c": 0.09756,
    "h": 108.8
  },
  "luminance": 0.80156
}

Semantic roles & 50–950 ramp

primary
#EBEC9F
secondary
#6867C8
accent
#17CF19
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#171612
muted
#858582

Preview Lab

Preview with #EBEC9F

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

Preview Lab → · Contrast checker → · Palette generator →

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