#EBEC8E#EBEC8E

#EBEC8E is a very light, moderate yellow. Relative luminance 0.796; OKLCH L 92.2% C 0.117 H 109.0°. Best body text is #000000 at 16.92:1 contrast (WCAG AA passes).

Color values

HEX#EBEC8E
RGBrgb(235, 236, 142)
HSLhsl(61, 71%, 74%)
HSVhsv(61, 40%, 93%)
CMYKcmyk(0.4%, 0%, 39.8%, 7.5%)
CIE-LABlab(91.51, -13.72, 45.41)
CIE-LCHlch(91.51, 47.43, 106.81°)
OKLaboklab(92.2% -0.038 0.1103)
OKLCHoklch(92.2% 0.117 109)
XYZxyz(69.1399, 79.6074, 37.3095)
Luminance0.7961 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBEC8E #8F8EEC
analogous
#ECBE8E #EBEC8E #BCEC8E
triadic
#EBEC8E #8EEBEC #EC8EEB
tetradic
#EBEC8E #8EECBE #8F8EEC #EC8EBC
square
#EBEC8E #8EECBE #8F8EEC #EC8EBC
split-complementary
#EBEC8E #8EBCEC #BE8EEC
monochromatic
#D8DA25 #E2E35A #EBEC8E #F4F5C2 #FAFBE5

Accessibility & contrast

On white

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

On black

16.92
#EBEC8E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBEC8E
16.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBEC8E#FFFFFF#000000##000000
##EBEC8E1.001.2416.9216.92
#FFFFFF1.241.0021.0021.00
#00000016.9221.001.001.00
##00000016.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE587
Deuteranopia (green-blind)
#FBE892
Tritanopia (blue-blind)
#F7E1D5
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #ebec8e;
/* rgb */ color: rgb(235, 236, 142);
/* oklch */ color: oklch(92.2% 0.117 109.0);
Tailwind
colors: {
  custom: {
    50: '#f3f2b0',
    500: '#ebec8e',
    950: '#000000',
  },
}
SCSS
$custom: #ebec8e;
$custom-light: #f3f2b0;
$custom-dark: #000000;
JSON
{
  "hex": "#ebec8e",
  "rgb": {
    "r": 235,
    "g": 236,
    "b": 142
  },
  "hsl": {
    "h": 60.638,
    "s": 71.212,
    "l": 74.118
  },
  "oklch": {
    "l": 0.92199,
    "c": 0.11661,
    "h": 109
  },
  "luminance": 0.79606
}

Semantic roles & 50–950 ramp

primary
#EBEC8E
secondary
#5957C7
accent
#12D314
background
#FFFFFD
surface
#FEFEF7
border
#D6D6D0
text
#171611
muted
#858581

Preview Lab

Preview with #EBEC8E

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

Preview Lab → · Contrast checker → · Palette generator →

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