#EBEC9A#EBEC9A

#EBEC9A is a very light, moderate yellow. Relative luminance 0.800; OKLCH L 92.4% C 0.103 H 108.9°. Best body text is #000000 at 17.00:1 contrast (WCAG AA passes).

Color values

HEX#EBEC9A
RGBrgb(235, 236, 154)
HSLhsl(61, 68%, 76%)
HSVhsv(61, 35%, 93%)
CMYKcmyk(0.4%, 0%, 34.7%, 7.5%)
CIE-LABlab(91.68, -12.41, 39.71)
CIE-LCHlch(91.68, 41.60, 107.35°)
OKLaboklab(92.39% -0.0334 0.0978)
OKLCHoklch(92.39% 0.103 108.9)
XYZxyz(70.0898, 79.9874, 42.3124)
Luminance0.7999 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBEC9A #9B9AEC
analogous
#ECC49A #EBEC9A #C2EC9A
triadic
#EBEC9A #9AEBEC #EC9AEB
tetradic
#EBEC9A #9AECC4 #9B9AEC #EC9AC2
square
#EBEC9A #9AECC4 #9B9AEC #EC9AC2
split-complementary
#EBEC9A #9AC2EC #C49AEC
monochromatic
#D7D933 #E1E266 #EBEC9A #F5F6CE #FAFAE5

Accessibility & contrast

On white

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

On black

17.00
#EBEC9A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBEC9A
17.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBEC9A#FFFFFF#000000##000000
##EBEC9A1.001.2417.0017.00
#FFFFFF1.241.0021.0021.00
#00000017.0021.001.001.00
##00000017.0021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ebec9a;
/* rgb */ color: rgb(235, 236, 154);
/* oklch */ color: oklch(92.4% 0.103 108.9);
Tailwind
colors: {
  custom: {
    50: '#f2f2b8',
    500: '#ebec9a',
    950: '#000000',
  },
}
SCSS
$custom: #ebec9a;
$custom-light: #f2f2b8;
$custom-dark: #000000;
JSON
{
  "hex": "#ebec9a",
  "rgb": {
    "r": 235,
    "g": 236,
    "b": 154
  },
  "hsl": {
    "h": 60.732,
    "s": 68.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.92391,
    "c": 0.1033,
    "h": 108.9
  },
  "luminance": 0.79986
}

Semantic roles & 50–950 ramp

primary
#EBEC9A
secondary
#6462C8
accent
#15D018
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#171611
muted
#858581

Preview Lab

Preview with #EBEC9A

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

Preview Lab → · Contrast checker → · Palette generator →

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