#EBECA2#EBECA2

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

Color values

HEX#EBECA2
RGBrgb(235, 236, 162)
HSLhsl(61, 66%, 78%)
HSVhsv(61, 31%, 93%)
CMYKcmyk(0.4%, 0%, 31.4%, 7.5%)
CIE-LABlab(91.80, -11.47, 35.86)
CIE-LCHlch(91.80, 37.65, 107.73°)
OKLaboklab(92.53% -0.0303 0.0891)
OKLCHoklch(92.53% 0.094 108.8)
XYZxyz(70.7784, 80.2629, 45.9391)
Luminance0.8026 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBECA2 #A3A2EC
analogous
#ECC8A2 #EBECA2 #C6ECA2
triadic
#EBECA2 #A2EBEC #ECA2EB
tetradic
#EBECA2 #A2ECC8 #A3A2EC #ECA2C6
square
#EBECA2 #A2ECC8 #A3A2EC #ECA2C6
split-complementary
#EBECA2 #A2C6EC #C8A2EC
monochromatic
#D5D73C #E0E26F #EBECA2 #F6F6D5 #FAFAE6

Accessibility & contrast

On white

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

On black

17.05
#EBECA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBECA2
17.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBECA2#FFFFFF#000000##000000
##EBECA21.001.2317.0517.05
#FFFFFF1.231.0021.0021.00
#00000017.0521.001.001.00
##00000017.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E69D
Deuteranopia (green-blind)
#F9E9A5
Tritanopia (blue-blind)
#F5E3D9
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #ebeca2;
/* rgb */ color: rgb(235, 236, 162);
/* oklch */ color: oklch(92.5% 0.094 108.8);
Tailwind
colors: {
  custom: {
    50: '#f2f2be',
    500: '#ebeca2',
    950: '#000000',
  },
}
SCSS
$custom: #ebeca2;
$custom-light: #f2f2be;
$custom-dark: #000000;
JSON
{
  "hex": "#ebeca2",
  "rgb": {
    "r": 235,
    "g": 236,
    "b": 162
  },
  "hsl": {
    "h": 60.811,
    "s": 66.071,
    "l": 78.039
  },
  "oklch": {
    "l": 0.92529,
    "c": 0.09408,
    "h": 108.8
  },
  "luminance": 0.80262
}

Semantic roles & 50–950 ramp

primary
#EBECA2
secondary
#6B6AC8
accent
#18CE1A
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#171612
muted
#858582

Preview Lab

Preview with #EBECA2

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

Preview Lab → · Contrast checker → · Palette generator →

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